Max2Play Home › Forums › Max2Play on Raspberry PI › WiFi Connection Issues
- This topic has 5 replies, 2 voices, and was last updated 6 years, 1 month ago by Heiner premium.
-
Posted in: Max2Play on Raspberry PI
-
25. September 2018 at 20:29 #38034
Hello,
I’ve just downloaded and reinstalled the latest M2P image onto my Raspberry Pi 2. There’s a USB wireless adapter that I’ve used before on the same hardware without issue, however on this occasion I can’t seem to get it to work. The max2play SSID is automatically created correctly and I can connect to that, and connect to the M2P interface via a web browser. But when I enter the WiFi details, it attempts to connect, but then fails. I’ve pasted the log output below:
Setup WiFi Started 2018-03-20 19:16:03| Disable Accesspoint ifdown: interface wlan0 not configured 0 OK OK OK OK OK OK No IP-Address could be received - WiFi NOT working correctly. Please check Network-ID and Passphrase! ifdown: ignoring unknown interface wlan0=wlan0 OK OK WiFi detected Restarting hostapd (via systemctl): hostapd.service. Restarting dnsmasq (via systemctl): dnsmasq.service. Finished Please Click here Reload Page!
And after the connection attempt the WiFi debug page says:
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether b8:27:eb:77:e2:28 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 1000 (Local Loopback) RX packets 18316 bytes 1231372 (1.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 18316 bytes 1231372 (1.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.189.1 netmask 255.255.255.0 broadcast 192.168.189.255 ether ac:a2:13:37:5a:99 txqueuelen 1000 (Ethernet) RX packets 40966 bytes 2617411 (2.4 MiB) RX errors 0 dropped 752 overruns 0 frame 0 TX packets 21190 bytes 2400278 (2.2 MiB) TX errors 0 dropped 2 overruns 0 carrier 0 collisions 0 ### WLAN ###
I can’t easily move the Pi closer to a router to connect by a LAN cable as it is installed in a fixed location.
Are there any other ways I can try to configure WiFi via the automatic AP that’s created, or by SSH/editing of config files directly on the SD card?
Thanks.
26. September 2018 at 10:54 #38055Hi bjones,
If your router supports it, you can try connecting via WPS. Here’s our HowTo on it.
26. September 2018 at 18:11 #38090Hey Heiner,
Thanks for getting back to me. Unfortunately my router does not have WPS Support, for security reasons it has been removed from the firmware I am using.
Ben
27. September 2018 at 11:35 #38112Hi ben,
Are you accessing the webinterface through the AP after setting up your router’s login as well?
Please try removing the ticks for automatic AP and WPS before rebooting on your saved login credentials.
27. September 2018 at 13:40 #38139Hi Heiner,
I connect to the automatic AP, access the web interface and add my WiFi network settings, then click save all settings, but they don’t appear to save successfully, as the automatic AP mode reactivates after a few minutes. Should I try removing the automatic AP and WPS checkbox at the same time as saving my WiFi settings?
Thanks,
Ben27. September 2018 at 16:42 #38179Hi ben,
First save the credentials, then remove the ticks and save again, then reboot.
-
You must be logged in to reply to this topic.