New WIFI wont connect

What is the problem?

I have been using OctoPrint with a Pi4 for a few years using my WIFI and it has been great and reliable. I have upgraded my modem and have to change the WIFI on all my devices.
I followed some threads on how to change the WIFI on the OctoPi and found the section on changing the settings below in the "octopi-wpa-supplicant.txt" file using Notepad ++
I have not been successful in connecting to the new WIFI, but i was wondering why these files didn't have my original WIFI settings saved in them? Is there somewhere else that they would be stored?
image

What did you already try to solve it?

Using NOtepad ++ I changed "octopi-wpa-supplicant.txt"

WPA/WPA2 secured

network={
ssid="I put SSID here"
psk="I put password here"
}

and set the country to AU

Have you tried running in safe mode?

Yes, I can connect via a ethernet cable.

Did running in safe mode solve the problem?

No, it didn't help with the WIFI

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog... no bundle, no support, unless the reason you couldn't retrieve the bundle is your network issues

Its been a long time since I set up the OctoPi, I'm not sure where to find that.

Additional information about your setup

Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ... as much data as possible

Pi4 with OctoPrint used with a Prusa printer and camera.

Hello @Trav34 !

Have you tried to click this?

Thanks, I have but i cant see any WIFI details is any of those files

The blue text is a link. Clicking Systeminfo Bundle will give you instructions on how to create one. You then upload it here and anyone who wants to assist you will be able to view the information that you provided.

While we may ask for additional information to help with your WiFi issue, we will have other basic information that we won't need to ask you for.

Alternatively, we can argue about the merits of the bundle for a few more days.:grin:

I don't remember the exact sequence of how /boot/octopi-wpa-supplicant.txt gets processed but eventually, it "becomes" /etc/wpa_supplicant/wpa_supplicant.conf. That file can be edited with sudo nano and should have your current WiFi info which you can edit into your new WiFi info (and reboot).

You can also change your WiFi info with sudo raspi-config.

Try these and let us know if that helps.

octoprint-systeminfo-20241213222543.zip (19.1 KB)

Thanks for your help, the /boot/octopi-wpa-supplicant.txt did not have any Wifi info in it, i followed the instructions and entered my new Wifi detail into it but it still wont connect to the new Wifi. I used Notepad ++ to edit it. If i plug my old Wifi modem in it still connects to it.
I will start working out how to use sudo raspi-config now, is there a good link to instructions on it?

Fixed it. sudo raspi-config worked for me, took a while because I had to work out the username and reset the password on the pi first. Thanks again for your help

1 Like