Configuring a VIA Rhine-Based NIC on the Solaris 10 OSFederico Lazcano, June, 2005 This Tech Tip shows how to configure a VIA Rhine chipset-based network interface card, using the Solaris 10 OS for x86 platforms. 1. Download and Unpack the DriverThe first task in this how-to is to download the driver for the VIA Rhine chipset. It can be downloaded from the Free NIC drivers for Solaris site: http://homepage2.nifty.com/mrym3/taiyodo/rh-1.0.17.tar.gz This package provides the source code to build the driver. It was tested on the following operating systems:
Download the package and save it (for example, on a floppy disk) and then copy it to your box running the Solaris 10 OS. The next step is to unpack the package. The friendly bash-3.00$ cd /export/home/flazcano/ bash-3.00$ ls -la rh* -rw-r--r-- 1 flazcano other 144815 abr 13 10:08 rh-1.0.17.tar.gzbash-3.00$ bash-3.00$ gunzip rh-1.0.17.tar.gz bash-3.00$ ls -l *.tar -rw-r--r-- 1 flazcano other 461312 abr 13 10:08 rh-1.0.17.tar bash-3.00$ tar xf rh-1.0.17.tar bash-3.00$ cd rh-1.0.17 2. Build and InstallThe default choice is to compile the driver for the Solaris OS, 32 bits on x86 architecture, using the GNU C Compiler ( bash-3.00$ pwd /export/home/flazcano/rh-1.0.17 bash-3.00$ ls -la Makefile lrwxrwxrwx 1 flazcano other 17 abr 13 10:11 Makefile -> Makefile.i386_gcc For our architecture, the driver is already compiled; we just need to install it in the kernel directory. We need administrative privileges to do it. bash-3.00$ su Password: # /usr/ccs/bin/make install # ./adddrv.sh # devfsadm -i rh 3. Configure (1)The next step is to create and edit configuration files.
First, we need to create a # touch /etc/hostname.rh0 # echo “192.168.1.54” > /etc/hostname.rh0 Then we need to edit the following files: # echo "192.168.1.52 set set.kit.com.ar" >> /etc/inet/hosts # echo “192.168.1.0 255.255.255.0” >> /etc/netmasks and plumb the interface: # ifconfig rh0 plumb up 4. Reboot and VerifyTo apply changes we need to reboot our operating system. # shutdown -y -i6 -g0 When the system comes up, we test the interface with
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
rh0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.1.54 netmask ffffff00 broadcast 192.168.1.255
ether 0:c:76:96:d2:93
And we execute a # ping 192.168.1.1 192.168.1.1 is alive 5. Configure (2)To obtain a fully functional system we have to configure the files that manage the network behavior.
Edit # cat resolv.conf domain kit.com.ar nameserver 192.168.1.1 search kit.com.ar Search in hosts: files dns ipnodes: files dns Then we need to configure the default gateway for our network: # echo "192.168.1.1" > /etc/defaultrouter # route add default 192.168.1.1 Now we can use our VIA Rhine-based NIC on the Solaris 10 OS for x86 platforms. About the AuthorFederico Lazcano works for Kit Ingeneria Electronica S.R.L. in the Pre-Sales area, specializing in hardware and infrastructure services. He is a student at the Universidad Nacional de Rosario, Argentina, seeking his degree in Electronic Engineering. Please send comments or feedback: flazcano@kit.com.ar.
The information and links on this page have been provided by a BigAdmin user. The submitter is solely responsible for such information and links. Sun is not responsible for the availability of external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. Sun will not be responsible or liable, directly or indirectly, for any actual or alleged damage or loss caused by or in connection with use of or reliance on the information posted here, or goods or services available on or through any external site or resource. Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License. |
| |||