Computing.Net > Forums > Solaris > Solaris 10 network config

Solaris 10 network config

Reply to Message Icon

Original Message
Name: JoeX
Date: June 6, 2004 at 01:03:54 Pacific
Subject: Solaris 10 network config
OS: solaris 10
CPU/Ram: intel 2.08gHz / 512 mb dd
Comment:

Hey,
I recently set up a box with Solaris 10, and i'm trying to get it to go on the internet..
I've looked at many other network problem discussions.. and I have tried pretty much everything that has been mentioned on this site, but my machine still won't connect to the internet. I have tried pinging adresses posted, and tried opening ftp to my website server, and all i get is "unknown host or invalid literal address"
I'm sure that my /etc/hosts file and /etc/defaultrouter file and all those things are set correctly.. i tried ndd -set /dev/ip ip_forwarding 1, which, after doing that, I actually received packets from an ip i saw on here, but after that nothing..
I have a netgear router for my cable internet, and my winxp boxes take to it fine, and before i reinstalled solaris on the computer, the internet actually worked, but it doesnt anymore..
if anyone has anything, please let me know
thx!!
~Joe


Report Offensive Message For Removal


Response Number 1
Name: JoeX
Date: June 7, 2004 at 20:39:15 Pacific
Reply: (edit)

FOLLOWUP!!:

Okay, I kind of messed this one up, I AM connected to the internet now, I can ping and everything.. nslookup works, but I believe i need to set up my DNS, and i'm not quite sure what to set it to, so if anyone can help me out with that, it would be awesome!
thanks!
~Joe


Report Offensive Follow Up For Removal

Response Number 2
Name: JoeX
Date: June 7, 2004 at 22:47:29 Pacific
Reply: (edit)

lol.. well..
nevermind.. i figured it all out..
for anyone that has comcast cable internet, and has problems with connecting to the internet through a router, here is what I did:
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

now you should have a properly working dns
hope it helps if anyone needs it.. lol


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Solaris 10 network config

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge