i have rftm, now i am puzzled. loosing config at reboot.

Solaris 10 with nforce 2, installed nfo-0_8_1.

This very post is written under my new Solaris 10 install.

My problem:

every time i reboot, i loose my configuration for nfo0.

my hostname: acasa

my static ip: 10.10.10.13

my netmask: 255.255.255.0

my gateway: 10.10.10.1

my dns: 10.10.10.1

(10.10.10.1 is my router)

in /etc/hosts i have:

10.10.10.13 acasa

in /etc/hostname.nfo0 i have

10.10.10.13 acasa

in /etc/nsswitch.conf i have

hosts:files dns

in /etc/nodename i have

acasa

in /etc/ resolv.conf i have

nameserver10.10.10.1

i have done:

1) ifconfig nfo0 plumb

2) ifconfig nfo0 10.10.10.13 netmask 255.255.255.0 up

3) route add default 10.10.10.1

it works, even right now. fast and clear.

Every reboot i have to the above 3 steps othwise there is no connection.

When i doubleclick on the bottom right net icon, it tells me that ip is 10.10.10.13, but i get Destination: 127.0.0.1 and Subnetmask 255.0.0.0

There is nothing on svcs -x :

# svcs -x

svc:/application/print/server:default (LP print server)

State: disabled since Tue Feb 14 06:35:59 2006

Reason: Disabled by an administrator.

See: <a href="http://sun.com/msg/SMF-8000-05" target="_blank">http://sun.com/msg/SMF-8000-05</a>

See: lpsched(1M)

Impact: 2 dependent services are not running. (Use -v for list.)

As you can see, nothing here.

I dont know where else to look or what to do. I am thinking about dropping static ip and go dhcp, but i do not want to be defeated by this.

Thanx for your time.

[2166 byte] By [ilikesolaris] at [2007-11-25 22:43:37]
# 1

I don't have time to look this up nor test it, but I've never seen an /etc/hostname.*** with both IP address and hostname. Usually is either one, but not both. Try removing one entry from it.

Also, I don't have much experience with x86 Solaris, but it may be that the driver for the NIC has not loaded yet at the time the O.S. attempts to plumb the NIC. A quick solution would be to create a script that plumbs your NIC ar rc3.

codename47 at 2007-7-5 16:55:32 > top of Java-index,General,Network Configurations...
# 2

There is a new file in Sol 10 ,

/etc/inet/ipnodes -- fill in ur IP address and the IP config stays

Also in the /etc/hostname.nfo0 , just add ur hostname , there is no need for an IP here .

#cat > /etc/hostname.nfo0

acasa

add the default gateway using the file /etc/defaultrouter , create the file if it is not present and add the gateway address

#cat > /etc/defaultrouter

10.10.10.1

Also please populate the /etc/netmasks file to include the following line

10.10.10.0 255.255.255.0

Rgds

PK

PrakashKochummen at 2007-7-5 16:55:32 > top of Java-index,General,Network Configurations...