As many others on this forum, I’m trying to run the Jetson TX2 as an access point at boot. I chose to deinstall hostapd, disable dnsmasq, and try to get this working exclusively with NetworkManager and wpa_supplicant.
My problem is that the access point only appears every now and then, and eventually disappears more often than not. When it is visible, I can connect to it and everything works as its should. When it is not to be seen, I cannot force the connection as the network is not found.
Specifically, I run
nmcli dev wifi hotspot ifname wlan0 ssid wirelessap_35a0 password 1234567890 con-name Hotspot
to start the access point. When running
nmcli d wifi
I can see the connection correctly being displayed
- SSID MODE CHAN RATE SIGNAL BARS SECURITY
- wirelessap_35a0 Infra 1 0 Mbit/s 0 ____ WPA2
Similarly, wpa_cli shows
sudo wpa_cli
wpa_cli v2.4
Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Selected interface 'wlan0'
Interactive mode
> status
bssid=00:04:4b:a5:35:9e
freq=2412
ssid=wirelessap_35a0
id=0
mode=AP
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=10.42.0.1
address=00:04:4b:a5:35:9e
uuid=2e521a06-6bce-5b3a-9c39-daa14f2d5af0
>
Inspecting the status of wpa_supplicant is a little more ambiguous
systemctl status wpa_supplicant
● wpa_supplicant.service - WPA supplicant
Loaded: loaded (/etc/systemd/system/wpa_supplicant.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2018-11-13 12:24:49 UTC; 4h 25min ago
Main PID: 1094 (wpa_supplicant)
CPU: 2.175s
CGroup: /system.slice/wpa_supplicant.service
└─1094 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
Nov 13 16:41:59 smarthand wpa_supplicant[1094]: nl80211: Failed to create a P2P Device interface p2p-dev-wlan0
Nov 13 16:41:59 smarthand wpa_supplicant[1094]: P2P: Failed to enable P2P Device interface
Nov 13 16:41:59 smarthand wpa_supplicant[1094]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
Nov 13 16:42:00 smarthand wpa_supplicant[1094]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
Nov 13 16:42:24 smarthand wpa_supplicant[1094]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
Nov 13 16:42:50 smarthand wpa_supplicant[1094]: Using interface wlan0 with hwaddr 00:04:4b:a5:35:9e and ssid "wirelessap_35a0"
Nov 13 16:42:50 smarthand wpa_supplicant[1094]: Device is trying to offload WPS Probe Response while not supporting this
Nov 13 16:42:50 smarthand wpa_supplicant[1094]: wlan0: interface state UNINITIALIZED->ENABLED
Nov 13 16:42:50 smarthand wpa_supplicant[1094]: wlan0: AP-ENABLED
Nov 13 16:42:50 smarthand wpa_supplicant[1094]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:04:4b:a5:35:9e completed [id=0 id_str=]
Other things I’ve tried are
set beacon_int 110
using wpa_cli as the default value of 0 does not make sense to me, as well as
sudo nmcli conn mod Hotspot 802-11-wireless.hidden false
I get the same problem when using the instructions based on hostapd as described in the other threads, which introduces many other potential pitfalls as DHCP has to be configured manually and I do not want to disable network manager. Help would be greatly appreciated!
Regards,
Nikolaus