Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Help! We have a netgear router that is our gateway/DHCP server. We are trying to set up DHCP client on solaris 8 and are have some problems. We are new at this so if anyone could help we would appreciate it. We tried to use dhcpconfig but it seemed to want to set up DHCP Server which is not what we want.

I too am setting up the same route on
Solaris 8. Red hat linux setup DHCP during
install. Solaris is more difficult. If I can
figure it out I will post what I did.

This page explains it well...
http://www.rite-group.com/consulting/solaris_dhcp.html
but I still have not figured out how to get the name server to resolve address...hosts file does have the dns entry.

Message to Bogdan
If you want to get the comp to resolve addresses, creat a file file in '/etc' called 'resolv.conf' and put the following info:
domain 'yourdomainname'
nameserver IP.IP.IP.IP #your ISP's DNS
nameserver IP.IP.IP.IP ISP's 2nd DNS
then open the file '/etc/nsswitch.conf' inside you will find a line that looks like:hosts: files
Change this to:
hosts: files dns
and you comp will resolve names to addresses.
If your connection is setup via DHCP it should make these changes for you on startup but check the 'nsswitch.conf' file anyway.

Message to greg
If you only have one network card in the solaris comp, then you can run the command 'sys-unconfig' this will revert your system to a blank state with no network settings. Restart the comp and you will automatically be taken into the setup of your system, including the network. Its a very simple setup. Also if you need to setup the gateway, you might need to create a file in '/etc' called 'defaultrouter' in this file put the IP of your router.
I hope this helps, have fun :-)

Keepgood,
I have tried to do what you said, i ran sys-unconfig, system did got to blank state with no network setting and asked me to reenter ip and stuff, but as I am trying to setup my solaris8 as a DHCP client , it did not give me any choice for setting it up as a DHCP client , it only asks me for a static IP no other option, has no option fer setting it up as a DHCP client.
Need help........

I did ifconfig hme0 dhcp and seemed to work... when I reboot, it stucks... I am trying to get an IP from a Windows 2000 Server running DHCP. Now that the Solaris box is stuck at the boot-up stage what can I do to get it back?
Joe
jcheng@alpha.ca

![]() |
![]() |
![]() |

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