Previous Topic

Next Topic

Locate topic in Contents

Solaris Network Driver Installation

Unlike other guest OSes Solaris does not support the RTL8029 network driver emulated in virtual machines. To add RTL8029 support to a Solaris virtual machine you need to install the RTL8029 network adapter driver. We have created the special network.sh script that helps you to do this, or you may install and configure the driver manually. Both ways are described below.

Before Installing the Driver

Before installing the driver perform the following steps:

  1. Make sure that the virtual machine configuration includes a CD/DVD-ROM drive and it is enabled. See CD/DVD-ROM Options.
  2. Start your guest operating system.
  3. Connect the CD image with tools, vmtools.iso, to the CD/DVD-ROM drive of the virtual machine:

Proceed to installing the RTL8029 network driver using the network.sh script or manually.

To install RTL8029 network driver using network.sh script:

  1. In the shell, run the

    cd /cdrom/PRLTOOLS/Drivers/Network/RTL8029/SOLARIS/

    command to move to the respective directory.

  2. Issue the following command to begin installing the driver

    ./network.sh

  3. You are sequentially informed that the driver is being extracted, compiled and installed. When it is finished, you are asked "Will you receive IP addresses from DHCP server?" If IP addresses on your network are managed by DHCP server proceed to step 4, otherwise proceed to step 5.
  4. If IP addresses on your network are managed by DHCP server, type "Y" and the script will configure the DHCP client. Proceed to step 6.
  5. If IP addresses on your network are NOT managed by DHCP server, type "N" and then specify an IP address for your virtual machine, network address, network mask, and default gateway IP address when you are asked for them.
  6. Restart the guest operating system by issuing the command

    init 6

To install RTL8029 network driver manually:

  1. In the shell, issue the following command to get root privileges:

    su

    Enter the password to the root account when you are asked for it.

  2. As a root run the following commands:

    cd /tmp

    gzcat /cdrom/PRLTOOLS/Drivers/Network/RTL8029/SOLARIS/ni0.8.11.tgz|tar xf -

    cd ni-0.8.11

    /usr/ccs/bin/make install

    ./addni.sh

  3. If IP addresses on your network are managed by DHCP server issue the following commands:

    touch /etc/hostname.ni0

    touch /etc/dhcp.ni0

    If IP addresses on your network are NOT managed by DHCP server, see the Solaris System Administration Guide.

  4. Leave the root account by running the command

    exit

  5. Restart the guest operating system by issuing the command

    init 6