OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Wireless WAN
« previous next »
  • Print
Pages: [1]

Author Topic: Wireless WAN  (Read 5981 times)

namflashback

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Wireless WAN
« on: July 24, 2017, 10:44:21 am »
Hi,
I was trying to setup a wireless WAN, but can't quite seem to get it to work automatically.
I made the /etc/wpa_supplicant file. I can connect running the below command
$ wpa_supplicant -c /etc/wpa_supplicant -i ath0_wlan0

However, I cannot get it to launch automatically after boot.
I tried following this guide here:
https://www.freebsd.org/doc/handbook/network-wireless.html

I adding those two lines into /etc/rc.conf file (wasn't there previously). I also tried adding those two lines to /etc/rc.d/netif. After rebooting, it still doesn't come up. After running "service netif restart", I finally got it to at least try to connect to my SSID, but it wasn't actually connecting/using WPA or something.  Also, the routing table seemed to have gotten messed up -- neither LAN's were routing over to my WAN after manually connecting.

Any suggestions? I'm quite new to freebsd. I'm more used to the linux version of rc :)
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2041
  • Karma: 93
    • View Profile
Re: Wireless WAN
« Reply #1 on: July 24, 2017, 11:40:38 am »
Hy!

I'm using an opnsense box with wifi WAN (USB-stick, never got an mPCI card working) configured just via the GUI. Maybe some details on the Mobo and WIFI you are using?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

namflashback

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Wireless WAN
« Reply #2 on: July 24, 2017, 12:00:08 pm »
Hi,
Thanks for responding.
It's a j1900 intel nuc-like system. The dashboard reads the CPU as Intel(R) Celeron(R) CPU 3215U @ 1.70GHz (2 cores)

The wireless card is a BCM43224 connected via mini pci.

How are you configuring it through the web UI?
Logged

namflashback

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Wireless WAN
« Reply #3 on: July 24, 2017, 12:21:13 pm »
Its kind of odd, I plugged in a usb wireless card (AR9565) and it assigns it as ath0 as well. Now I can scan SSID's via Interfaces -> Wireless -> Status
However, I can't add ath0...comes back
Code: [Select]
Error creating interface with mode Infrastructure (BSS). The ath0 interface may not support creating more clones with the selected mode.

EDIT: the broadcom card shows up as ath0_wlan0 with the Atheros card shows up as just ath0
« Last Edit: July 24, 2017, 12:23:37 pm by namflashback »
Logged

namflashback

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Wireless WAN
« Reply #4 on: July 24, 2017, 04:37:57 pm »
Alright, I found out how to check which kernel modules are loaded...
It looks like what I thought was the broadcom card is actually the AR9565 (must have changed it out a while ago and forgot). The USB wifi card (I think) is a closed source mediatek driver that didn't load.
Anyways... to answer your question, the wireless card is an Atheros AR9565.

Is there a shell script that I could just append that wpa_supplicant command to? Can I configure it through the GUI?
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2041
  • Karma: 93
    • View Profile
Re: Wireless WAN
« Reply #5 on: July 24, 2017, 04:39:03 pm »
I added the device (ralink, run), assigned it to WAN and configured it (SSID, password). I use it for wifi while traveling...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

monstermania

  • Hero Member
  • *****
  • Posts: 524
  • Karma: 47
    • View Profile
Re: Wireless WAN
« Reply #6 on: July 24, 2017, 05:20:59 pm »
Wifi and FreeBSD is not a good combination (OPNsense based on FreeBSD)!
I't cost me many time to find Wifi-hardware than run stable.

Right now i use 2 usb wifi sticks with RALINK RT5370 Chipset plugged into my OPNsense. They use the run driver. Works perfect but only with speed of 54Mbit (802.11g).

regards
Dirk
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Wireless WAN
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2