configure internet access on sunblade 150
Hey everyone,
Before I start, I ve been using unix for about half a year so a bit of a noob. I ve re-installed Solaris 8 on a sunblade 150.
I ve installed gnome and firefox, I ve configure my ip in the host file.
I would like to try and connect to the internet, the sunblade connect though a lan though a hub.
I can ping and ftp to my linux/NT machines.
I now have no idea what to do?
I ve been googleing for a while and thought I should try and ask here I guess you guys would be able to answer this in a flash?!
Thanks in advance
[762 byte] By [
noob-jesus] at [2007-11-25 22:42:27]

# 2
I just finished re-installing my Solaris 10 x86 system (new motherboard and some other cards, so a re-install was the cleanest method).
You'll need to gather the DNS information from your ISP.
I happen to have a cable modem and a router connected to it.
My home LAN goes thru that router then the cable modem, to get to the Internet.
The router's configuration setup grabbed the IP's of their DNS servers and they were visible in the config screens.
Alternatively, if you have a Win9x system that successfully surfs the web, WINIPCFG can show those DNS addresses.
--
Do the following on the SB150, as root user:
(1) Edit your /etc/nsswitch.conf file and add 'dns' to the hosts line, space delimited.
(2) If you have a router as I do...
touch /etc/defaultrouter then edit the file, placing the IP address of that router -- only the IP address.e.g. 192.168.1.1
(3) Review the contents of your /etc/inet/hosts file. No typos?
The /etc/hosts file is actually a link to /etc/inet/hosts.
(4) touch /etc/resolv.conf
edit that file and enter the necessary information -- format is TAB delimited:
<b>domainname<ISPNAME>(e.g. aol.net, comcast.net, sbc.com)
nameserver<DNS IP address number 1>
nameserver<DNS IP address number 2></b>
Note that the domainname is NOT <i>www...</i>
My ISP happens to show me three DNS servers, you can include as many as you desire.
Save the files and reboot the system because the info is only read at bootup.
# 3
Actually, resolv.conf is read at any time. You do not need to reboot for the syswtem to read it.
Also, you really do not need a domain name in resolv.conf, nor the entries be delimited by tabs.
As long as you have the IP of any reachable IP server , you'll get DNS resolution. Any DNS server will do, so
nameserver xx.xx.xx.xx
will be enough.
Obviously you have an ISP, and I'm sure you have a Windows PC. Open up a command line terminal (the DOS-looking window) and type
ipconfig
This will show you your DNS server (among other things). If it shows you the server name (like nyisp.dns.com or whatever) I'd suggest running an nslookup to find the IP of the server, and use that in resolv.conf rather than the name.
nslookup myisp.dns.com
# 4
Thanks for the additional information, Ray.
I have been using crib sheets I've cobbled together from 4 years of reading these forums.Half-inch-thick bunch of papers and a paperclip. <img src="images/smiley_icons/icon_smile.gif" border=0 alt="Smile">
I'd suggested the reboot for a couple of reasons. I had described the creation or editing of multiple files, and one or more might need that reboot.Best to get it out of the way ?
B.T.W.ipconfig doesn't work for Win95, Win98, or Win98SE, that's why I mentioned the <i>winipcfg</i> above. A newby might have W9x running and it is a graphical tool in those environments.
# 6
review a couple of the man pages ...
man init
man shutdown
For example, you can choose <i>init 5</i> as root user, to bring the chassis all the way down to poweroff.You might choose <i>init 6</i> to bring the system through a full reboot, back to the system's default run level (by default multiuser unless you've customized something).