Notifications
Clear all

Static IP Address  

Page 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

 

Posted : 05/11/2023 5:41 pm
SolitaireMakes
(@solitairemakes)
Member
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

This post was modified 12 months ago by SolitaireMakes
Posted : 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 

This post was modified 11 months ago by gls
Posted : 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.

Posted : 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
Posted : 28/12/2023 4:57 pm
merryprinter
(@merryprinter)
Member
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
Posted : 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
Posted : 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!!!

Posted : 30/12/2023 5:14 pm
JPW HD liked
JPW HD
(@jpw-hd)
Member
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).

 

Posted : 06/02/2024 2:16 pm
Page 2 / 2
Share: