Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Tuesday, April 8, 2008

Network Configuration in Solaris

I have a router : HUEWEI QUIDWAY WA1003A. My desktop pc and my laptop with 5 operating systems all together is connected through that router. I have disabled DHCP and using different static ip address for all of them. For solaris I set up a lan client in my router configuration with ip address 192.168.1.103 and mac address of my system.
NWAM was enabled by default. I took following steps to configure my network connection :
1)I edit /etc/nwam/llp which was previously :
wpi0 dhcp
and now :
wpi0 static 192.168.1.103/24
2)I edit /etc/defaultrouter
192.168.1.1
3)I add a default gateway permanently:
#route -p add default 192.168.1.1
4)I edit a line of /etc/nsswitch.conf which was previously :
hosts: files
and now ;
hosts: files dns
5)I edit /etc/resolv.conf
nameserver 192.168.1.1

after that I restart nwam ("svcadm restart nwam") and a pop up message told me that connection to WA1003A (MY ROUTER)has been established and got ip address 192.168.1.103.

This method I followed for SXDE 9/07 and SXDE 1/08. Check out my configuration details for OpenSolaris 2008.05 from here.

No comments:

Post a Comment