Jump to content

Recommended Posts

Posted · Change the Hostname of the S5

Hello

 

We recently bought a S5 and I would like to connect it to the company network.

For me to do that, I need to change the hostname of the printer, to a name fitting in our system.

We are a big company with very strict rules of out IT systems.

 

Is there any way to that?

 

Best regards

Søren

  • Link to post
    Share on other sites

    Posted · Change the Hostname of the S5
    3 hours ago, slnielsen said:

    Hello

     

    We recently bought a S5 and I would like to connect it to the company network.

    For me to do that, I need to change the hostname of the printer, to a name fitting in our system.

    We are a big company with very strict rules of out IT systems.

     

    Is there any way to that?

     

    Best regards

    Søren

     

    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

    Posted · Change the Hostname of the S5

    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.

  • Link to post
    Share on other sites

    Posted · Change the Hostname of the S5

    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.

  • Link to post
    Share on other sites

    Posted · Change the Hostname of the S5

    @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.

  • Link to post
    Share on other sites

    Posted · Change the Hostname of the S5

    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

  • Link to post
    Share on other sites

    Posted · Change the Hostname of the S5

    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.

    • Like 2
    Link to post
    Share on other sites

    Posted (edited) · Change the Hostname of the S5

    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
  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...