Solving network problems on Sun Solaris 10

I have been testing Sun Solaris 10 for a while, and short to speak: It has been a terrible nightmare… I had problems with about everything essensial: network, cd, usb, java. Not able to fix the hardware issues, I decided to tried to focus on the software and driver issues so I could at least be able to connect to the internet.

Strangely as it is, all the  fixes and changes I did on the system just suddenly got reset og removed each time I did a restart, hence the same software and hardware problems every bloddy time.. So finally I had enough: I did a google search, found a recepie for fixing the network, connected to the internet making backup of my documents and finally reinstalled WinXP Pro. This time I was actually lucky, because I found a solution that worked straight away, even without a single restart. If you are using Solaris 10 and cant connect to internet, try this:

/etc/hosts:
127.0.0.1 localhost
#Add your IPAddress and hostname
123.45.67.99 myhostname

/etc/defaultrouter:
#Your router or modem address.
123.45.67.89

/etc/resolv.conf:
#Call your ISP for nameserver or use your router address below for nameserver
nameserver xxx.xx.xx.xx
nameserver yyy,yy,yy,yy

mv /etc/nsswitch.conf /etc/nsswitch.conf~
cp /etc/nsswitch.dns /etc/nsswitch.conf

/etc/init.d/nscd stop
/etc/init.d/nscd/start

See the full thread for more information.

Just in case you are wondering, the only reason for using Solaris is because the Sun RFID platform which I was testing that were fully supported only on Solaris 10.

This entry was posted in Unix and tagged . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>