I hope I'm in the right forum, I thought about Networking but I feel like it's part of the install to get the computer connected so I put it here, feel free to move it if needed
So I have an ASUS A409M on which I want to try FreeBSD (I'm a Linux user, not very familiar with FreeBSD yet, and only on servers so I never had to mess with networking/Wifi), the wireless card is supported since FreeBSD 13.0 (https://bsd-hardware.info/?id=pci:8086-31dc) so I decided to try it, but had some issues :
- first I installed two or three times to work out some kinks : the USB installer doesn't format the partition(s) you chose so I had to get into the shell to format it manually after failed installs with
- so I installed after a clean formatting and leaving the wireless card unconfigured and it worked better : when booting into my new system
But it works only once per boot for some reason, after the output is empty.
- I have set the /etc/wpa_supplicant.conf with
- another odd thing is that
Could you kindly point me to what I'm missing? (I have read many different pages yesterday and the proper way to get it to work looks scrambled in my brain now^^)
So I have an ASUS A409M on which I want to try FreeBSD (I'm a Linux user, not very familiar with FreeBSD yet, and only on servers so I never had to mess with networking/Wifi), the wireless card is supported since FreeBSD 13.0 (https://bsd-hardware.info/?id=pci:8086-31dc) so I decided to try it, but had some issues :
- first I installed two or three times to work out some kinks : the USB installer doesn't format the partition(s) you chose so I had to get into the shell to format it manually after failed installs with
newfs -U -S 4096 /dev/ada0pX
, but the issue I found really strange was that the wireless card was detected during the install (and detected some Wifi networks if I set regdomain to FCC or AIPAC2 -I'm currently in Malaysia-) but not after the install : sysctl net.wlan.devices
returned nothing.- so I installed after a clean formatting and leaving the wireless card unconfigured and it worked better : when booting into my new system
sysctl net.wlan.devices
returned iwm0. I have to create wlan0 at every boot with ifconfig wlan0 create wlandev iwm0
though, but I know I can automate it somewhere like rc.conf. Then I could issue
Code:
ifconfig wlan0 up
ifconfig wlan0 scan/list scan
- I have set the /etc/wpa_supplicant.conf with
wpa_passphrase "SSID" "WPA2key"" >> /etc/wpa_supplicant.conf
and I seem to be able to connect with ifconfig wlan0 ssid "The Network"
but subsequent ping 8.8.8.8
says no route and dhclient wlan0
fails saying there is no link.- another odd thing is that
ifconfig wlan0 scan
misses entirely the two closest Wifi networks available (the router is litterally sitting in a box near the ceiling 4-5 m away from me). The same laptop detects and uses those two networks under Linux, so it's not some weird hardware incompatibility, and the SSIDs are not hidden, but are fairly long as SSIDs go (~31characters).Could you kindly point me to what I'm missing? (I have read many different pages yesterday and the proper way to get it to work looks scrambled in my brain now^^)