Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You should be able to modify /etc/nodename, /etc/hosts, and the necessary /etc/hostname.XXX files. Or you could take the long route and do the sys-unconfig. If you go the sys-unconfig route, I suggest that you read the man page first. It sometimes surprises people.
What you are getting is most likely your MAC address, assigned to you as your hostname due to using DHCP. This can be remedied by modifiying the contents of one of the /etc/default files. I am currently away from my sun box, so I can not get the exact steps. But I believe there should be a file in that directory (/etc/default) that begins with "dhcp". On the last line *I think* there is some options that determine which network settings are configured by dhcp. The comments above it *again I think* describe what the options are and what they do. One of these is set by default to get the hostname from the dhcp server. The dhcp server is most likely configured to use the MAC address as the host name.
Sorry I can't be more specific, I haven't messed with this in about a year.
also try setting your hostname using the hostname command... i believe this hostname change only lasts until you reboot once again, but it might be worth seeing if this is possible, nevertheless.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.