Public bug reported:

Ubuntu 20.04 LTS ARM (Running on a raspberry Pi)

********
Logfile:
********

NetworkManager[1345]: <info>  [1593736912.7230] policy: auto-activating 
connection 'hotspot-inside' (37c28408-978a-48e0-a135-9867e3a45c64)
NetworkManager[1345]: <info>  [1593736912.7248] device (wlx00c0caab435c): 
Activation: starting connection 'hotspot-inside' 
(37c28408-978a-48e0-a135-9867e3a45c64)
NetworkManager[1345]: <info>  [1593736912.7252] device (wlx00c0caab435c): state 
change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[1345]: <info>  [1593736912.7261] manager: NetworkManager state 
is now CONNECTING
NetworkManager[1345]: <info>  [1593736912.7449] device (wlx00c0caab435c): state 
change: prepare -> config (reason 'none', sys-iface-state: 'managed')
NetworkManager[1345]: <info>  [1593736912.7459] device (wlx00c0caab435c): 
Activation: (wifi) access point 'hotspot-inside' has security, but secrets are 
required.
NetworkManager[1345]: <info>  [1593736912.7460] device (wlx00c0caab435c): state 
change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
NetworkManager[1345]: <info>  [1593736912.7530] device (wlx00c0caab435c): state 
change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[1345]: <info>  [1593736912.7557] device (wlx00c0caab435c): state 
change: prepare -> config (reason 'none', sys-iface-state: 'managed')
NetworkManager[1345]: <info>  [1593736912.7566] device (wlx00c0caab435c): 
Activation: (wifi) connection 'hotspot-inside' has security, and secrets exist. 
 No new secrets needed.
NetworkManager[1345]: <info>  [1593736912.7571] Config: added 'ssid' value 
'hotspot-inside'
NetworkManager[1345]: <info>  [1593736912.7572] Config: added 'mode' value '2'
NetworkManager[1345]: <info>  [1593736912.7573] Config: added 'frequency' value 
'2412'
NetworkManager[1345]: <info>  [1593736912.7574] Config: added 'key_mgmt' value 
'WPA-PSK WPA-PSK-SHA256 FT-PSK'
NetworkManager[1345]: <info>  [1593736912.7574] Config: added 'psk' value 
'<hidden>'
NetworkManager[1345]: <info>  [1593736912.7575] Config: added 'proto' value 
'RSN'
NetworkManager[1345]: <info>  [1593736912.7575] Config: added 'pairwise' value 
'CCMP'
NetworkManager[1345]: <info>  [1593736912.7576] Config: added 'group' value 
'CCMP'
wpa_supplicant[1358]: Note: nl80211 driver interface is not designed to be used 
with ap_scan=2; this can result in connection failures
wpa_supplicant[1358]: Using interface wlx00c0caab435c with hwaddr 
00:c0:ca:ab:43:5c and ssid "hotspot-inside"

*************************************
NetworkManager Connection definition:
*************************************

[connection]
id=hotspot-inside
uuid=37c28408-978a-48e0-a135-9867e3a45c64
type=wifi
autoconnect-priority=5
permissions=
timestamp=1593537574

[wifi]
mac-address=00:C0:CA:AB:43:5C
mac-address-blacklist=
mode=ap
seen-bssids=00:C0:CA:AB:43:5C;DC:A6:32:3A:67:FC;
ssid=hotspot-inside

[wifi-security]
group=ccmp;
key-mgmt=wpa-psk
pairwise=ccmp;
proto=rsn;
psk=<XXX>

[ipv4]
dns-search=
method=shared

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=ignore

[proxy]

*****************************
USB Network Card information:
*****************************

*-network:1
   description: Wireless interface
   physical id: 2
   bus info: usb@1:1.1
   logical name: wlx00c0caab435c
   serial: 00:c0:ca:ab:43:5c
   capabilities: ethernet physical wireless
   configuration: broadcast=yes driver=rtl88XXau ip=10.42.0.1 multicast=yes 
wireless=IEEE 802.11bgn

(The device is an Alfa AWUS036AC, using the driver https://github.com
/aircrack-ng/rtl8812au - Version 5.6.4.2)

**************************
What I expected to happen:
**************************
I expect my windows 10 PC to be able to connect to a hotspot if I set one up

**********************
What happened instead:
**********************
It can't connect to the AP

***********************
Logs of when I connect:
***********************
wpa_supplicant[1358]: wlx00c0caab435c: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0

... this is the only line that appears in the logs and on the windows
machine, I get the very helpful description of "Can't connect"...

******************
What I did so far:
******************
I tried reading about the ap_scan modes what I could find.
The only two references I did find, was:
- that ap_mode is a setting you can set in wpa_supplicant, however, I'm using 
NetworkManager. I checked the references and I don't find a way to set 
'ap_mode=1'
- all other references were bugreports, which led me to here.
I ordered a new Network Card, using a different chipset, to see if the problem 
persists. Sadly it didn't arrive yet.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/cloud-init/+bug/1886169/+subscriptions

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

Reply via email to