11-13-2019, 04:56 PM
(This post was last modified: 11-13-2019, 05:06 PM by Tim Curtis.
Edit Reason: Redact PSK
)
(11-13-2019, 01:50 PM)Tim Curtis Wrote: Prolly not a bug in the scan. It runs the command below twice to improve the results. Give it a try.
Code:sudo iwlist wlan0 scan | grep ESSID | sed 's/ESSID://; s/\"//g'
sudo iwlist wlan0 scan | grep ESSID | sed 's/ESSID://; s/\"//g'
-Tim
As the wifi failed again after a reboot I tried out the cmd above ...
pi@SysL-RasPi2:~ $ sudo iwlist wlan0 scan | grep ESSID | sed 's/ESSID://; s/\"//g'
wlan0 Interface doesn't support scanning : Operation not supported
and I think that's what moodeutl -l shows:
20191113 173931 worker: wifi country (DE)
20191113 173931 worker: wlan0 trying SSID (LuNik700-2)
20191113 173931 worker: wlan0 wait 0 for IP address
20191113 173934 worker: wlan0 wait 1 for IP address
20191113 173937 worker: wlan0 wait 2 for IP address
20191113 173940 worker: wlan0 wait 3 for IP address
20191113 173944 worker: wlan0 wait 4 for IP address
20191113 173947 worker: wlan0 no IP addr for SSID (LuNik700-2)
20191113 173947 worker: wlan0 AP mode started
20191113 174003 worker: wlan0 wait 0 for IP address
20191113 174007 worker: wlan0 wait 1 for IP address
20191113 174657 worker: wlan0 (172.24.1.1)
By the way the wpa_supplicant filesare still identical on both Pi's....
pi@SysL-RasPi2:~ $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
#########################################
# This file is automatically generated by
# the player Network configuration page.
#########################################
country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="LuNik700-2"
scan_ssid=1
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}
---
Ludger
pi@SysL-RasPi2:~ $