08-14-2023, 08:49 PM
(This post was last modified: 08-14-2023, 08:56 PM by Tim Curtis.
Edit Reason: eta
)
(08-14-2023, 05:58 PM)yannig Wrote:(08-12-2023, 04:52 PM)Tim Curtis Wrote: The log shows a configured and alternate SSID and that after waiting for 90 seconds for Linux to connect to either SSID that no IP address was received from your Router.
20230812 174011 worker: wlan0 configured SSID (Tenda-917B00)
20230812 174011 worker: wlan0 SSID alternates (Tenda-917B00-5G)
20230812 174011 worker: wlan0 router mode (Off)
20230812 174011 worker: wlan0 address check (up to 90 secs)
20230812 174143 worker: wlan0 address not assigned
20230812 174143 worker: wlan0 activating AP mode
This could be caused by one of the following:
1. Router DHCP (IP address assignment) is responding extremely slowly. Normally this happens almost instantly.
Try rebooting your Router.
Try increasing the "Address timeout" setting to max of 120 seconds. The setting is in System config.
2. Linux can't connect to configured SSID "Tenda-917B00" for some reason and thus falls back to the alternate SSID "Tenda-917B00-5G" but also can't connect to this SSID.
Open Network config
- Click MANAGE Saved networks and delete the SSID "Tenda-917B00-5G"
- Enter manually the SSID and password for the alternate SSID "Tenda-917B00-5G"
- Enter manually the SSID and password for the configured SSID "Tenda-917B00"
You can look at the wpa_supplicant file to verify that it contains just the two SSID's you defined above. The configured SSID will be listed having priority 100 and the alternate SSID will have priority 10.
Code:sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
If all looks good go ahead and reboot.
If Linux is still not able to get an IP address for either SSID then its not obvious to me what might be happening.
Hello Tim
thanks for your response
I tried everything above, but this strange problem is still there.
And I still don't have any problem to connect other devices (than rasberries/moode), ie android, macbookpro, etc.
Code:pi@moode-l:~ $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
#########################################
# This file is automatically generated by
# the player Network configuration page.
#########################################
country=FR
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="Tenda-917B00"
priority=100
scan_ssid=1
psk=a3b13ba98f6d03b9d222e3bb78e7c2d887fd51eac92a357f5dcdd4f35a77ab63
Additional troubleshooting can be done by examining your WiFi Router wireless and DHCP logs for errors associated with the host "moode-l" or its WLAN MAC address.
The MAC address can be viewed via:
moodeutl -s | grep "WLAN MAC"
When a client attempts to connect to a WiFI LAN two steps are performed:
1. Client associates (is granted access) to the WiFi LAN provided by the Router. This is the step where the client WiFi password is checked by the Router to see if it matches the one defined for the SSID.
2. Router DHCP service delivers an IP address to the client. This is the step where the client receives an IP address so it can communicate with other clients on the WiFI LAN.
Both 1 and 2 must be successful for a client to be able to use the wireless LAN.
Failure to associate is typically due to wrong password defined on the client or poor signal strength/quality.
Failure to get a DHCP address can be due to configuration issues in the DHCP service on the Router.