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 Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing IP & hostname LisaS UNIX for Dummies Questions & Answers 5 02-29-2008 10:59 AM
changing ip and hostname on solaris murad.jaber SUN Solaris 10 02-23-2008 11:04 AM
Stop DHCP in Solaris 10 shabu SUN Solaris 2 05-29-2007 10:12 AM
How do I stop my DHCP ??? brettwalmsley IP Networking 1 09-20-2002 10:42 AM
what happen when changing Hostname? atiato UNIX for Dummies Questions & Answers 2 02-14-2002 08:20 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-10-2007
vr76413 vr76413 is offline
Registered User
  
 

Join Date: Jul 2003
Posts: 19
Red face How to stop DHCP from changing hostname

Hi,
greetings. I have installed OS 10 on sunfire 240. FOr now let dhcp to give IP address but it keeps chaning hostname. How do I stop this?

thanks
Jaya
  #2 (permalink)  
Old 01-10-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,229
To call your machine "myHostname"

Code:
echo myHostname > /etc/nodename
  #3 (permalink)  
Old 01-20-2007
prasadrao prasadrao is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 1
I think beside changing in /etc/nodename You also need to make entry of hostname in /etc/hostname.interfacename
where interface name stands for your primary interface name like hme0 or ce0
or the interface for which dhcp is assigning the hostname.

thanks
prasad
  #4 (permalink)  
Old 01-20-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,229
No, you don't.
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 12:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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