Welcome to the most active Linux Forum on the web.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This 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.


  Search this Thread
Old 04-30-2007, 06:41 PM   #1
Some Guy
LQ Newbie
Registered: Apr 2007
Posts: 8

Rep: Reputation: 0
During Solaris instal no option to set hostname if network is checked?

Hello all,
I noticed that when you install Solaris if you check that the computer will be on a network you don't get the option to give hostname, however if you say the computer will not be networked it offers the option.

Maybe it is because I have been a windows user but that doesn't seem to make sense. I am trying to figure out if that is a glitch and if not how can I change the hostname.

Please note, I am new to Solaris and I need fairly broken down explanations and/or where to go for explanations that the average monkey can understand. I'm not mentally impaired just unexposed.

Thanks for your time.

Last edited by Some Guy; 04-30-2007 at 06:44 PM.
Old 04-30-2007, 06:45 PM   #2
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
I believe that you can set the hostname by creating a file called /etc/nodename and just putting the hostname in it.
Old 05-01-2007, 12:36 AM   #3
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,783

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Originally Posted by Some Guy
Hello all,
I noticed that when you install Solaris if you check that the computer will be on a network you don't get the option to give hostname
Actually, if you tell the installer the computer will get its IP adresse from a DHCP server, then it assumes the DHCP server will also provide a hostname to your host. If your DHCP server isn't properly configured to do that, then your computer will have "unknown" as its hostname. If your computer has a hostname set with the nodename file but gets its IP from DHCP; it will loose its hostname and end up with "unkown" too if the DHCP doesn't provide a name. You need to disable the hostname request by editing the /etc/default/dhcpagent file.

If you go the fixed IP way, you'll be prompted for a hostname at installation time.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
script to change IP and hostname under Solaris 10 xpucto Solaris / OpenSolaris 9 06-08-2006 05:37 AM
Which logs/commands should be checked to monitor network security & access ginda Linux - Security 1 12-17-2005 01:43 AM
sendmail on solaris with no hostname & ipfw (or other firewall) tutorials Maidros Solaris / OpenSolaris 1 07-10-2005 01:34 PM
Solaris and restart option zillah Solaris / OpenSolaris 9 04-28-2005 02:02 PM
new instal suse 9.1 set up internet ducksoup Linux - Newbie 3 07-18-2004 10:52 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration