I am also seeing this problem. My motherboard has an onboard Intel AX201
wireless module. 'lshw -class network' reports.

I am running ubuntu 24.04-1.

   *-network                 
       description: Ethernet interface
       product: Comet Lake PCH CNVi WiFi
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlo1
       version: 00
       serial: 64:6e:e0:6a:ec:30
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet 
physical
       configuration: broadcast=yes driver=iwlwifi 
driverversion=6.8.0-44-generic firmware=77.ad46c98b.0 QuZ-a0-hr-b0-77.u 
ip=10.161.0.1 latency=0 link=yes multicast=yes
       resources: iomemory:400-3ff irq:16 memory:4010514000-4010517fff

Network manager journal shows this.

NetworkManager[1595]: <info>  [1726655621.9126] device (wlo1): Activation: 
starting connection 'onboard' (eba7700f-707a-4fc7-9953-3eab2412e732)
NetworkManager[1595]: <info>  [1726655621.9127] audit: op="connection-activate" 
uuid="eba7700f-707a-4fc7-9953-3eab2412e732" name="onboard" pid=12222 uid=1000 
result="success"
NetworkManager[1595]: <info>  [1726655621.9127] device (wlo1): state change: 
disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
 NetworkManager[1595]: <info>  [1726655621.9134] device (wlo1): state change: 
prepare -> config (reason 'none', sys-iface-state: 'managed')
NetworkManager[1595]: <info>  [1726655621.9135] device (wlo1): Activation: 
(wifi) access point 'onboard' has security, but secrets are required.
NetworkManager[1595]: <info>  [1726655621.9135] device (wlo1): state change: 
config -> need-auth (reason 'none', sys-iface-state: 'managed')
NetworkManager[1595]: <info>  [1726655621.9139] device (wlo1): state change: 
need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[1595]: <info>  [1726655621.9142] device (wlo1): state change: 
prepare -> config (reason 'none', sys-iface-state: 'managed')
NetworkManager[1595]: <info>  [1726655621.9143] device (wlo1): Activation: 
(wifi) connection 'onboard' has security, and secrets exist.  No new secrets 
needed.
NetworkManager[1595]: <info>  [1726655621.9143] Config: added 'ssid' value 
'test1'
NetworkManager[1595]: <info>  [1726655621.9143] Config: added 'mode' value '2'
Sep 18 11:33:41 dragon NetworkManager[1595]: <info>  [1726655621.9143] Config: 
added 'frequency' value '2437'
NetworkManager[1595]: <info>  [1726655621.9143] Config: added 'key_mgmt' value 
'WPA-PSK WPA-PSK-SHA256 SAE'
Sep 18 11:33:41 dragon NetworkManager[1595]: <info>  [1726655621.9143] Config: 
added 'psk' value '<hidden>'
NetworkManager[1595]: <info>  [1726655621.9650] device (wlo1): supplicant 
interface state: disconnected -> completed
NetworkManager[1595]: <info>  [1726655621.9651] device (wlo1): Activation: 
(wifi) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspot "test1"
NetworkManager[1595]: <info>  [1726655621.9651] device (p2p-dev-wlo1): 
supplicant management interface state: disconnected -> completed
NetworkManager[1595]: <info>  [1726655621.9651] device (wlo1): state change: 
config -> ip-config (reason 'none', sys-iface-state: 'managed')
NetworkManager[1595]: <info>  [1726655622.1322] dnsmasq-manager: starting 
dnsmasq...
NetworkManager[1595]: <info>  [1726655622.1360] device (wlo1): state change: 
ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
dnsmasq[12242]: started, version 2.90 cachesize 150
dnsmasq[12242]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 
DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC 
loop-detect inotify dumpfile
dnsmasq[12242]: chown of PID file /run/nm-dnsmasq-wlo1.pid failed: Operation 
not permitted
dnsmasq-dhcp[12242]: DHCP, IP range 10.161.0.10 -- 10.161.0.254, lease time 1h
dnsmasq[12242]: reading /etc/resolv.conf
dnsmasq[12242]: using nameserver 127.0.0.53#53
dnsmasq[12242]: cleared cache
NetworkManager[1595]: <info>  [1726655622.1539] device (wlo1): state change: 
ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
NetworkManager[1595]: <info>  [1726655622.1540] device (wlo1): state change: 
secondaries -> activated (reason 'none', sys-iface-state: 'managed')
NetworkManager[1595]: <info>  [1726655622.1543] device (wlo1): Activation: 
successful, device activated.

wpa_supplicant journal shows this and no further messages.

wpa_supplicant[1596]: wlo1: AP-DISABLED
wpa_supplicant[1596]: wlo1: CTRL-EVENT-DISCONNECTED bssid=64:6e:e0:6a:ec:30 
reason=3 locally_generated=1
wpa_supplicant[1596]: wlo1: CTRL-EVENT-DSCP-POLICY clear_all
wpa_supplicant[1596]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=WORLD
wpa_supplicant[1596]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY 
alpha2=GB
wpa_supplicant[1596]: Note: nl80211 driver interface is not designed to be used 
with ap_scan=2; this can result in connection failures
wpa_supplicant[1596]: wlo1: interface state UNINITIALIZED->ENABLED
wpa_supplicant[1596]: wlo1: AP-ENABLED
wpa_supplicant[1596]: wlo1: CTRL-EVENT-CONNECTED - Connection to 
64:6e:e0:6a:ec:30 completed [id=0 id_str=]
wpa_supplicant[1596]: wlo1: CTRL-EVENT-SCAN-FAILED ret=-95


Clients associate but hang when the password is sent. Then timeout.

NO other information appears in the journals.

Other non intel devices work fine.This looks like as strange interaction
between NetworkManager and wpa_supplicant when an intel iwlwifi is being
used.


I have looked through network manager and wpa_supplicant source code for where 
ap_scan=2 is set but have not found it. Has anyone tracked this down further?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886169

Title:
  "nl80211 driver interface is not designed to be used with ap_scan=2"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/1886169/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to