Benachrichtigungen
Alles löschen

Static IP Address  

Seite 2 / 2
  RSS
Wilko_SLO
(@wilko_slo)
Active Member
RE: Static IP Address

I created file and have it on USB in the MK4. How to insert settings into the printer?

(For Wifi credentials I used settings/network/wifi/Load credentials and it inserted data successsfully).

Posted by: @merryprinter

I'm confirming that static IP setting works from the printer level. Just create notepad file named "prusa_printer_settings.ini" and paste code below ith your setting. The same for WiFi but put "wifi" instead of "eth" in the beggining of the code.

[eth::ipv4]
# Type could be DHCP, STATIC or OFF.
# DHCP - use DPCH server for automatic configuration
# STATIC - use IP address and MASK from configuration
# OFF - IP4 on LAN port is disabled.
type=static
# IP4 address is ignored when DHCP type is set.
addr=192.168.0.42
# IP4 mask is ignored when DHCP type is set.
mask=255.255.255.0
# Default gateway. If variable is not empty, this value is set, even if
# DHCP type is set.
gw=192.168.0.1

 

Veröffentlicht : 05/11/2023 5:41 pm
SolitaireMakes
(@solitairemakes)
Mitglied
RE:

@wilko_slo, as posted by @steve-31 in the earlier post https://forum.prusa3d.com/forum/postid/671694/, you have to navigate to Settings>System>Load Settings

Diese r Beitrag wurde geändert Vor 10 months von SolitaireMakes
Veröffentlicht : 15/11/2023 2:18 am
gls
 gls
(@gls)
Eminent Member
RE:

I have been following the suggestion of modifying the ini file. The printer connects to the Wi-Fi, however the static ip does not work and the final ip is different of the one I set. Did anyone understand the issue? Bug? I am on the latest FW (5.1.2) by the way 

Diese r Beitrag wurde geändert Vor 9 months von gls
Veröffentlicht : 28/12/2023 6:30 am
Crab
 Crab
(@crab)
Reputable Member
RE:

any chance you used ETH:: instead of WIFI:: in the file?

Otherwise, it would appear the printer is not processing your INI file.. look for a typo in the file somewhere preventing processing. Maybe post your file and something will be obvious.

Veröffentlicht : 28/12/2023 4:06 pm
gls
 gls
(@gls)
Eminent Member
RE: Static IP Address

Below is my config

[wifi]
ssid=myssid
psk=mypsk

[eth::ipv4]
type=static
addr=192.168.86.155
mask=255.255.255.0
gw=192.168.86.1
Veröffentlicht : 28/12/2023 4:57 pm
merryprinter
(@merryprinter)
Mitglied
RE: Static IP Address

You do not change eth to wifi (like i wrote in my post) try this:

[wifi]
ssid=myssid
psk=mypsk

[wifi::ipv4]

type=static
addr=192.168.86.155
mask=255.255.255.0
gw=192.168.86.1
Veröffentlicht : 28/12/2023 5:09 pm
Wilko_SLO
(@wilko_slo)
Active Member
RE: Static IP Address

Try this, it worked for me:

The settings you should send to MK4 via menu Settings>System>Load Settings:

[eth::ipv4]
type=static
addr=YourReservedIpAddress
mask=YourMask
gw=YourGateway
[wifi]
ssid=YourWifiName
psk=SuperSecretWifiPassword
[wifi::ipv4]
type=static
addr=YourReservedIpAddress
mask=YourMask
gw=YourGateway
Veröffentlicht : 30/12/2023 4:47 pm
gls
 gls
(@gls)
Eminent Member
RE: Static IP Address

Yeah!!!! Now it works, the problem was not the configuration file itself but how I was loading it. I was going to Settings>Network>Wifi>Load Credentials to load the wifi paramters, my fault!

Thanks a lot, all fixed!!!

Veröffentlicht : 30/12/2023 5:14 pm
JPW HD gefällt das
JPW HD
(@jpw-hd)
Mitglied
RE: Static IP Address

Exactly the same issue here!

Glad I paid attention to the details of the which menu load settings to use!

(Was ready to send a proper upset letter to IT).

 

Veröffentlicht : 06/02/2024 2:16 pm
Seite 2 / 2
Teilen: