RE:
We have set a hostname (for example "myprusa") in prusa_printer_settings.ini remotely via Prusa Connect. Restarted the printer and the LAN network router. But mDNS access on the LAN with myprusa.local still does not work. Using mDNS nicknames has previously worked on this LAN when we used OctoPrint.
Those of you who say that "this" works, can you explain more the steps you took to get it to work? Is it truly mDNS or does it also require certain manual settings changes in the router?
I should add that this is for a MK3.9 printer, if that makes a difference.
RE: Setting local hostname for PrusaLink?
Technically yes. A sysadmin will be able to do that.
As such a sysadmin (~1000 retail stores, 6 warehouses, 40.000 employees), my answer would also be "no".
(even when using an enterprise grade, integrated DNS/DHCP/IPAM platform)
Not so much because I don't want to help - mostly because it is a step in a direction that I want to avoid: It adds complexity and will most often quickly become outdated and unused.
So, If you want to access a networked device through a name, the device must register the name automatically - either by providing a hostname in DHCP for automatic registration in DNS - or through the use of mDNS.
Unfortunately, PrusaLink seems not to do any of those things (I came here looking for just that same information).
-It seems that I will need to do what I usually try to avoid both at work and here at home: Add a static DHCP lease and make a static DNS entry for my MK4.
RE: Setting local hostname for PrusaLink?
Unfortunately, PrusaLink seems not to do any of those things (I came here looking for just that same information).
Seems so, then yet again some of the earlier posts in this thread seem to says they got mDNS working. I wish someone from Prusa could give a clear answer - and step by step instruction if mDNS is supported.
RE: Setting local hostname for PrusaLink?
It looks like this was silently fixed in recent 6.0.x firmware. I also found this feature request https://github.com/prusa3d/Prusa-Firmware-Buddy/issues/3809
Bottom line is: it now works. You'd need a new 6.0.x firmware. Once updated, you'd need to download prusa_printer_settings.ini file, and edit it to set hostname in the network section, then re-setup WiFi. They haven't updated user documentation to mention setting up and/or using the hostname.
RE:
I can confirm it works with Prusa MINI with 6.0.4 firmware.
Instructions
- Insert FAT32 formatted USB stick into your printer.
- Go to Settings/Network/Wi-Fi in your printer and select "Create credentials".
- It asks you to write to USB stick and to unplug it and edit the config file written to the stick on your computer.
- Adjust the Wifi settings to your needs and add to the file additionally:
-
[network] hostname=
-
- Save the file, remove the stick from your computer gracefully.
- Plug Stick into the printer.
- Go to Settings/Network/Wi-Fi in your printer again and select "Load credentials".
- It asks you if you're sure, approve and wait.
- It loads the settings, Wi-Fi automatically connects and creates a hostname via mDNS.
Proud owner of a Prusa Mini! =)
RE: Setting local hostname for PrusaLink?
Also got this working on a mk4 today with newest firmware 6.0.4. Thanks for the information on this 👍
RE:
Firmware version 6.1.2 just released and you can set the hostname via the control panel now! 🤩
https://github.com/prusa3d/Prusa-Firmware-Buddy/releases/tag/v6.1.2
Proud owner of a Prusa Mini! =)