How to install a network card on Solaris 8/9/10
tonyn | May 23, 20091. First, we need to locate and download the correct drivers from Internet or vendor’s web site.
2. Install the driver into the system: pkgadd -d package_name/driver_name
3. Get the device’s and vendor’s IDs with: prtconf -pv | more
4. Update the driver: update_drv -a -I ‘ “pci14c4,154a”‘ ipreb
5. Enable the NIC interface: ifconfig -a plumb
Assign the IP address for the new NIC:
1. vi /etc/hostname.ipreb, hostname
2. vi /etc/inet/hosts, hostname 192.168.1.1
3. vi /etc/inet/netmasks, 192.168.0.0 255.255.255.0
4. vi /etc/defaultrouter, 192.168.1.254
5. vi /etc/resolv.conf, nameserver 192.168.1.10
Finally, you can reboot your machine to take effect.