Stefan Sperling <s...@openbsd.org> writes: >> iwx0: received msg 3/4 of the 4-way handshake from 38:ff:36:23:09:ac >> iwx0: sending msg 4/4 of the 4-way handshake to 38:ff:36:23:09:ac >> >> I never see "iwx0: sending action to" after this. > > And you still see status: "no network" in ifconfig at this point? > This could mean we're failing to set the link UP after the WPA handshake > has completed. But I cannot explain why.
Correct. It stays as "no network". >> Any debugging clues? > > netstat -nI iwx0 > netstat -W iwx0 > > Do any of the counters keep changing? Which ones? I collected some counters below with "close net80211 hardware crypto set_key races" applied. I don't have any other equipment with me, so packet captures aren't currently practical. % netstat -W iwx0 | perl -ne 'print unless m/\b0\b/' ieee80211 on iwx0: 2991 input encrypted packets without wep/wpa config discarded 1 input deauthentication packet 6 input eapol-key packets 8 active scans started % netstat -nI iwx0 Name Mtu Network Address Ipkts Ifail Opkts Ofail Colls iwx0 1500 <Link> e8:84:a5:xx:xx:xx 6 0 6 0 0 % netstat -W iwx0 | perl -ne 'print unless m/\b0\b/' ieee80211 on iwx0: 3150 input encrypted packets without wep/wpa config discarded 1 input deauthentication packet 6 input eapol-key packets 8 active scans started % netstat -W iwx0 | perl -ne 'print unless m/\b0\b/' ieee80211 on iwx0: 3292 input encrypted packets without wep/wpa config discarded 1 input deauthentication packet 6 input eapol-key packets 8 active scans started % netstat -W iwx0 | perl -ne 'print unless m/\b0\b/' ieee80211 on iwx0: 3379 input encrypted packets without wep/wpa config discarded 1 input deauthentication packet 6 input eapol-key packets 8 active scans started % netstat -nI iwx0 Name Mtu Network Address Ipkts Ifail Opkts Ofail Colls iwx0 1500 <Link> e8:84:a5:xx:xx:xx 6 0 6 0 0 dmesg: iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x00, msix iwx0: hw rev 0x350, fw ver 48.1335886879.0, address e8:84:a5:xx:xx:xx iwx0: acquiring device failed iwx0: end active scan iwx0: + 38:ff:36:22:ce:bc 60 +11 54M ess privacy rsn "MarlinGuest" iwx0: + 38:ff:36:23:09:a8 4 +48 54M ess privacy rsn "MarlinGuest" iwx0: + 38:ff:36:23:09:ac 52 +37 54M ess privacy rsn "MarlinGuest" iwx0: firmware has detected regulatory domain 'US' (0x5553) iwx0: SCAN -> AUTH iwx0: sending auth to 38:ff:36:23:09:a8 on channel 4 mode 11g iwx0: AUTH -> ASSOC iwx0: sending assoc_req to 38:ff:36:23:09:a8 on channel 4 mode 11g iwx0: ASSOC -> RUN iwx0: associated with 38:ff:36:23:09:a8 ssid "MarlinGuest" channel 4 start MCS 0 short preamble short slot time HT enabled iwx0: missed beacon threshold set to 30 beacons, beacon interval is 100 TU iwx0: received msg 1/4 of the 4-way handshake from 38:ff:36:23:09:a8 iwx0: sending msg 2/4 of the 4-way handshake to 38:ff:36:23:09:a8 iwx0: received msg 3/4 of the 4-way handshake from 38:ff:36:23:09:a8 iwx0: sending msg 4/4 of the 4-way handshake to 38:ff:36:23:09:a8 iwx0: RUN -> INIT iwx0: begin active scan iwx0: INIT -> SCAN iwx0: SCAN -> INIT iwx0: begin active scan iwx0: INIT -> SCAN iwx0: SCAN -> INIT iwx0: begin active scan iwx0: INIT -> SCAN iwx0: end active scan iwx0: + 38:ff:36:22:04:b8 9 +14 54M ess privacy rsn "MarlinGuest" iwx0: + 38:ff:36:23:09:a8 4 +45 54M ess privacy rsn "MarlinGuest" iwx0: + 38:ff:36:23:09:ac 52 +37 54M ess privacy rsn "MarlinGuest" iwx0: + f8:e7:1e:1b:85:f8 4 +18 54M ess privacy rsn "MarlinGuest" iwx0: firmware has detected regulatory domain 'US' (0x5553) iwx0: SCAN -> AUTH iwx0: sending auth to 38:ff:36:23:09:a8 on channel 4 mode 11g iwx0: AUTH -> ASSOC iwx0: sending assoc_req to 38:ff:36:23:09:a8 on channel 4 mode 11g iwx0: ASSOC -> RUN iwx0: associated with 38:ff:36:23:09:a8 ssid "MarlinGuest" channel 4 start MCS 0 short preamble short slot time HT enabled iwx0: missed beacon threshold set to 30 beacons, beacon interval is 100 TU iwx0: received msg 1/4 of the 4-way handshake from 38:ff:36:23:09:a8 iwx0: sending msg 2/4 of the 4-way handshake to 38:ff:36:23:09:a8 iwx0: received msg 3/4 of the 4-way handshake from 38:ff:36:23:09:a8 iwx0: sending msg 4/4 of the 4-way handshake to 38:ff:36:23:09:a8 iwx0: RUN -> AUTH iwx0: sending auth to 38:ff:36:23:09:a8 on channel 4 mode 11n iwx0: AUTH -> ASSOC iwx0: sending assoc_req to 38:ff:36:23:09:a8 on channel 4 mode 11n iwx0: ASSOC -> RUN iwx0: associated with 38:ff:36:23:09:a8 ssid "MarlinGuest" channel 4 start MCS 0 short preamble short slot time HT enabled iwx0: missed beacon threshold set to 30 beacons, beacon interval is 100 TU iwx0: received msg 1/4 of the 4-way handshake from 38:ff:36:23:09:a8 iwx0: sending msg 2/4 of the 4-way handshake to 38:ff:36:23:09:a8 iwx0: received msg 3/4 of the 4-way handshake from 38:ff:36:23:09:a8 iwx0: sending msg 4/4 of the 4-way handshake to 38:ff:36:23:09:a8