changing ip and hostname on solaris


 
Thread Tools Search this Thread
Operating Systems Solaris changing ip and hostname on solaris
# 8  
Old 06-11-2007
sys-unconfig, does a whole lot more that change the hostname. For example clobbering the root ssh keys, renaming the original vfstab, and dfstab. Depending on what you are doing the may be the correct approach, but not by any means in every case.
# 9  
Old 02-17-2008
How to manually assign IP in solaris 10 ( Intel )

Hi,
Can any one let me know that how can i manually assign a IP on the Intel platform running solaris 10 coz ,

when I fire the following command

ifconfig hme0 plumb
then i get ifconfig : hme0 : plumb ; no such file or directory

also I have tried to assign a IP in the Host file ( /etc/inet/host)
or /etc/hosts file and rebooted the system system but it didn't work out
I have also created a file name /etc/hostname.hme0 and manually added a hostname entry in it but that too failed

Also I have fire the following command

ifconfig hme0 inet 192.168.0.1 netmask 255.255.255.0 broadcast + up

but that too fail with the same error hme0 no such file or directory
In the /etc I have only hosts file but , according to solaris it says that it creates a /etc/hostname.INTERFACE file say /etc/hostname.hme0 but there is no such file in /etc/dir.


I think Intel platform does not support this and for this we need a SPARC system if we want to assign a manual IP to the system Please do let me know.................. Smilie
# 10  
Old 02-17-2008
post the output of "dladm show-dev" to see which interfaces you have...
# 11  
Old 02-23-2008
if you want to change IP and hostname without dealing with config files, you may use sysunconfig command. But it will require you to register again.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris Hostname

Hi, I am installing Solaris 11.3 as a local system using no remote connections. The installer asks for a computer name or would be used as the hostname. Can I select any name ? Like solaris 11 or localhost ? I noticed this is added into the /etc.hosts file later. ie example. localhost ... (2 Replies)
Discussion started by: dylan69
2 Replies

2. UNIX for Dummies Questions & Answers

Solaris - How to get IP Address from a hostname?

We are using Solaris as our database OS. Can you please help me to know how can i get the IP address of a solaris machine in my network from its hostname? e.g. We have a remote database server with the hostname as xyz. Without connecting to the database OS, can i get the IP address of xyz OS from... (1 Reply)
Discussion started by: Anmol Sharma
1 Replies

3. Solaris

SVM - Metadevices are offline after changing hostname solaris x86

Hi , We are facing an issue on one of our solaris x86 server, After changing the hostname and a orderly reboot , all metadevices shows offline. please let us know the steps to restore back all metadevices to working state with this new hostname (3 Replies)
Discussion started by: karthick.sh
3 Replies

4. Solaris

changing hostname on Solaris 8 ?

hi, does anyone had experience changing hostname on Solaris 8 ? any idea how is it done ? (4 Replies)
Discussion started by: Exposure
4 Replies

5. Solaris

hostname on Solaris

Hi All, I am wondering how does the hostname command decides what is the actual hostname. Where does the command take the information from? (7 Replies)
Discussion started by: lmishkind
7 Replies

6. UNIX for Dummies Questions & Answers

Changing IP & hostname

I have to do this twice. First, A) change IP address, subnet & default gateway. then a few days later B) change IP address again (same subnet & gateway) & hostname. (why twice? To get the vlan stuff out of the way in advance) what is the best way to do A? can all be done through... (5 Replies)
Discussion started by: LisaS
5 Replies

7. UNIX for Dummies Questions & Answers

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... (1 Reply)
Discussion started by: XNOR
1 Replies

8. UNIX for Advanced & Expert Users

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 (3 Replies)
Discussion started by: vr76413
3 Replies

9. UNIX for Dummies Questions & Answers

Hostname lost when changing user

Hello to all, Does anyone have a clue for the following problem? When I enter into a terminal console window logged as axadmin user, what I find in the prompt is: “axadmin@sunhost$”. But, when I switch to root user, with the command “su -“ and enter the correct password, user root is... (4 Replies)
Discussion started by: Pablo_BR
4 Replies

10. UNIX for Dummies Questions & Answers

what happen when changing Hostname?

I 'm using RH 7.2 Genome in the Network Configuration I change therer are two places one for static hostname for my machine and in DNS hostname I don't know what happen when restarting my PC when connecting using dialer I can't browse the Internet also I can't use sendmail .......Server timeout... (2 Replies)
Discussion started by: atiato
2 Replies
Login or Register to Ask a Question