Wireless WAN

Started by namflashback, July 24, 2017, 10:44:21 AM

Previous topic - Next topic
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 :)

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?
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

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?

July 24, 2017, 12:21:13 PM #3 Last Edit: July 24, 2017, 12:23:37 PM by namflashback
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
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

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?

I added the device (ralink, run), assigned it to WAN and configured it (SSID, password). I use it for wifi while traveling...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

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