![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change HostName | nalina | UNIX for Dummies Questions & Answers | 9 | 03-25-2008 03:41 AM |
| Solaris - unknown hostname - how can I change hostname? | XNOR | UNIX for Dummies Questions & Answers | 1 | 03-29-2007 07:52 PM |
| change hostname | fishman2001 | UNIX for Dummies Questions & Answers | 2 | 01-12-2006 06:39 AM |
| Change IP and Hostname | catwomen | HP-UX | 3 | 12-12-2005 07:14 PM |
| Change of Hostname | gelbvonn | UNIX for Advanced & Expert Users | 4 | 09-20-2004 07:12 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi, ( running solaris 8 )
I know how to change the hostname temparily, by login in as root typing hostname = xxxxx but, this obviously goes when the system is rebooted. I'm not sure what files need changing to make this a permant change. Could anyone help me please? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I think
Check the /etc/hosts table, i think you need to change the hostname here also.
After you did this, you can check the /etc directory for more hits on your old hostname: cd /etc grep <old hostname> * if you find some, you had to change then too |
|
#3
|
|||
|
|||
|
You need to change /etc/hostname.interface (.ge, .hme0,.le0) and /etc/nodename. Then reboot the machine. You can make the necessary changes in your /etc/hosts file to the new hostname.
|
|
#4
|
|||
|
|||
|
You can use the command : /usr/sbin/sys-unconfig
The command will be change all necessary files. For more information, see man pages. I hope help you ! Witt |
|
#5
|
||||
|
||||
|
Just in summary
Files to change ..
hosts hostname.<nterface> nodename /etc/net/ticots/hosts /etc/net/ticlts/hosts /etc/net/ticotsord/hosts
__________________
I haven't lost my mind.... Its backed up on tape somewhere |
|
#6
|
|||
|
|||
|
I forgot to mention, that I'm using DHCP, and my sun gets assigned the name "unknown"
I tried some of the advice, but I'm still struggling. when it boots up it still comes up with the name unknown. any more ideas. |
|
#7
|
||||
|
||||
|
You might need to change something on the DHCP server, or even possibly on a DNS server (I'm not sure if Solaris gets it's hostname from reverse-DNS after getting an address via DHCP).
You should check with your network administrator. |
||||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|