The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Change hostname in Solaris 9 shabu SUN Solaris 6 06-02-2007 12:41 PM
Change IP and Hostname catwomen HP-UX 3 12-12-2005 06:14 PM
Change of Hostname gelbvonn UNIX for Advanced & Expert Users 4 09-20-2004 07:12 PM
change hostname fishman2001 UNIX for Dummies Questions & Answers 9 10-21-2002 06:07 AM
How to change hostname and ip in solaris PennyLi IP Networking 2 06-04-2002 12:10 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-29-2007
Registered User
 

Join Date: Mar 2007
Posts: 22
Question Solaris - unknown hostname - how can I change hostname?

Hello,
I am new to Solaris.

I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same time.

The hostname of my Solaris is known as "unknown". How can I give/change the hostname of my Solaris? I don't want give an alias or host record. I want to give a constant computer name.

Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-29-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
As root:
Code:
echo my_host > /etc/nodename
init 6
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0