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 > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
the best way of editing .plist files mehow OS X (Apple) 1 01-21-2008 06:46 PM
Editing files sameersbn UNIX for Dummies Questions & Answers 2 01-19-2007 05:22 PM
Editing files in shell programing nir_s Shell Programming and Scripting 0 07-13-2005 05:53 AM
Editing one string in multiple files Skoshi UNIX for Dummies Questions & Answers 1 11-10-2001 02:13 AM
editing unix files on NT pixelmonkey UNIX for Dummies Questions & Answers 1 02-01-2001 12:44 PM

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 02-26-2008
bluridge bluridge is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 37
changing IP thru editing files

I attempted to change the IP of my Solaris 9 box by changing these files:

/etc/hosts
/etc/hostname.dmfe0

And when I rebooted my system, the changes did not come up through the reboots. I have searched high and low and this is how you change the IP address permanently. Can anyone tell me what I am doing wrong?

I never made changes to these files:
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts

Would like comments on why my system is not showing up with the new IP address?

Thanks.
  #2 (permalink)  
Old 02-26-2008
robsonde robsonde is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 162
put the hostname in the the hostname.interface file:
EG: /etc/hostname.bge0 or /etc/hostname.dmfe0

set the IP for the hostname in /etc/inet/hosts
so hosts file should look a bit like this
10.1.1.1 mybox mybox.mydomain.com

/etc/inet/hosts may be linked to /etc/host but then again it may not....
  #3 (permalink)  
Old 02-27-2008
girish.batra girish.batra is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 73
you have to give IP in /etc/inet/hosts. but as soon as you give the IP you have to press tab then hostname in this file (don't use space bar) .
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 02:54 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