Using nwid instead of join did not help connecting.

But applying your patch from the "wifi protected 
management frame (PMF) support" [1] by updating sources 
and compiling a new kernel fixed things for me.

Thanks!

[1] https://marc.info/?l=openbsd-tech&m=176479083517754

Marcus

[email protected] (Peter Hessler), 2025.12.04 (Thu) 20:17 (CET):
> There was a recent change to wifi drivers to add wifi protected
> management frame (PMF), which may have side effects that look like what
> you're seeing.
> 
> Are you using join?  If so, I committed a fix for this a few hours ago.
> 
> you can do: ifconfig iwm0 nwid "fifi" wpaakms "psk,sha256-psk" wpakey yourkey
> to connect for now.
> 
> If that works, you can update your kernel to get the fix.
> 
> -peter
> 
> 
> On 2025 Dec 04 (Thu) at 19:00:38 +0100 (+0100), Marcus MERIGHI wrote:
> :>Synopsis:   iwm(4) 8265 can't connect to network
> :>Category:   kernel
> :>Environment:
> :     System      : OpenBSD 7.8
> :     Details     : OpenBSD 7.8-current (GENERIC.MP) #135: Wed Dec  3 
> 14:12:51 MST 2025
> :                      
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> :
> :     Architecture: OpenBSD.amd64
> :     Machine     : amd64
> :>Description:
> :     iwm(4) 8265 can't establish a connection anymore
> :        It started with yesterdays (2025-12-03 CET) snapshot:
> :        worked: 
> :                OpenBSD 7.8-current (GENERIC.MP) #130: Mon Dec  1
> :                        01:45:33 MST 2025
> :        did not work:
> :                OpenBSD 7.8-current (GENERIC.MP) #133: Wed Dec  3
> :                        10:03:07 MST 2025
> :        iwm0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> 
> mtu
> :                        1500
> :                lladdr a0:88:69:aa:bb:cc
> :                index 1 priority 4 llprio 3
> :                groups: wlan
> :                media: IEEE802.11 autoselect
> :                status: no network
> :                ieee80211: nwid fifi wpakey wpaprotos wpa2 wpaakms
> :                        sha256-psk wpaciphers ccmp wpagroupcipher ccmp
> :        "ifconfig iwm0 debug" shows in dmesg in an endless loop:
> :        iwm0: SCAN -> SCAN
> :        iwm0: end passive scan
> :        iwm0: - 00:22:6b:48:8d:84   11   +17 54M   ess  privacy   rsn!
> :                "fifi"!
> :        iwm0: - 04:f0:21:3b:cb:f4    9   +48 54M   ess  privacy   rsn!
> :                "fofo"!
> :        iwm0: - 3c:84:6a:58:2f:63    2   +17 54M   ess  privacy   rsn!
> :                "fallera"!
> :        iwm0: - 44:57:02:10:26:51    5   +23 54M   ess       no!  rsn!
> :                "flubber"!
> :        iwm0: - 48:ed:e6:aa:9a:e1    6   +17 54M   ess  privacy   rsn!
> :                "blabla"!
> :        iwm0: SCAN -> SCAN
> :>How-To-Repeat:
> :     Lenovo X1 Carbon 5th Gen. with:
> :        iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless-AC 8265"
> :                rev 0x88, msi
> :        iwm0: hw rev 0x230, fw ver 36.ca7b901d.0, address
> :                a0:88:69:aa:bb:cc
> :     try to connect to your usual networks.
> :>Fix:
> :     None known

Reply via email to