Solaris > How to configure LAN Card (NIC)

Following are generic steps

1) UNZIP or untar the driver

# gunzip -cd driver-x.y.z.tar.gz | tar xf –

2) Install the driver by running special install script, for e.g.

# sh install


# chmod +x install; ./install

3) Or you can also try out as follows to install driver:

# /usr/ccs/bin/make install

4) Or if driver in package format then install it using pkgadd command:

# buzip2 driver.bz2
# pkgadd -d driver

5) Open /etc/hostname.driver0 i.e. if your lan card driver name it tu or rtls then you can set up the ip address as follows:

# vi /etc/hostname.tu0


# vi /etc/hostname.rtls0

6) Then restart Solaris computer/server by typing following command:

# init 6

Complete example to install tu lan card driver (DAVICOM DM9102A or ADMtek AN983B chipset )
1) Download the file from authors web site.

2) Untar driver files using following commands:

# gunzip -cd tu-0.9.10.tar.gz | tar xf –
# cd tu-0.9.10

3) Install the driver as follows:

# /usr/ccs/bin/make install

4) Assign IP address to LAN card:

# cat > /etc/hostname.tu0

Save file (by pressing CTRL+D).

5) Assign Hostname, if its not assign, open file /etc/hosts using text editor:

# vi /etc/hosts

Add/modify following text:

# Internet host table
# localhost loghost sol9 sol9 loghost

Save file (by pressing ESC + : + x!) exit to shell prompt.

6) Setup network ID and netmask as follows:

# vi /etc/netmask

Add the following line (your network ID):

7) In above example, is network ID and is netmask.
Now reboot your Solaris system as by typing following command:

# init 6

8) When system comes up type commands to verify NIC driver is working properly:

# dmesg|more
# ifconfig -a

(Check out all of our posts on Solaris)

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 6 comments so far... add one
CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
6 comments… add one
  • kukan Mar 14, 2007 @ 12:13

    i want to configure 3 lan in solaris for failover

  • ACV Jul 31, 2007 @ 19:24

    One final point – if you cannot make your PC see the DNS servers. After you’ve configured all the necessary files, type this:

    route add default (your DNS ip)

  • kamal Mar 21, 2008 @ 5:25

    hello sir ,

    i am installing new sun solaris OS .
    and in that we are not able to detect the lan card .pls explain me the proper step of configure the lan card .

  • shantanu May 22, 2009 @ 20:50

    may be u dont have the proper driver for the lan card , u need to instal the right driver
    whats does ifconfig -a show

  • ankit Jan 27, 2011 @ 14:36

    i am installing new sun solaris OS .
    and in that we are not able to detect the lan card .pls explain me the proper step of configure the lan card .

  • srinu Oct 4, 2011 @ 14:04

    #ifconfig hme0 plumb
    #ifconfig hme0 up

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum