When using PrusaLink, you connect to your printer via its IP address, which is assigned to it by the DHCP server on your network. Sometimes, if your printer disconnects and reconnects, it may receive a different IP address from the DHCP server. This can cause connection issues if you're trying to access the printer using its previous IP address, which is no longer valid.
Set your router's DHCP to consistently assign the same IP address to a device based on its MAC address.
The MAC address is available in the menu System > Network. Note that it differs for the Ethernet or the Wi-Fi.
This alone should be enough to prevent the IP address from changing over time.
In some specific network setups, you might want to set up your printer to use a static IP address instead of requesting to be given the IP Address from the DHCP server.
To set a static IP address on the printer, you can enter the IP address, network mask, gateway, and specify the DNS server in the prusa_printer_settings.ini configuration file:
[eth::ipv4]
type=static
addr=192.168.0.42
mask=255.255.255.0
gw=192.168.0.1
[network]
dns4=1.1.1.1;8.8.8.8
Copy this file to a USB drive and upload it to the printer via the menu Settings > System > Load Settings from File. This will load all the settings from the .ini file. (Note, this is a different menu than "load settings" for Wi-Fi settings, which only uploads Wi-Fi data.) Afterward, restart the printer.
Be careful, you need to reserve the given IP address in the router's settings for the printer to avoid potential IP address conflicts.
For setting a static IP address for Wi-Fi instead of the Ethernet, the process is exactly the same, but instead of [eth::ipv4] use [wifi::ipv4].
Alternatively, you can use a hostname (mDNS) to access PrusaLink instead of using the IP address. A custom hostname can be set up either through the printer’s menu Settings > Network > PrusaLink > Hostname or by adding it to the prusa_printer_settings.ini file:
[network]
hostname=dragan1
After editing and saving the file, load it using the menu Settings > System > Load Settings from File
Once configured, insert the hostname followed by .local into your browser (e.g., http://dragan1.local) instead of the IP address, and then log in. This eliminates the need to remember or manage IP addresses.
Si tienes alguna pregunta sobre algo que no se ha tratado aquí, comprueba nuestros recursos adicionales.
Y si eso no lo soluciona, puedes enviar una petición a [email protected] o mediante el botón que hay más abajo.