hi!
good for you, you already set up an internet connection.
but i am not that fortunate yet.
my problem basically is that i installed solaris 10 on a server and allowed dhcp to be active.
it first worked because we had a dhcp server (not the same machine as with that of the recently installed solaris 10).
but then again, when we were made to transfer that server, having solaris 10 installed, to another building having no dhcp server.
there the problems began... i cannot connect now to the internet. next, i cannot even open/run the Solaris Management Console!
we then decided to change (hardcode) the network config via the command "ifconfig". however, we realized that this command is not persistent. meaning, the network config resets everytime we turn off the machine.
we then tried basically the same changes to the network config like as yours, and i quote:
"obviously make sure that your /etc/hosts and /etc/defaultgateway are set correctly
after that, you make your /etc/resolv.conf file, and add these 2 lines
nameserver (primary dns)
nameserver (secondary dns)
the 2 servers i use are 4.2.2.1 and 4.2.2.2
there are many other dns servers available for comcast, and you can find them through a simple google search but those two work fine for me.
then i did: cp /etc/nsswitch.dns /etc/nsswitch.conf
in order to set the nsswitch.conf file to use dns, you can just edit the .conf file, but i find this way a little easier..
that should be all now, so you can either restart your computer or do
/etc/init.d/inetsvc stop
/etc/init.d/inetsvc start"
but still, it does not work.
i mean, true enought that when we open the file (in a textpad), the new settng was ok, but when we do ping, or try to add router, the same message like "unreachable host" still persists.
i really am having difficulty with setting this server. it has taken me two weeks already...
also, is there by chance that i invoked the issue when i allowed dhcp to be active? if yes, how then can i terminate dhcp without reinstalling solaris 10?
any help would be highly appreciated.
thanks...