Install Network Card Solaris 10

First run ifocnfig -a to see all the network card attached to system which has ip address.

My NIC  is  “ Intel Corporation PRO/100 VE Network Connection” installed in  Intel Pentum D 64 bit PC.

1. Use the below command to see the connected NICs.

# /usr/X11/bin/scanpci

#prtconf -pv | less

2.Download the appropriate driver file(tar file) from the other system and copy it to the solaris machine.

If you are using USB, see the previous mount article on how to  mount  USB on solaris.

3.unzip the file if it is .gz(gunzip -d) and untar it (tar -xvf) .

4.Run the commands to compile and install the driver.

% cd /…/ife-x.x.x

% rm Makefile

% ln -s Makefile.amd64_gcc Makefile

% rm obj

% ln -s amd64  obj

% /usr/ccs/bin/make

% /usr/ccs/bin/make install

% modload obj/ife

% /usr/sbin/drvconfig -i iprb

% touch /reconfigure

See the /dev directory to see the newly installed device.

# ls /dev/ip*

/dev/ip        /dev/ipf       /dev/ipnat     /dev/ipscan    /dev/ipstate

/dev/ip6       /dev/ipl       /dev/iprb      /dev/ipsecah   /dev/ipsync

/dev/ipauth    /dev/iplookup  /dev/iprb0     /dev/ipsecesp

Here /dev/iprb0  is my NIC.

Then reboot the machine.

Run the below command to get the DHCP address.

#ifconfig iprb0 auto-dhcp

# ifconfig -a

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index  1

inet 127.0.0.1 netmask ff000000

iprb0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2

inet 192.168.20.181 netmask ffffff00 broadcast 192.168.20.255

ether 0:19:d1:67:f7:cd

If you want to add static ip run the following command.

#sys-unconfig

Other usefull commands

update_drv -a -i  ‘pci8086,1094.8086.d605′ iprb

Files

/etc/defaultdomain       Set the default NIS domain name, if any, if it changed.

/etc/defaultrouter       Set the default router’s IP address, if it changed.

/etc/hostname.le0        (or .hme0 or ?) Update if the hostname changed.

/etc/hostname6.le0       (or .hme0 or ?) Ditto, if you use IPv6.

/etc/hostname6.ip.tun0   Update if you use a IPv4/IPv6 tunnel (e.g., 6bone)

/etc/nodename            Update if the hostname changed.

/etc/nsswitch.conf       Update if your name resolution method/order changed.

/etc/resolv.conf         Update if your name servers/domain changed (DNS only).

/etc/inet/hosts          Make sure your IP address is updated or added here.

List your FQDN is first, before the short hostname.

E.g., “192.168.128.64 foo.bar.com foo”

/etc/inet/ipnodes        IPv6 version of hosts file (Solaris 8+).

/etc/inet/netmasks       Set your network number & netmask, if it changed.

/etc/inet/networks       Set your network name, if it changed.

/etc/net/ticlts/hosts    For the streams-level loopback interface.

/etc/net/ticots/hosts    For the streams-level loopback interface.

/etc/net/ticotsord/hosts For the streams-level loopback interface.

