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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Solaris 10 network config

Reply to Message Icon

Name: JoeX
Date: June 6, 2004 at 01:03:54 Pacific
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



Sponsored Link
Ads by Google

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

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


0

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

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Solaris 10 network config

Disk resizing in solaris-10 www.computing.net/answers/solaris/disk-resizing-in-solaris10/4980.html

Multipathing in solaris 10 www.computing.net/answers/solaris/multipathing-in-solaris-10/5132.html

Solaris 10 network boot www.computing.net/answers/solaris/solaris-10-network-boot/4761.html