Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Anil Jain

    Anil Jain

    @CrazyBoy Jun 26, 2009

    Here is the procedure:

    1. Download hid_solaris2 binary from Index of /change_hostid
    If you want to compile the code yourself you can download it from #-Link-Snipped-#

    2. Save the original hostid to somewhere. (just for safety)
    # hostid >/etc/hostid_orig

    3. set permission of hid_solaris2 as 755
    # chmod 755 /var/hid_solaris2
    (I assume that hid_solaris2 is under /var/ directory)

    4.To set new hostid (i.e 84abe39d) issue the following command
    # /var/hid_solaris2 84abe39d |sh
    physmem 2e694
    hw_serial: 0x32323130 = 0x32323235
    hw_serial+4: 0x39313931 = 0x38353734
    hw_serial+8: 0x36390000 = 0x33370000

    5. new hostid will be active until next reboot. To enable it again at startup add this command to solaris startup scripts.

    Please do let me know if this helps you...

    -CB

  • Ashraf HZ

    Ashraf HZ

    @Ash Jun 26, 2009

    whoa CB, you've worked with sun servers before? Those are nifty stuff!

    I'm guessing most network hardware config consoles are somewhat linux based. Not sure about Juniper's ones though.

  • Anil Jain

    Anil Jain

    @CrazyBoy Jun 26, 2009

    I had worked on Sun server; though I am not an expert of them. I guess Biggi is an Sun Expert....

    Yup, you are correct mostly network hardware config consoles are Linux based, however, Juniper has a Windows based configuration; i have seen that somewhere.

    -CB