Tuesday, November 3, 2009

Solaris 10 on Compaq Evo Desktop

Apparently doesn't recognize/unable to detect Intel Pro/100 VM NIC

Run prtconf -pv

# prtconf -pv (will give a long output)

                compatible: 'pci8086,103b.e11.12.81' + 'pci8086,103b.e11.12' + 'pcie11,12' + 'pci8086,103b.81' + 'pci8086,103b' + 'pciclass,020000' + 'pciclass,0200'
                model:  'Ethernet controller'
                power-consumption:  00000001.00000001
                fast-back-to-back:
                devsel-speed:  00000001
                interrupts:  00000001
                max-latency:  00000038
                min-grant:  00000008
                subsystem-vendor-id:  00000e11
                subsystem-id:  00000012
                unit-address:  '8'
                class-code:  00020000
                revision-id:  00000081
                vendor-id:  00008086
                device-id:  0000103b
                name:  'pcie11,12'

Locate Ethernet controller (as show in the output snippet pasted above)

Go to http://pci-ids.ucw.cz/read/PC/
Use the vendor-id and devicei-id to locate the correct device name
103b - 82801DB PRO/100 VM (LOM) Ethernet Controller

run
# grep 82801DB /boot/solaris/devicedb/master
pci8086,1039 pci8086,1039 net pci iprb.bef "Intel 82801DB Ethernet 82562ET/EZ PHY"
pci8086,103d pci8086,103d net pci iprb.bef "Intel 82801DB PRO/100 VE Ethernet"

edit /etc/driver_aliases

add the following accordingly (into /etc/driver_aliases of course silly0

iprb "pci8086,103b"

load the driver
# modload /kernel/drv/iprb
# ifconfig iprb0 plumb

# ifconfig iprb0 x.x.x.212 netmask 255.255.255.0 up
# route add default x.x.x.1

Permanently configure IP address for iprb0

Create a new text file /etc/hostname.iprb0
x.x.x.212

Create another new text file /etc/defaultroute
x.x.x.1

Edit if doesn't exist, create /etc/resolv.conf
nameserver x.x.x.20
nameserver x.x.x.13

Edit /etc/hosts accordingly to make it look something like this (sample output only, please amend accordingly, yes silly)
::1     localhost       loghost
127.0.0.1       localhost       loghost
x.x.x.212      europa europa.jupiter.space

Make sure the following exist or amended accordingly (if need be) /etc/nsswitch.conf
hosts: files dns



do a reconfigure reboot
# reboot -- -r

No comments: