You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After reboot both ap0 and wlan0 got an IP, but something still feels wrong. Accessing the pi from ssh ( through eth0 ) was jittery. Also checking ip monitor I was getting a lot more logs than usual
ip montor logs
root@raspberrypi:~# ip monitor
10.0.0.2 dev eth0 lladdr b0:7f:b9:9c:42:3c PROBE
10.0.0.2 dev eth0 lladdr b0:7f:b9:9c:42:3c REACHABLE
4: ap0: <BROADCAST,MULTICAST,UP,LOWER_UP>
link/ether
4: ap0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP>
link/ether
Deleted 224.0.0.22 dev ap0 lladdr 01:00:5e:00:00:16 NOARP
Deleted 224.0.0.251 dev ap0 lladdr 01:00:5e:00:00:fb NOARP
Deleted ff02::fb dev ap0 lladdr 33:33:00:00:00:fb NOARP
Deleted ff02::1:ffae:1f69 dev ap0 lladdr 33:33:ff:ae:1f:69 NOARP
Deleted ff02::16 dev ap0 lladdr 33:33:00:00:00:16 NOARP
Deleted ff02::2 dev ap0 lladdr 33:33:00:00:00:02 NOARP
4: ap0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
Deleted 4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link
valid_lft forever preferred_lft forever
Deleted local fe80::1a43:4d05:ecae:1f69 dev ap0 table local proto kernel metric 0 pref medium
Deleted fe80::/64 dev ap0 proto kernel metric 256 pref medium
Deleted 224.0.0.251 dev wlan0 lladdr 01:00:5e:00:00:fb NOARP
Deleted 224.0.0.22 dev wlan0 lladdr 01:00:5e:00:00:16 NOARP
Deleted ff02::fb dev wlan0 lladdr 33:33:00:00:00:fb NOARP
Deleted ff02::1:ff6a:e280 dev wlan0 lladdr 33:33:ff:6a:e2:80 NOARP
Deleted ff02::16 dev wlan0 lladdr 33:33:00:00:00:16 NOARP
Deleted ff02::2 dev wlan0 lladdr 33:33:00:00:00:02 NOARP
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
4: ap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
4: ap0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
Deleted 224.0.0.251 dev ap0 lladdr 01:00:5e:00:00:fb NOARP
Deleted multicast ff00::/8 dev ap0 table local proto kernel metric 256 linkdown pref medium
Deleted ff02::16 dev ap0 lladdr 33:33:00:00:00:16 NOARP
Deleted 4: ap0 inet 169.254.221.64/16 brd 169.254.255.255 scope global noprefixroute ap0
valid_lft forever preferred_lft forever
Deleted local 169.254.221.64 dev ap0 table local proto kernel scope host src 169.254.221.64
4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link tentative
valid_lft forever preferred_lft forever
Deleted 3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link
valid_lft forever preferred_lft forever
Deleted local fe80::c2a3:4298:386a:e280 dev wlan0 table local proto kernel metric 0 pref medium
Deleted fe80::/64 dev wlan0 proto kernel metric 256 linkdown pref medium
Deleted 3: wlan0 inet 10.0.0.10/24 brd 10.0.0.255 scope global dynamic wlan0
valid_lft 3592sec preferred_lft 3142sec
Deleted broadcast 10.0.0.255 dev wlan0 table local proto kernel scope link src 10.0.0.10 linkdown
Deleted local 10.0.0.10 dev wlan0 table local proto kernel scope host src 10.0.0.10
Deleted 224.0.0.251 dev wlan0 lladdr 01:00:5e:00:00:fb NOARP
Deleted 4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link tentative
valid_lft forever preferred_lft forever
4: ap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
broadcast 10.1.0.255 dev ap0 table local proto kernel scope link src 10.1.0.231 linkdown
10.1.0.0/24 dev ap0 proto kernel scope link src 10.1.0.231 linkdown
multicast ff00::/8 dev ap0 table local proto kernel metric 256 pref medium
4: ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
4: ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
fe80::/64 dev ap0 proto kernel metric 256 pref medium
4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link tentative
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP>
link/ether
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
Deleted 224.0.0.22 dev wlan0 lladdr 01:00:5e:00:00:16 NOARP
Deleted multicast ff00::/8 dev wlan0 table local proto kernel metric 256 linkdown pref medium
Deleted ff02::16 dev wlan0 lladdr 33:33:00:00:00:16 NOARP
4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link
valid_lft forever preferred_lft forever
local fe80::1a43:4d05:ecae:1f69 dev ap0 table local proto kernel metric 0 pref medium
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP>
link/ether
multicast ff00::/8 dev wlan0 table local proto kernel metric 256 pref medium
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP>
link/ether
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP>
link/ether
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP>
link/ether
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link tentative
valid_lft forever preferred_lft forever
Deleted 3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link tentative
valid_lft forever preferred_lft forever
Deleted fe80::/64 dev wlan0 proto kernel metric 256 pref medium
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link tentative
valid_lft forever preferred_lft forever
3: wlan0 inet 10.0.0.10/24 brd 10.0.0.255 scope global dynamic wlan0
valid_lft 3600sec preferred_lft 3600sec
local 10.0.0.10 dev wlan0 table local proto kernel scope host src 10.0.0.10
broadcast 10.0.0.255 dev wlan0 table local proto kernel scope link src 10.0.0.10
10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.10
default via 10.0.0.1 dev wlan0
3: wlan0 inet 10.0.0.10/24 brd 10.0.0.255 scope global dynamic wlan0
valid_lft 3600sec preferred_lft 3150sec
10.0.0.0/24 dev wlan0 proto dhcp scope link src 10.0.0.10 metric 303
Deleted 10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.10
default via 10.0.0.1 dev wlan0 proto dhcp src 10.0.0.10 metric 303
Deleted default via 10.0.0.1 dev wlan0
10.0.0.8 dev wlan0 lladdr f0:2f:4b:10:be:c8 REACHABLE
3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link
valid_lft forever preferred_lft forever
local fe80::c2a3:4298:386a:e280 dev wlan0 table local proto kernel metric 0 pref medium
4: ap0 inet 169.254.221.64/16 brd 169.254.255.255 scope global noprefixroute ap0
valid_lft forever preferred_lft forever
local 169.254.221.64 dev ap0 table local proto kernel scope host src 169.254.221.64
broadcast 169.254.255.255 dev ap0 table local proto kernel scope link src 169.254.221.64
169.254.0.0/16 dev ap0 scope link src 169.254.221.64 metric 304
I also noticed that on system status hostapd I get the following error:
May 06 15:33:35 raspberrypi systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 1329.
May 06 15:33:35 raspberrypi systemd[1]: Stopped Access point and authentication server for Wi-Fi and Ethernet.
May 06 15:33:35 raspberrypi systemd[1]: Starting Access point and authentication server for Wi-Fi and Ethernet...
May 06 15:33:35 raspberrypi hostapd[44157]: Configuration file: /etc/hostapd/hostapd.conf
May 06 15:33:35 raspberrypi hostapd[44157]: ctrl_iface exists and seems to be in use - cannot override it
May 06 15:33:35 raspberrypi hostapd[44157]: Delete '/var/run/hostapd/ap0' manually if it is not used anymore
May 06 15:33:35 raspberrypi hostapd[44157]: Failed to setup control interface for ap0
May 06 15:33:35 raspberrypi hostapd[44157]: ap0: Unable to setup interface.
May 06 15:33:35 raspberrypi hostapd[44157]: ap0: interface state UNINITIALIZED->DISABLED
May 06 15:33:35 raspberrypi hostapd[44157]: ap0: AP-DISABLED
May 06 15:33:35 raspberrypi hostapd[44157]: ap0: CTRL-EVENT-TERMINATING
May 06 15:33:35 raspberrypi hostapd[44157]: hostapd_free_hapd_data: Interface ap0 wasn't started
May 06 15:33:35 raspberrypi hostapd[44157]: nl80211: deinit ifname=ap0 disabled_11b_rates=0
I then removed ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev from /etc/wpa_supplicant/wpa_supplicant.conf and this seems to have improved the problem. No more jittering and ip monitor log looks more normal. But I also lost the ability to use wpa_cli
I wonder if there's a better solution than this that can allow me to use wpa_cli
The text was updated successfully, but these errors were encountered:
Thank you for posting this issue! It solved my problem too. Not sure why this is the case either. But I didn't have to do anything above with hostapd since my hostapd service was masked.
Thank you for this script! I tried it on a raspberry pi 4 and it works fine, just with some changes.
I had to remove from /etc/hostapd/hostapd.conf
After reboot both ap0 and wlan0 got an IP, but something still feels wrong. Accessing the pi from ssh ( through eth0 ) was jittery. Also checking
ip monitor
I was getting a lot more logs than usualip montor logs
root@raspberrypi:~# ip monitor
10.0.0.2 dev eth0 lladdr b0:7f:b9:9c:42:3c PROBE
10.0.0.2 dev eth0 lladdr b0:7f:b9:9c:42:3c REACHABLE
4: ap0: <BROADCAST,MULTICAST,UP,LOWER_UP>
link/ether
4: ap0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP>
link/ether
Deleted 224.0.0.22 dev ap0 lladdr 01:00:5e:00:00:16 NOARP
Deleted 224.0.0.251 dev ap0 lladdr 01:00:5e:00:00:fb NOARP
Deleted ff02::fb dev ap0 lladdr 33:33:00:00:00:fb NOARP
Deleted ff02::1:ffae:1f69 dev ap0 lladdr 33:33:ff:ae:1f:69 NOARP
Deleted ff02::16 dev ap0 lladdr 33:33:00:00:00:16 NOARP
Deleted ff02::2 dev ap0 lladdr 33:33:00:00:00:02 NOARP
4: ap0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
Deleted 4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link
valid_lft forever preferred_lft forever
Deleted local fe80::1a43:4d05:ecae:1f69 dev ap0 table local proto kernel metric 0 pref medium
Deleted fe80::/64 dev ap0 proto kernel metric 256 pref medium
Deleted 224.0.0.251 dev wlan0 lladdr 01:00:5e:00:00:fb NOARP
Deleted 224.0.0.22 dev wlan0 lladdr 01:00:5e:00:00:16 NOARP
Deleted ff02::fb dev wlan0 lladdr 33:33:00:00:00:fb NOARP
Deleted ff02::1:ff6a:e280 dev wlan0 lladdr 33:33:ff:6a:e2:80 NOARP
Deleted ff02::16 dev wlan0 lladdr 33:33:00:00:00:16 NOARP
Deleted ff02::2 dev wlan0 lladdr 33:33:00:00:00:02 NOARP
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
4: ap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
4: ap0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
Deleted 224.0.0.251 dev ap0 lladdr 01:00:5e:00:00:fb NOARP
Deleted multicast ff00::/8 dev ap0 table local proto kernel metric 256 linkdown pref medium
Deleted ff02::16 dev ap0 lladdr 33:33:00:00:00:16 NOARP
Deleted 4: ap0 inet 169.254.221.64/16 brd 169.254.255.255 scope global noprefixroute ap0
valid_lft forever preferred_lft forever
Deleted local 169.254.221.64 dev ap0 table local proto kernel scope host src 169.254.221.64
4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link tentative
valid_lft forever preferred_lft forever
Deleted 3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link
valid_lft forever preferred_lft forever
Deleted local fe80::c2a3:4298:386a:e280 dev wlan0 table local proto kernel metric 0 pref medium
Deleted fe80::/64 dev wlan0 proto kernel metric 256 linkdown pref medium
Deleted 3: wlan0 inet 10.0.0.10/24 brd 10.0.0.255 scope global dynamic wlan0
valid_lft 3592sec preferred_lft 3142sec
Deleted broadcast 10.0.0.255 dev wlan0 table local proto kernel scope link src 10.0.0.10 linkdown
Deleted local 10.0.0.10 dev wlan0 table local proto kernel scope host src 10.0.0.10
Deleted 224.0.0.251 dev wlan0 lladdr 01:00:5e:00:00:fb NOARP
Deleted 4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link tentative
valid_lft forever preferred_lft forever
4: ap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
broadcast 10.1.0.255 dev ap0 table local proto kernel scope link src 10.1.0.231 linkdown
10.1.0.0/24 dev ap0 proto kernel scope link src 10.1.0.231 linkdown
multicast ff00::/8 dev ap0 table local proto kernel metric 256 pref medium
4: ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
4: ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
fe80::/64 dev ap0 proto kernel metric 256 pref medium
4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link tentative
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP>
link/ether
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
Deleted 224.0.0.22 dev wlan0 lladdr 01:00:5e:00:00:16 NOARP
Deleted multicast ff00::/8 dev wlan0 table local proto kernel metric 256 linkdown pref medium
Deleted ff02::16 dev wlan0 lladdr 33:33:00:00:00:16 NOARP
4: ap0 inet6 fe80::1a43:4d05:ecae:1f69/64 scope link
valid_lft forever preferred_lft forever
local fe80::1a43:4d05:ecae:1f69 dev ap0 table local proto kernel metric 0 pref medium
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP>
link/ether
multicast ff00::/8 dev wlan0 table local proto kernel metric 256 pref medium
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP>
link/ether
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP>
link/ether
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP>
link/ether
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link tentative
valid_lft forever preferred_lft forever
Deleted 3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link tentative
valid_lft forever preferred_lft forever
Deleted fe80::/64 dev wlan0 proto kernel metric 256 pref medium
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default
link/ether e4:5f:01:1a:bd:91 brd ff:ff:ff:ff:ff:ff
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link tentative
valid_lft forever preferred_lft forever
3: wlan0 inet 10.0.0.10/24 brd 10.0.0.255 scope global dynamic wlan0
valid_lft 3600sec preferred_lft 3600sec
local 10.0.0.10 dev wlan0 table local proto kernel scope host src 10.0.0.10
broadcast 10.0.0.255 dev wlan0 table local proto kernel scope link src 10.0.0.10
10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.10
default via 10.0.0.1 dev wlan0
3: wlan0 inet 10.0.0.10/24 brd 10.0.0.255 scope global dynamic wlan0
valid_lft 3600sec preferred_lft 3150sec
10.0.0.0/24 dev wlan0 proto dhcp scope link src 10.0.0.10 metric 303
Deleted 10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.10
default via 10.0.0.1 dev wlan0 proto dhcp src 10.0.0.10 metric 303
Deleted default via 10.0.0.1 dev wlan0
10.0.0.8 dev wlan0 lladdr f0:2f:4b:10:be:c8 REACHABLE
3: wlan0 inet6 fe80::c2a3:4298:386a:e280/64 scope link
valid_lft forever preferred_lft forever
local fe80::c2a3:4298:386a:e280 dev wlan0 table local proto kernel metric 0 pref medium
4: ap0 inet 169.254.221.64/16 brd 169.254.255.255 scope global noprefixroute ap0
valid_lft forever preferred_lft forever
local 169.254.221.64 dev ap0 table local proto kernel scope host src 169.254.221.64
broadcast 169.254.255.255 dev ap0 table local proto kernel scope link src 169.254.221.64
169.254.0.0/16 dev ap0 scope link src 169.254.221.64 metric 304
I also noticed that on
system status hostapd
I get the following error:May 06 15:33:35 raspberrypi systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 1329.
May 06 15:33:35 raspberrypi systemd[1]: Stopped Access point and authentication server for Wi-Fi and Ethernet.
May 06 15:33:35 raspberrypi systemd[1]: Starting Access point and authentication server for Wi-Fi and Ethernet...
May 06 15:33:35 raspberrypi hostapd[44157]: Configuration file: /etc/hostapd/hostapd.conf
May 06 15:33:35 raspberrypi hostapd[44157]: ctrl_iface exists and seems to be in use - cannot override it
May 06 15:33:35 raspberrypi hostapd[44157]: Delete '/var/run/hostapd/ap0' manually if it is not used anymore
May 06 15:33:35 raspberrypi hostapd[44157]: Failed to setup control interface for ap0
May 06 15:33:35 raspberrypi hostapd[44157]: ap0: Unable to setup interface.
May 06 15:33:35 raspberrypi hostapd[44157]: ap0: interface state UNINITIALIZED->DISABLED
May 06 15:33:35 raspberrypi hostapd[44157]: ap0: AP-DISABLED
May 06 15:33:35 raspberrypi hostapd[44157]: ap0: CTRL-EVENT-TERMINATING
May 06 15:33:35 raspberrypi hostapd[44157]: hostapd_free_hapd_data: Interface ap0 wasn't started
May 06 15:33:35 raspberrypi hostapd[44157]: nl80211: deinit ifname=ap0 disabled_11b_rates=0
I then removed
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
from /etc/wpa_supplicant/wpa_supplicant.conf and this seems to have improved the problem. No more jittering and ip monitor log looks more normal. But I also lost the ability to usewpa_cli
I wonder if there's a better solution than this that can allow me to use
wpa_cli
The text was updated successfully, but these errors were encountered: