WIFI not working on FreeBSD 13.2

On a new FreeBSD 13.2 installation, I'm unable to get WIFI working properly. Here is some relevant information:

Code:
$ sysctl net.wlan.devices
net.wlan.devices: iwm0

$ pciconf -lv iwm0
...
    vendor    = 'Intel Corporation'
    device    = 'Wireless-AC 9260'
...

$ service netif restart
...
wlan0: ...
    ...
    inet 0.0.0.0 netmask 0xff000000 ...
    ...
    ssid <valid ssid is visible>
    regdomain FCC country US authmod WPA2/802.11i privacy ON # country and regdomain is wrong but I guess it should not matter?
    ...
    status: associated
   
$ dhclient wlan0
wlan0: no link .............. giving up
$ cat /etc/rc.conf
...
wlano_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"

The router supports WPA3 personal; rather than using default mac, a custom mac is used on the router side.
Any help regarding this would really be appreciated.
 
$ cat /etc/rc.conf
...
wlano_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"
[/CODE]
Code:
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"
background_dhclient="YES"
synchronous_dhclient="YES"
defaultrouter="xxx.xxx.xxx.xxx.xxx" (your IP class)
defaultroute_delay="0"
create_args_wlan0="regdomain FCC country US" ( see /etc/regdomain.xml for other countries)
 
Check if it is supported.
Load the firmware.
Check if it is running on 802.11b or 802.11g.
Check for typos (wlano_iwm0="wlan0").
Maybe you should use ifconfig_wlan0="WPA SYNCDHCP".
Regdomain can affect the connection.
Checked/did all the stuff mentioned above but no luck;

running `sudo wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0` results in the following output:

Code:
Successfully initialized wpa_supplicant
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
 
Code:
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"
background_dhclient="YES"
synchronous_dhclient="YES"
defaultrouter="xxx.xxx.xxx.xxx.xxx" (your IP class)
defaultroute_delay="0"
create_args_wlan0="regdomain FCC country US" ( see /etc/regdomain.xml for other countries)
Sorry for the delayed response, got caught in lot of other things and couldn't follow this. Thanks for your feedback adding 'defaultrouter' and 'defaultroute_delay' actually made the connection successful. I wonder what difference these two options make and connection goes through?
 
... adding 'defaultrouter' and 'defaultroute_delay' actually made the connection successful. I wonder what difference these two options make and connection goes through?
The default gateway (called defaultrouter in FreeBSD) is the next hop on your network and is typically a router or switch that handles network connectivity and routing. The gateway is usually the first IP address in an IP range which gives you access in and out of the network that it belongs to.

LE: More info can be founded here.
 
Back
Top