Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How should I configure solaris 9 for internet access

Status
Not open for further replies.

biafran

Technical User
Feb 7, 2005
16
US
I have a sun ultra 5 machine running solaris 9.This machine is attached to a router which in turn is attached to a verizondsl router. This dsl router/modem is my gateway to the internet. How do I configure my ultra 5 to access the internet. I have searched the internet with no luck Any help will be appreciated. thank you.
 
You should check out the FAQS there is tons of help there with your problem. Basically you do this:

Code:
I will use my machine as an example.

I do not know your level of knowlege with Solaris, so I am going to assume your a noob...I am having you use echo to avoid messing with VI, pay attention to the >> and >.

echo "192.168.1.100 deeznuts" >> /etc/hosts
echo "deeznuts" > /etc/hostname.hme0
echo "192.168.1.1" > /etc/defaultrouter (this will be the IP of your router connected to your DSL)
echo "search verizon.net" > /etc/resolv.conf
echo "nameserver xxx.xxx.xxx.xxx (ip of your router) >> /etc/resolv.conf
cp /etc/nsswitch.dns /etc/nsswitch.conf

Now either reboot (the easy way) or do it manually...

ifconfig hme0 plumb
ifconfig hme0 deeznuts netmask + broadcast + up
route add default `cat /etc/defaultrouter`

You should be able to get out to the internet now, if not there might be something I might have missed or something else you have to look into.
 
coffeysm
I thank you from the bottom of my heart.It worked like a charm. You made it look so easy.Thanks a mil.

Biafran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top