Computing.Net > Forums > Solaris > solaris10 net config &dhcp issues

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

solaris10 net config &dhcp issues

Reply to Message Icon

Name: creon
Date: May 18, 2005 at 09:11:18 Pacific
OS: Solaris 10
CPU/Ram: 2048MHz or 2Gigs RAM
Comment:

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...



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: May 18, 2005 at 12:21:37 Pacific
Reply:

As root issue the command

sys-unconfig

This will give you the option to reconfigure your network when you reboot.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: solaris10 net config &dhcp issues

DHCP issue www.computing.net/answers/solaris/dhcp-issue/5108.html

ip configuration / can't ping server www.computing.net/answers/solaris/ip-configuration-cant-ping-server/580.html

X server cannot be started www.computing.net/answers/solaris/x-server-cannot-be-started/2985.html