Prerequisites
Describe the bug
The MoodleBox does not connect to a wifi network.
Please look at https://discuss.moodlebox.net/d/451-connecting-the-moodlebox-to-a-wifi-network
I edit the file /etc/NetworkManager/system-connections/WifiSTA.nmconnection, indicating the SSID and password of your wireless access point, then reboot. The MoodleBox connects to the wifi router correctly. The MoodleBox gets an ip address and it can be seen in the router list of connected devices. The MoodleBox startpage and the learning platform are working fine. The system clock is synchronized with the internet time.
The problem is that I can't get any external url. I try to connect to my router with 2.4G and 5G ... no connection to the internet. And I try to use the smartphone hostspot of my iPhone ... no connection to the internet. I can ping the router and the iPhone but no external address. The wifi connection should work in the same way as the ethernet connection works.
To Reproduce
- Copy a fresh microSD card with MoodleBox-4.7.0.img.xz
- Start up the MoodleBox
- Connect to the MoodleBox wifi
- Open the browser with http://moodlebox.home ... it should work
- Open the terminal and connect with
[email protected]
- Edit the file
/etc/NetworkManager/system-connections/WifiSTA.nmconnection and put in your router ssid and password.
- Reboot the MoodleBox
- The MoodleBox will connect to your router automatically
- Reconnect to the MoodleBox wifi
- Open the browser with http://moodlebox.home ... it should work as before
- Enter an external url, e.g. https://moodlebox.net
- The browser cant find the page
Additional context
- Raspberry Pi 4B (4GB RAM)
- MoodleBox 4.7.0 (same problem with 4.6.0)
- MoodleBox plugin version 2.17.5
- No other changes expect setting the language for the moodlebox user
Attached files
I made files to get the different configurations: (1) with ethernet, (2) with wifi hotspot, (3) with no internet connection.
The command nmcli device show > nmcli-device-show-xxxxxx.txt helps to get the configuration into a text file.
nmcli-device-show-ethernet.txt
nmcli-device-show-hotspot.txt
nmcli-device-show-no-internet.txt
Prerequisites
Describe the bug
The MoodleBox does not connect to a wifi network.
Please look at https://discuss.moodlebox.net/d/451-connecting-the-moodlebox-to-a-wifi-network
I edit the file
/etc/NetworkManager/system-connections/WifiSTA.nmconnection, indicating the SSID and password of your wireless access point, then reboot. The MoodleBox connects to the wifi router correctly. The MoodleBox gets an ip address and it can be seen in the router list of connected devices. The MoodleBox startpage and the learning platform are working fine. The system clock is synchronized with the internet time.The problem is that I can't get any external url. I try to connect to my router with 2.4G and 5G ... no connection to the internet. And I try to use the smartphone hostspot of my iPhone ... no connection to the internet. I can ping the router and the iPhone but no external address. The wifi connection should work in the same way as the ethernet connection works.
To Reproduce
[email protected]/etc/NetworkManager/system-connections/WifiSTA.nmconnectionand put in your router ssid and password.Additional context
Attached files
I made files to get the different configurations: (1) with ethernet, (2) with wifi hotspot, (3) with no internet connection.
The command
nmcli device show > nmcli-device-show-xxxxxx.txthelps to get the configuration into a text file.nmcli-device-show-ethernet.txt
nmcli-device-show-hotspot.txt
nmcli-device-show-no-internet.txt