LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-30-2007, 07: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 07:44 PM.
 
Old 04-30-2007, 07:45 PM   #2
dxqcanada
Member
 
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, 01:36 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,771

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Quote:
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.
 
  


Reply


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 06:37 AM
Which logs/commands should be checked to monitor network security & access ginda Linux - Security 1 12-17-2005 02:43 AM
sendmail on solaris with no hostname & ipfw (or other firewall) tutorials Maidros Solaris / OpenSolaris 1 07-10-2005 02:34 PM
Solaris and restart option zillah Solaris / OpenSolaris 9 04-28-2005 03:02 PM
new instal suse 9.1 set up internet ducksoup Linux - Newbie 3 07-18-2004 11:52 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:38 AM.

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