• Support
  • Changed SSID -> Wi-Fi not shown anymore

Hi all,

I changed my Wi-Fi Name accordingly to the instructions found here:

https://moodlebox.net/en/help/update-wifi-configuration/

Unfortunately I realised the country setting "Switzerland" and changed it into "Germany" without changing the Channel. I assume that is why I cannot connect to my MoodleBox anymore. However, I can still access my MoodleBox via SSH.

I would like to know if and where the Wi-Fi settings are written so that I can edit the proper file and either set Country to Switzerland or Channel to whatever channel works for Germany.

    QBert Unfortunately I realised the country setting "Switzerland" and changed it into "Germany" without changing the Channel. I assume that is why I cannot connect to my MoodleBox anymore.

    No, this is not related. Did you try to reboot the MoodleBox?

      This is not normal. Please share your MoodleBox image version and MoodleBox plugin version.

      MoodleBox version 4.5.1, 2022-12-30

      I recently downloaded the latest version

      Did you install it with Raspberry Pi Imager? This is now the recommended method.

      I did. I opened Imager and chose other-specific-purpose thing and then chose MoodleBox which was 4.5.1. Do you know in which file the settings are made? I would really like to give it a try and switch back to Switzerland. This is the only thing I changed before it stopped working.

      It's in /etc/hostapd/hostapd.conf.

      Weird. This file is empty. I opened it with sudo nano hostapd.conf
      Of course I first changed into proper directory and checked with ls whether there is such file

      It should be sudo nano /etc/hostapd/hostapd.conf.

      It this file is empty, something weird has occurred to your MoodleBox and you should restart from the beginning.

      Well ok, it indeed is empty.

      Let us know how it goes if you restart.

      I just did a verification test, downloaded a new image, and then changed the Country Code to Germany, and it worked fine for me.

      What is interesting to me is that you mentioned you changed the country code, but were able to ssh, which seems to mean to me, you might have been connected to the WiFi. Clearly, the empty hostapd.conf file is not right.

      Steve

      It didn't work. However, I set up a second SD Card and re-wrote the hostapd.conf. I then could see the SSID but could not establish a connection. It always failed. I then set up a complete new MoodleBox and did the same steps to rename the SSID. I then realised, that before I probably hadn't clicked "Change Wi-Fi Settings" but "Shutdown MoodleBox". Maybe this was what destroyed my MoodleBox.

      This time everything worked fine.

      I was not connected to the Wi-Fi of the MoodleBox, but I was in the same Wi-Fi as the MoodleBox. Both were connected to my Orbi Satellites. That's why SSH worked.

      Glad its working! As I'm tinkering with a few different MoodleBoxes, I often change the SSID myself. I also enable https first thing to make connections a little easier. One of my common problems, I end up thinking the MoodleBox Wifi password is the login password, and keep typing in the wrong WiFi password.

      I'm going to speculate, but guess my speculation is incorrect: If you were on a MAC in a terminal session, and had ssh'd to the MoodleBox, then done a shutdown from the web interface on the MoodleBox. Your terminal session might have then been on the mac, and it wouldn't have found that file. Anyway, I know I'm probably wrong, as you mentioned you'd changed the directory.

      Steve