Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris 8: Network I/F remains down after a restart 2

Status
Not open for further replies.

605

Instructor
May 18, 2003
3,283
DE
I discovered that in Solaris 8 the network interface remains down by default - you have to start it manually. This must be configurable somehow. Unfortunately i did not find a file name in the /etc directory which's name points to a network interface.

Can somebody help, please?
 
did you create a /etc/hostname.interfacenameandnumber
eg /etc/hostname.hme0 containing ether the name of the interface (-> ipaddress is in /etc/hosts) or IP Address

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Each time I have installed Solaris 8 I have always answered y to the question Is this machine networked (y/n): which then further prompts for Interface, Hostname, IP Address, subnet mask, etc. So I guess if you answer n, then no NIC is configured.
By editing the following files (or running sys-unconfig - see man pages before you do) you can achieve the same result.
vi /etc/hosts (enter IP Address & host name
vi /etc/hostname.xxn (where xxn is ce0 or hme0 or whatever, enter host name
vi /etc/netmasks (enter network-number & netmask

cat /etc/nodename (check it contains host name

I hope that helps you (and that I haven't forgotten a file).

Mike
 
Do a sys-unconfig... During reboot, the OS will run the initial sysid program where you set up node name and network information. You can do this process manually but the sys-unconfig is much easier. You will need to know your IP Address, if in a sub-net you will need subnet mask. If you are running a naming service (NIS NIS+ LDAP) you will need domain name and server name. Also you will need to know the default router IP Address (Solaris 9 and above).
 
Thanks for your replys, guys.

In general, i know all your hints.
Yes, all files are there as expected. I usually use ifconfig to specify my network settings and in general, it works fine. The configuration will NOT be lost at all.

It is just that after a reboot, hme0 will not be set to UP automatically again. This is strange as i do not remember having seen this behavior in Solaris 2.6 at all.

I will try to cure the behavior with sysconfig later.
 
Just to give you an update - although i still don't understand the problem at least sys-unconfig (and of course the new configuration) did the job.
 
It means at least one of the configuration files had wrong information inside.

The sys-unconfig will clear all of them, and let you re-create them step-by-step through the setup procedures.


Cheers,


Achech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top