Notifiche
Cancella tutti

Change WiFi  

  RSS
SuperFunk_Chicken
(@superfunk_chicken)
Utenti
Change WiFi

ok so this may be a silly thing to ask but how do I change the wifi on my purse connect installation? I've moved house and now have different wifi. Do I have to start again or can I change a file on the sd card?

Postato : 31/07/2022 8:52 am
Tojik
(@tojik)
Utenti Moderator
RE: Change WiFi

Hi,  sorry we do not have any easier wifi setup interface at the moment, you'll have to use the usual raspberry pi ones. This is just a short summary of steps to do, if you want more detail just google raspi wifi setup, or ask if you get stuck.

Put a new wpa_supplicant.conf file onto the portion of the SD card visible under windows/mac. The file should look something like this

country=US
update_config=1

network={
ssid="HOME1"
psk="HOME1_PASS"
}

Then put the SD back and turn on the pi, it should connect to your new wifi.
Thanks for trying out PrusaLink and sorry for the late reply.

Postato : 02/08/2022 2:07 pm
1 persone hanno apprezzato
Derailed3D
(@derailed3d)
New Member
RE: Change WiFi

Hi! I tried this and it didn't work

Postato : 14/01/2023 7:24 pm
1 persone hanno apprezzato
Odin
 Odin
(@odin)
Utenti
RE:

I tried too and failed.

From MacOS terminal I cd'd to the filesystem for the prusalink.
vi wpa_supplicant.conf
paste text from answer
same the text file and eject the micrsd
install in prusalink and reboot everything.  ---> NO IP

Questo post è stato modificato 3 years fa 2 tempo da Odin
Postato : 24/01/2023 2:07 am
Tojik
(@tojik)
Utenti Moderator
RE: Change WiFi

Your post does not mention changing any details in the file, but I assume you did.

Anyway, there is another problem, if you did not set your wifi up when flashing, it could be blocked by default. I've also seen this trick refuse to replace an existing file. The most reliable way would be to flash again through the rpi imager and set the wifi up there.

Postato : 24/01/2023 7:43 am
Odin
 Odin
(@odin)
Utenti
RE: Change WiFi

Thank you Tojik. I'll give that a try

 

Postato : 24/01/2023 6:17 pm
Insane_Man
(@insane_man)
New Member
RE: Change WiFi

Can we have an example to setup multiple predefined WIFI SSID's? 

Example: I take my printer home when on vacation, however I keep it mostly at work, I'd like to setup 3 SSID's preconfigured and Prusalink should connect first one available.

Postato : 23/04/2023 10:15 am
Tojik
(@tojik)
Utenti Moderator
RE: Change WiFi

Hi, what printer are you using. There is a way to do this on the raspberry Pi but I am not aware of the MK4 having that functionality.

The way to do it on a raspberry pi involves putting multiple entries into a wpa_supplicant.conf file and putting that file either in /etc/wpa_supplicant/ or on the sd partition that shows up, when you mount the SD card in windows. It should get copied over on the next boot.

Postato : 24/04/2023 9:49 am
Pavlíček
(@pavlicek)
New Member
RE:

https://www.raspberrypi-spy.co.uk/2017/04/manually-setting-up-pi-wifi-using-wpa_supplicant-conf/

 

Following these instructions helped me change my Wi-Fi network Using Notepad++ and setting the formatting in step 2 of the tutorial is probably what led to the success.

Questo post è stato modificato 2 years fa da Pavlíček

MK3S

Postato : 02/10/2023 5:36 pm
Mani
 Mani
(@mani)
Utenti
RE:

I know this thread is already a bit old, but I came across it today and found that the method described here above no longer works on current PrusaLink images. They are now based on Raspberry Pi OS with NetworkManager, so WiFi is no longer controlled by a plain wpa_supplicant.conf file on the SD card. I had to change the WiFi directly on the running system via SSH and nmcli, so here’s what worked for me.

Important: The approach below only works if the Raspberry Pi can still connect to your old WiFi, or if you can temporarily recreate that old network (for example with a phone hotspot using the same SSID and password). You need that working connection to reach the Pi via SSH and then change the WiFi settings.

  1. First, make sure SSH is enabled and that you can log in to the Pi:
    This Prusa guide explains it (basically just creating an empty 'ssh' file on the SD card, without any file extension): https://help.prusa3d.com/de/article/how-to-connect-to-rpi-via-ssh_658030

    Afterwards you can log in with:

    ssh jo@

    and password raspberry (unless you've previously changed it)

  2. Check that wlan0 is managed by NetworkManager and see the existing connections:
    nmcli dev status
    nmcli connection show
  3. Add a new WLAN connection:
    sudo nmcli connection add type wifi ifname wlan0 con-name prusa-new ssid 'YOUR_SSID'
    sudo nmcli connection modify prusa-new wifi-sec.key-mgmt wpa-psk
    sudo nmcli connection modify prusa-new wifi-sec.psk 'YOUR_PASSWORD'
    sudo nmcli connection modify prusa-new connection.autoconnect yes
    sudo nmcli connection modify prusa-new connection.autoconnect-priority 10
  4. Optional: lower the priority of the old profile so the Pi prefers the new network:
    sudo nmcli connection modify preconfigured connection.autoconnect-priority 0
  5. Reboot the Pi:
    sudo reboot

After that, PrusaLink came up in my new WiFi network and was reachable via the new IP address.

Questo post è stato modificato 2 weeks fa 5 tempo da Mani
Postato : 27/11/2025 1:37 pm
Condividi: