Tuesday, November 10, 2009

Configuring Network Interface on Solaris 10

The network card on my laptop was not auto detected by Solaris 10. The steps to add the device are given below:

1) Find the Network card's Device ID and Vendor ID (Login via Windows and check device properties)

2) As root, open /boot/solaris/devicedb/master and add the entry (eg):

pci8086,1092 pci8086,1092 net pci iprb.bef "Intel 82801DB PRO/100 VE Ethernet"

(where 8086 is the Device ID and 1092 is the Vendor ID)

3) Add the following entry to /etc/driver_aliases

iprb "pci8086,1092"

4) Enter the following commands to update the files:

devlinks
touch /reconfigure
reboot

5) On system restart, you can see the file "iprb0" present in the /etc folder.

6) Enter the following commands:

ifconfig iprb0 plumb
touch /etc/dhcp.iprb0
touch /etc/hostname.iprb0

touch /reconfigure
reboot

7) After system restart, enter ifconfig -a to check if an IP is assigned to the device via DHCP.

No comments:

Post a Comment