CS
  • English
  • Deutsch
  • Polski
  • Français
Přihlásit

How to set a Static IP Address

Relevantní pro:
Poslední aktualizace 12 days ago
Tento článek je také dostupný v následujících jazycích: 
ENPLDEFR
This article is intended for experienced users only!

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.

How to solve it?

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.

Furthermore, you can 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].

Byl tento článek užitečný?

Komentáře

Stále nemáte jasno?

Stále nemáte jasno?

Pokud nemůžete najít odpověď na vaši otázku, projděte si naše další materiály na webu.
A pokud nenajdete odpověď, pošlete nám zprávu na [email protected] nebo přes tlačítko níže.

Kontaktujte nás