The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 03:41 PM
Change IP and Hostname catwomen HP-UX 3 12-12-2005 10:14 PM
Change of Hostname gelbvonn UNIX for Advanced & Expert Users 4 09-20-2004 10:12 PM
change hostname fishman2001 UNIX for Dummies Questions & Answers 9 10-21-2002 09:07 AM
How to change hostname and ip in solaris PennyLi IP Networking 2 06-04-2002 03:10 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-29-2007
XNOR XNOR is offline
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
  #2 (permalink)  
Old 03-29-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,190
As root:
Code:
echo my_host > /etc/nodename
init 6
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0