Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


wifi connection problems
#4
@lurkio

Are you sure you've entered the WiFi client SSID/password credentials? What you are describing sounds suspiciously like they were entered but not correctly.

I just did a test with moOde 6.3.0 running on an RPi4B. Everything was working perfectly---ethernet, WiFi AP mode, and WiFi client mode. While in WiFi client mode, I deliberately altered the WiFi client password, saved it, and rebooted (with ethernet disconnected).

After a very long time, the moOde AP became visible in my WiFi scanner. I associated my laptop with it and then ssh'ed into 172.24.1.1.

Here's an annotated version of what I see in the moOde log:

Code:
pi@moode:~ $ moodeutl -l
...
20191019 150324 worker: -- Network
20191019 150324 worker: eth0 exists                          # the ethernet interface is enabled
20191019 150324 worker: eth0 wait 0 for IP address           # assume ethernet is live and try to
20191019 150328 worker: eth0 wait 1 for IP address           # interact with DHCP service
20191019 150331 worker: eth0 wait 2 for IP address
20191019 150334 worker: eth0 wait 3 for IP address
20191019 150337 worker: eth0 wait 4 for IP address
20191019 150340 worker: eth0 address not assigned            # OK, so maybe not plugged into ethernet
20191019 150340 worker: wlan0 exists                         # the WiFi interface is enabled so try it
20191019 150340 worker: wifi country (US)
20191019 150340 worker: wlan0 trying SSID (REDACTED)         # I gave it an SSID so try it in client mode
20191019 150340 worker: wlan0 wait 0 for IP address          # waiting for handshake with the AP
20191019 150343 worker: wlan0 wait 1 for IP address
20191019 150346 worker: wlan0 wait 2 for IP address
20191019 150350 worker: wlan0 wait 3 for IP address
20191019 150353 worker: wlan0 wait 4 for IP address
20191019 150356 worker: wlan0 no IP addr for SSID (REDACTED) # PW was incorrect so no IP issued by AP
20191019 150356 worker: wlan0 AP mode started                # and so we revert to AP mode
20191019 150430 worker: wlan0 wait 0 for IP address
20191019 150433 worker: wlan0 wait 1 for IP address
20191019 150436 worker: wlan0 (172.24.1.1)                   # the static IP assigned to the AP by Tim
...


Now for the tricky business. In your case, while moOde is running in AP mode, plug the ethernet back in. The player will now be accessible via two different IP addresses: 172.24.1.1 on the WiFi network, and xxx.xxx.xxx.xxx on the wired LAN (192.168.1.xxx in my case). Log in from the wired LAN and run moodeutl -l and see if you have similar output.


Regards,
Kent
Reply


Messages In This Thread
wifi connection problems - by lurkio - 10-18-2019, 09:15 PM
RE: wifi connection problems - by Tim Curtis - 10-19-2019, 02:35 AM
RE: wifi connection problems - by lurkio - 10-19-2019, 06:25 AM
RE: wifi connection problems - by TheOldPresbyope - 10-19-2019, 08:24 PM
RE: wifi connection problems - by lurkio - 10-20-2019, 03:37 PM
RE: wifi connection problems - by JonPike - 10-23-2019, 04:38 PM
RE: wifi connection problems - by Tim Curtis - 10-20-2019, 04:26 PM
RE: wifi connection problems - by lurkio - 10-20-2019, 05:07 PM
RE: wifi connection problems - by TheOldPresbyope - 10-20-2019, 04:52 PM
RE: wifi connection problems - by lurkio - 10-20-2019, 05:00 PM
RE: wifi connection problems - by Tim Curtis - 10-20-2019, 07:04 PM
RE: wifi connection problems - by lurkio - 10-21-2019, 08:32 PM
RE: wifi connection problems - by Geojanitor - 10-21-2019, 09:47 PM
RE: wifi connection problems - by Tim Curtis - 10-21-2019, 11:24 PM
RE: wifi connection problems - by lurkio - 10-22-2019, 06:27 AM
RE: wifi connection problems - by lurkio - 10-21-2019, 10:22 PM
RE: wifi connection problems - by jonners - 10-22-2019, 08:18 AM
RE: wifi connection problems - by Tim Curtis - 10-22-2019, 12:13 PM
RE: wifi connection problems - by Tim Curtis - 10-22-2019, 01:08 PM
RE: wifi connection problems - by TheOldPresbyope - 10-22-2019, 01:25 PM
RE: wifi connection problems - by lurkio - 10-22-2019, 01:52 PM
RE: wifi connection problems - by TheOldPresbyope - 10-22-2019, 02:12 PM
RE: wifi connection problems - by lurkio - 10-23-2019, 10:10 AM
RE: wifi connection problems - by TheOldPresbyope - 10-23-2019, 12:43 PM
RE: wifi connection problems - by Tim Curtis - 10-23-2019, 01:12 PM
RE: wifi connection problems - by Tim Curtis - 10-23-2019, 04:53 PM
RE: wifi connection problems - by ab.basu - 06-13-2020, 03:09 PM
RE: wifi connection problems - by TheOldPresbyope - 06-13-2020, 03:36 PM
RE: wifi connection problems - by ab.basu - 06-13-2020, 04:36 PM
RE: wifi connection problems - by ab.basu - 06-13-2020, 05:11 PM
RE: wifi connection problems - by TheOldPresbyope - 06-13-2020, 05:13 PM
RE: wifi connection problems - by ab.basu - 06-14-2020, 05:28 PM
RE: wifi connection problems - by Tim Curtis - 06-15-2020, 04:40 PM

Forum Jump: