Date: Sun, 9 Jul 2023 13:35:31 +0200 From: FreeBSD User <freebsd@walstatt-de.de> To: freebsd-wireless <freebsd-wireless@freebsd.org> Subject: wpa_supplicant: lagg0 not working anymore (if_iwm/if_iwlwifi) Message-ID: <20230709133558.45d1a39b@thor.intern.walstatt.dynvpn.de>
next in thread | raw e-mail | index | archive | help
Hello, running 13-STABLE (13.2-STABLE #29 stable/13-n255792-d295e418ae7e: Sun Jul 9 10:08:25 CEST 2023 amd64) on a Lenovo T560 with Intel i8260 WiFi chipset, combining the LAN (if_em) and WiFi (if_iwm) via if_lagg for convenient switching between LAN and WiFi APs of our departments, worked fine until recently. Althoug running wlan0 with several debug options, I can't fathom what is going wrong, there seems to be an authentication problem. Switching to either solitair if_iwm or if_iwlwifi using WiFi only works perfectly without changing anything but several line in /etc/rc.conf telling ifconfig_iwlwifi being configured with tag WPA and DHCP. With lagg0- config, I simply ommit DHCP and configure that accordingly with lagg0. Last time I used if_iwlwifi was a year ago and then the mutual more modern driver was supposed to have issues also with if_lagg configuration. But the problem also occurs with the mutual legacy if_iwm driver, which worked so far perfectly. I'm out of ideas here, maybe someone is aware of the problem so I do not need to file a PR or, just in case, can give some hints what to log further to make a PR useful (I already set in rc.conf: wlandebug_wlan0="+state+crypto+node+auth+assoc+dot1xsm+wpa+power") In the console logging for wlan0 messages, I can see this: [...] Jul 9 13:23:15 <0.6> hermann kernel: wlan0: sta_newstate: AUTH -> SCAN (1) Jul 9 13:23:25 <0.6> hermann kernel: wlan0: [ETHER_of_ACCESSPOINT] station deauth via MLME (reason: 3 (sending STA is leaving/has left IBSS or ESS)) Jul 9 13:23:25 <0.6> hermann kernel: wlan0: ieee80211_new_state_locked: SCAN -> INIT (arg 3) (nrunning 0 nscanning 0) Jul 9 13:23:25 <0.6> hermann kernel: wlan0: ieee80211_newstate_cb: SCAN -> INIT arg 3 Jul 9 13:23:25 <0.6> hermann kernel: wlan0: sta_newstate: SCAN -> INIT (3) Jul 9 13:23:25 <0.6> hermann kernel: wlan0: node_reclaim: remove 0xfffffe01148eb000<ETHER_of_ACCESSPOINT> from station table, refcnt 1 Jul 9 13:23:25 <0.6> hermann kernel: wlan0: ieee80211_alloc_node 0xfffffe01148f3000<ETHER_OF_LAGG0> in station table Jul 9 13:23:25 <0.6> hermann kernel: wlan0: ieee80211_new_state_locked: INIT -> SCAN (arg 0) (nrunning 0 nscanning 0) Jul 9 13:23:25 <0.6> hermann kernel: wlan0: ieee80211_newstate_cb: INIT -> SCAN arg 0 Jul 9 13:23:25 <0.6> hermann kernel: wlan0: sta_newstate: INIT -> SCAN (0) Jul 9 13:28:03 <0.6> hermann kernel: wlan0: [ETHER_of_ACCESSPOINT] station assoc via MLME Jul 9 13:28:03 <0.6> hermann kernel: wlan0: ieee80211_alloc_node 0xfffffe011497b000<ETHER_of_ACCESSPOINT> in station table Jul 9 13:28:03 <0.6> hermann kernel: wlan0: node_reclaim: remove 0xfffffe01148f3000<ETHER_OF_LAGG0> from station table, refcnt 1 Jul 9 13:28:03 <0.6> hermann kernel: wlan0: ieee80211_sta_join1 0xfffffe011497b000<ETHER_of_ACCESSPOINT> SCAN -> AUTH, FC0_SUBTYPE_DEAUTH Jul 9 13:28:03 <0.6> hermann kernel: wlan0: ieee80211_new_state_locked: SCAN -> AUTH (arg 192) (nrunning 0 nscanning 0) Jul 9 13:28:03 <0.6> hermann kernel: wlan0: ieee80211_newstate_cb: SCAN -> AUTH arg 192 Jul 9 13:28:03 <0.6> hermann kernel: wlan0: sta_newstate: SCAN -> AUTH (192) Jul 9 13:28:03 <0.6> hermann kernel: wlan0: ieee80211_ref_node (ieee80211_send_mgmt:2708) 0xfffffe011497b000<ETHER_of_ACCESSPOINT> refcnt 4 Jul 9 13:28:03 <0.6> hermann kernel: wlan0: ni 0xfffffe011497b000 vap 0xfffffe01117fd010 mode STA state AUTH m 0xfffff801f39f4e00 status 1 Jul 9 13:28:03 <0.6> hermann kernel: wlan0: ni 0xfffffe011497b000 mode STA state AUTH arg 0x2 status 1 Jul 9 13:28:03 <0.6> hermann kernel: wlan0: vap 0xfffffe01117fd010 mode STA state AUTH flags 0x2000 & 0x80 Jul 9 13:28:03 <0.6> hermann kernel: wlan0: ieee80211_new_state_locked: AUTH -> SCAN (arg 1) (nrunning 0 nscanning 0) Jul 9 13:28:03 <0.6> hermann kernel: wlan0: ieee80211_newstate_cb: AUTH -> SCAN arg 1 Jul 9 13:28:03 <0.6> hermann kernel: wlan0: sta_newstate: AUTH -> SCAN (1) Jul 9 13:28:13 <0.6> hermann kernel: wlan0: [ETHER_of_ACCESSPOINT] station deauth via MLME (reason: 3 (sending STA is leaving/has left IBSS or ESS)) Jul 9 13:28:13 <0.6> hermann kernel: wlan0: ieee80211_new_state_locked: SCAN -> INIT (arg 3) (nrunning 0 nscanning 0) Jul 9 13:28:13 <0.6> hermann kernel: wlan0: ieee80211_newstate_cb: SCAN -> INIT arg 3 Jul 9 13:28:13 <0.6> hermann kernel: wlan0: sta_newstate: SCAN -> INIT (3) Jul 9 13:28:13 <0.6> hermann kernel: wlan0: node_reclaim: remove 0xfffffe011497b000<ETHER_of_ACCESSPOINT> from station table, refcnt 1 Jul 9 13:28:13 <0.6> hermann kernel: wlan0: ieee80211_alloc_node 0xfffffe01148eb000<ETHER_OF_LAGG0> in station table Jul 9 13:28:13 <0.6> hermann kernel: wlan0: ieee80211_new_state_locked: INIT -> SCAN (arg 0) (nrunning 0 nscanning 0) Jul 9 13:28:13 <0.6> hermann kernel: wlan0: ieee80211_newstate_cb: INIT -> SCAN arg 0 Jul 9 13:28:13 <0.6> hermann kernel: wlan0: sta_newstate: INIT -> SCAN (0) [...] And logging for wpa_supplicant, one can see this messages: [...] Jul 9 13:28:13 <3.5> hermann wpa_supplicant[401]: BSSID ETHER_OF_ACCESSPOINT ignore list count incremented to 2, ignoring for 10 seconds Jul 9 13:28:13 <3.5> hermann wpa_supplicant[401]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="My-AP-OpenWRT" auth_failures=6 duration=110 reason=CONN_FAILED Jul 9 13:28:13 <3.5> hermann wpa_supplicant[401]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all Jul 9 13:30:03 <3.5> hermann wpa_supplicant[401]: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="My-AP-OpenWRT" Jul 9 13:30:03 <3.5> hermann wpa_supplicant[401]: wlan0: Trying to associate with ETHER_OF_ACCESSPOINT (SSID='My-AP-OpenWRT' freq=2462 MHz) Jul 9 13:30:13 <3.5> hermann wpa_supplicant[401]: wlan0: Authentication with ETHER_OF_ACCESSPOINT timed out. Jul 9 13:30:13 <3.5> hermann wpa_supplicant[401]: wlan0: CTRL-EVENT-DISCONNECTED bssid=ETHER_OF_ACCESSPOINT reason=3 locally_generated=1 Jul 9 13:30:13 <3.5> hermann wpa_supplicant[401]: BSSID ETHER_OF_ACCESSPOINT ignore list count incremented to 2, ignoring for 10 seconds Jul 9 13:30:13 <3.5> hermann wpa_supplicant[401]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="My-AP-OpenWRT" auth_failures=7 duration=144 reason=CONN_FAILED Jul 9 13:30:13 <3.5> hermann wpa_supplicant[401]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all -- O. Hartmann
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230709133558.45d1a39b>