Back in FreeBSD 12 - the wpa_supplicant.conf method of configuring wifi worked for me. I had accumulated a set of wpa_supplicant.conf files - one for each location - that just works. I could log in, copy the file on top of wpa_supplicant.conf and run "service netif restart". Done. Once I had figured out the correct bits to put into the file, this just worked.
Since upgrading to FreeBSD 13 (now on 13.2), my wpa_supplicant.conf files no longer worked. This is what now works for me.
1. ifconfig wlan0 scan
2. pick out the channel, ssid, and bssid of the access point.
3. create a tiny Bourne shell script to configure wlan with the bits above.
4. run the script to connect.
I used to have ifconfig statements in /etc/rc.conf. Those are now commented out.
The tiny script looks something like this:
I don't understand why my wpa_supplicant.conf files stopped working. I'm just glad I had an alternate means for wifi.
Since upgrading to FreeBSD 13 (now on 13.2), my wpa_supplicant.conf files no longer worked. This is what now works for me.
1. ifconfig wlan0 scan
2. pick out the channel, ssid, and bssid of the access point.
3. create a tiny Bourne shell script to configure wlan with the bits above.
4. run the script to connect.
I used to have ifconfig statements in /etc/rc.conf. Those are now commented out.
The tiny script looks something like this:
ifconfig wlan0 down ssid 'SSID' channel 6 bssid a5:a5:a5:a5:a5:a5 up
dhclient wlan0
I don't understand why my wpa_supplicant.conf files stopped working. I'm just glad I had an alternate means for wifi.