tiny but hard network trouble (help will be great)
807559Jan 13 2002 — edited Jan 14 2002Hello, I'm new to solaris.
I've re-installed Solaris8 on a 'good old' SPARC 20 Client (developer mode with some add changes). The sparc has two networkadapter installed (100MBit) and I like to config a (simple) IP-connection without DHCP to an other computer.
My problem is:
Whenever I reboot the comp, the networkadapter settings are lost (setted back to hme0 127.0.0.1) but I've edit the '/etc/hostname.hme0' and entered 'SUNsparc' as hostname - eaqual to the '/etc/nodename'.
Tthe file has the name 'hostname', not the real name of the host, right?!? Or should it be i.e. 'sunsparc.hme0' cause the the hostname is 'sunsparc' ?! - its a bit confusing.
So, if I setup manual
'ifconfig hme0 plumb' and i.e.
'ifconfig hme0 addif 192.168.0.40/24 up'
it works well and can connect to other computers such as 192.168.0.10
I also tryed to change the text in the hostname.hme0 into the ipadress of the interface without changes.
The file '/etc/hosts' | '/etc/inet/hosts' contains the following entrys:
127.0.0.1 localhost loghost SUNsparc
192.168.0.40 SUNsparc
192.168.0.10 pchost # where I like to connect throu
So, I did'nt changed more files on this fresh installation - what is my mistake or why did it not run?
It will be great if someone can help me!
Cheers
Gunnar