Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.