Thank you for the reply. I managed to change it with the rename printer method. The IT department was very helpfull and let me connect to the network although the hostname didn't look exactly like the wanted it to.
Guest maht
Good to hear you found a solution.
If there's a specific way you need to format hostnames but were limited somehow, please let us know. There's a chance we can integrate this kind of feedback into future firmware updates.
@slnielsen Me too would like to hear what problems your IT-department has with our restrictions on the allowed hostname format. We implemented it according the RFC952 standard, but there might be interpretation differences that I'd like to hear about.
- 2 months later...
We also recently got an S5 Pro Bundle and are also having issues with connecting our Ultimaker to our network.
I am also at a large company with an established network and security protocols. Due to this, our hostnames have a length limitation of 18 characters. We also need static IPs, but that seems to be configurable via connman.
Renaming the printer did not change the hostname, just the printer name.
I tried changing the hostname via the Developer mode (/etc/hostname and hosts, etc.) and seems to partially go through, but it causes errors, still appears as the old hostname on the touchscreen, then reverts back to the "ultimakersystem-<MAC>" format at power cycle.
Do you have any suggestions on how to permanently change the hostname?
Thanks
IT-departments never cease to surprise me...
With a correct DHCP configuration you don't need static ip-addresses. Your DHCP server can be configured to always assign the same ip-address based on a once configured MAC address.
Then, for the host name, DHCP has an option to change the hostname as well.
So, with a well equipped IT-department they could handle it all themselves instead of you having to do crazy things (and we as well).
Note that RFC-1035 says the length is limited to 63 characters. So why your IT-department comes with an 18-character limit is surprising.
As a side effect of renaming: Cura won't be able to detect the printer anymore automatically, you will have to enter the ip-address instead.
Changing the host name:
- Ensure printer is in developer mode
- Log in to the printer with SSH
- type: vi /etc/rc.local
- in line 4 you see a line starting with 'hostnamectl .... '
Mark this line as a comment by inserting a '#' as the first character
- insert a new line 5: hostname my-fabulous-new-name
- Save the file
- reboot the printer with 'reboot' command
- Log in again and
- Check by giving the 'hostname' command without parameters.
This change will have to be applied after every firmware update.
- 2
- 3 years later...
After changing the hostname by editing `/etc/hostname` and then `/etc/rc.local` so my change wasn't overwritten the printer would not fully initialize it's UI after rebooting.
I was still able to ssh and remove my changes.
Is there another way to change the hostname of my printer?
Edited by ianzur
Recommended Posts
Guest maht
In a browser go to "<printerIP>/printer", click the three dot context menu, and select 'rename printer'.
Alternatively you can SSH into the printer and do it that way, it runs on Debian. The printer must be in development mode to do this.
Log in as root, default pw is 'ultimaker'
Needless to say, you do so at your own risk!
Link to post
Share on other sites