I got a recent install of FreeBSD 13.0 up and running. The wifi works. On this machine, I had to use the kernel mods for ath. While I was tinkering around with that, for a good while, I could not get the wifi to use my local network. I was in the same room as my access point, so I expected the machine to pick it up right away.
In my /boot/loader.conf I had the kernel mods for ath. It was like:
and I think a similar one like if_pci_ath_load. My
In my wpa_supplicant, I added in code like:
In my /etc/rc.conf I had lines like:
I would tinker with that last line ("SYNCHDHCP") eventually cutting it down to "DHCP" to no avail.
I'd try a
When I went back to the handbook, I saw the suggestion of:
OK, so I wanna know: why? Why should I have to specify the ssid in the rc.conf when I have a valid entry in the wpa_supplicant.conf?
I thought for sure in my previous versions of BSD I would just need to add in the SSID and PSK to the wpa_supplicant.conf.
Why did I have to put the ssid in the rc.conf?
Any suggestions you might offer could be helpful for furthering my understanding.
In my /boot/loader.conf I had the kernel mods for ath. It was like:
if_ath_load="YES"
and I think a similar one like if_pci_ath_load. My
kldstat
looked good. I could see the card and it was getting into ifconfig, so I figured I was good on that.In my wpa_supplicant, I added in code like:
Code:
network={
ssid="MY_SSID"
psk="MY_PASSWORD"
}
In my /etc/rc.conf I had lines like:
Code:
wlans_ath0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
I would tinker with that last line ("SYNCHDHCP") eventually cutting it down to "DHCP" to no avail.
I'd try a
service netif restart
and a service wpa_supplicant restart
to no avail. Pretty much every time I would see in ifconfig for the interface a report of ssid="" ... channel SOMETHING_MAY_CHANGE
.When I went back to the handbook, I saw the suggestion of:
ifconfig_wlan0="ssid your_ssid_here DHCP"
. I used it. It works.OK, so I wanna know: why? Why should I have to specify the ssid in the rc.conf when I have a valid entry in the wpa_supplicant.conf?
I thought for sure in my previous versions of BSD I would just need to add in the SSID and PSK to the wpa_supplicant.conf.
Why did I have to put the ssid in the rc.conf?
Any suggestions you might offer could be helpful for furthering my understanding.