Bug 257914 - iwm wlan0 interface not RUNNING after netif restart.
Summary: iwm wlan0 interface not RUNNING after netif restart.
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 13.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-17 13:10 UTC by unitrunker
Modified: 2021-08-17 14:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unitrunker 2021-08-17 13:10:11 UTC
This worked on 11.x-RELEASE and 12.x-RELEASE but now on 13.0-RELEASE ...

I have a laptop with Intel 7260 wifi.

loader.conf:
iwm7260fw_load="YES"

rc.conf:
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"


When I run service netif restart I see an unfamiliar error message:

Aug 17 07:11:14 thinkpad wpa_supplicant[1781]: ioctl[SIOCS80211], op=20, val=0, arg_len=7]: Invalid argument
Starting dhclient.
wlan0: no link .................. giving up
/etc/rc.d/dhclient: WARNING failed to start dhclient

The wlan0 interface fails to start. Typing ifconfig wlan0 shows the device is not running. dmesg shows the interface UP and then DOWN.

I can type "ifconfig wlan0 up" to get it running. ifconfig wlan0 scan will show a list of access points - but it won't associate.

If I add "NOAUTO" to rc.conf:
ifconfig_wlan0="WPA DHCP NOAUTO"

... the interface will associate to some random, open access point.

I expect the interface to (a) stay UP and (b) associate only to what's in wpa_supplicant.
Comment 1 unitrunker 2021-08-17 13:10:52 UTC
Wifi is Intel 7260 on a Thinkpad 440p with Haswell i5.
Comment 2 unitrunker 2021-08-17 14:07:38 UTC
I can no longer reproduce this. Closing.