Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi all, please help me.
I have utra sprac5 running solaris8. Just got things going with my linksys router, cable modem (optimunm online) and my pent 4 machine. I using DHCP to get my ip from router, but I can't get it to give me a hostname or Domain. Where do I add these things so that DHCP doesn't step on it?

Hi BigLou,
I am not sure I can help, but I have optimum online too. you have to create the file using touch
touch /etc/resolve.conf
Then open that file and put indomain mydomain.com
nameserver 167.206.112.3
nameserver 167.206.112.4These are the dns's for optimum online.
there is a file called
/etc/hostname.xxxxxwhere xxxxx is your network card. You can find that by using
ifconfig -a
and it would be the second entry (mine is elbc0 and it is a 3com card.
Inside /etc/hostname.xxxxx is the name you gave your computer, it is what it says on the login screen. Mine is Mynec. That file should be there already if you entered the network info when you installed the OSLike I said, I'm not sure, I use a hub and I don't use DCHP.
In the file
/etc/nsswitch.conf
there is a line that says
hosts: files
and edit it to say
hosts: files dns
if it doesn't already.Last,I bet that the ip of your router should
be in the file...use touch again to make a file.
touch /etc/defaultrouterand put the ip of your router in there.
Now I could be totally wrong, this worked for me but I use internet connection sharing. But if anyone who knows what they are doing reads this, maybe they will correct me.
Once you have the dns right, if you run
nslookup
either you will read errors or you will get to a prompt
>
and that means dns is right I think.Also try putting in an ip of a website in your browser.
64.58.76.229 is yahoo and see if it comes up. That means you are close and dns isn't working yet.Good luck

![]() |
Recompile Solaris C apps ...
|
? NIS server config
|

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