, , , , , , , , , ,

  1. #1 by vishnu dalvi on May 25, 2012 - 3:33 AM

    hi
    “2.Download the appropriate driver file(tar file) from the other system and copy it to the solaris machine”

    What does it means. From where I am going to get the drives ?

    • #2 by Shyju Kanaprath on May 25, 2012 - 11:32 AM

      Give me the output of below commands

      /usr/X11/bin/scanpci
      prtconf -pv | less
      lspci

      I will give you the drivers .. :)

      _______

      Regards,

      Shyju

      • #3 by vishnu dalvi on May 26, 2012 - 3:37 AM

        Hi Shyju
        Thanks for the reply
        My system is a Fujitsu Celsisus W410
        It has on board intel lan card which is R 82579LM
        I have installed solaris 10 os
        I have installed a older intel LAN card which is getting detected and working fine.

        Please go through the output of the command

        1. lspci > command not found
        2. /usr/X11/bin/scanpci

        pci bus 0×0000 cardnum 0×00 function 0×00: vendor 0×8086 device 0×0100
        Intel Corporation Device unknown

        pci bus 0×0000 cardnum 0×01 function 0×00: vendor 0×8086 device 0×0101
        Intel Corporation Device unknown

        pci bus 0×0000 cardnum 0×16 function 0×00: vendor 0×8086 device 0x1c3a
        Intel Corporation Device unknown

        pci bus 0×0000 cardnum 0×19 function 0×00: vendor 0×8086 device 0×1502
        Intel Corporation Device unknown

        pci bus 0×0000 cardnum 0x1a function 0×00: vendor 0×8086 device 0x1c2d
        Intel Corporation Device unknown

        pci bus 0×0000 cardnum 0x1b function 0×00: vendor 0×8086 device 0x1c20
        Intel Corporation Device unknown

        pci bus 0×0000 cardnum 0x1d function 0×00: vendor 0×8086 device 0x1c26
        Intel Corporation Device unknown

        pci bus 0×0000 cardnum 0x1e function 0×00: vendor 0×8086 device 0x244e
        Intel Corporation 82801 PCI Bridge

        pci bus 0×0000 cardnum 0x1f function 0×00: vendor 0×8086 device 0x1c4e
        Intel Corporation Device unknown

        pci bus 0×0000 cardnum 0x1f function 0×02: vendor 0×8086 device 0x1c02
        Intel Corporation Device unknown

        pci bus 0×0000 cardnum 0x1f function 0×03: vendor 0×8086 device 0x1c22
        Intel Corporation Device unknown

        pci bus 0×0001 cardnum 0×00 function 0×00: vendor 0x10de device 0x0a38
        nVidia Corporation Device unknown

        pci bus 0×0001 cardnum 0×00 function 0×01: vendor 0x10de device 0x0be2
        nVidia Corporation Device unknown

        pci bus 0×0002 cardnum 0×05 function 0×00: vendor 0×8086 device 0x100e
        Intel Corporation 82540EM Gigabit Ethernet Controller

        3. prtconf -pv | less

        I have truncated the o/p

        Node 0×000012
        assigned-addresses: 82022810.00000000.fb140000.00000000.00020000.82022814.00000000.fb120000.00000000.00020000.81022818.00000000.0000d000.00000000.00000040
        reg: 00022800.00000000.00000000.00000000.00000000.02022810.00000000.00000000.00000000.00020000.02022814.00000000.00000000.00000000.00020000.01022818.00000000.00000000.00000000.00000040
        compatible: ‘pci8086,100e.8086.2e.2′ + ‘pci8086,100e.8086.2e’ + ‘pci8086,2e’ + ‘pci8086,100e.2′ + ‘pci8086,100e’ + ‘pciclass,020000′ + ‘pciclass,0200′
        model: ‘Ethernet controller’
        power-consumption: 00000001.00000001
        66mhz-capable:
        devsel-speed: 00000001
        interrupts: 00000001
        max-latency: 00000000
        min-grant: 000000ff
        subsystem-vendor-id: 00008086
        subsystem-id: 0000002e
        unit-address: ’5′
        class-code: 00020000
        revision-id: 00000002
        vendor-id: 00008086
        device-id: 0000100e
        pci-msi-capid-pointer: 000000f0
        name: ‘pci8086,2e’

        Node 0×000008
        assigned-addresses: 8200c810.00000000.fb200000.00000000.00020000.8200c814.00000000.fb228000.00000000.00001000.8100c818.00000000.0000f040.00000000.00000020
        reg: 0000c800.00000000.00000000.00000000.00000000.0200c810.00000000.00000000.00000000.00020000.0200c814.00000000.00000000.00000000.00001000.0100c818.00000000.00000000.00000000.00000020
        compatible: ‘pci8086,1502.1734.11b7.4′ + ‘pci8086,1502.1734.11b7′ + ‘pci1734,11b7′ + ‘pci8086,1502.4′ + ‘pci8086,1502′ + ‘pciclass,020000′ + ‘pciclass,0200′
        model: ‘Ethernet controller’
        power-consumption: 00000001.00000001
        devsel-speed: 00000000
        interrupts: 00000001
        max-latency: 00000000
        min-grant: 00000000
        subsystem-vendor-id: 00001734
        subsystem-id: 000011b7
        unit-address: ’19′
        class-code: 00020000
        revision-id: 00000004
        vendor-id: 00008086
        device-id: 00001502
        pci-msi-capid-pointer: 000000d0
        name: ‘pci1734,11b7′

        I have tried to install the drivers from this site.

        ife-2.6.2.tar.gz

        http://homepage2.nifty.com/mrym3/taiyodo/eng/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.