Linux
=====

This document contains instructions on installing Linux driver
and adjusting speed for  the adapter

Installing Driver:
------------------
r8169.c -- Linux driver version 1.5 <2003-07-18>

1. This driver supports driver for Linux kernel 2.4.x.


2. Installation steps:
(1)Compiling r8169.c using 'Makefile'.

"make"

<NOTE>Please remember to ASSIGN "NEW_INCLUDE_PATH" in Makefile according to linux kernel.


(2)Move r8169.o to the directory "/lib/modules/<kernel>/kernel/drivers/net".

"cp r8169.o /lib/modules/<kernel>/kernel/drivers/net"

where <kernel> represents the kernel version, say 2.4.18-3 in Red Hat 7.3


(3)Insert module by 

"insmod r8169.o"


(4)Check driver status 

"dmesg"



3. The media can be forced to one of the 5 modes as follows.

Cmd: "insmod r8169 media = SET_MEDIA"
For example:
"insmod r8169 media = 0x04" will force PHY to operate in 100Mpbs Half-duplex.

SET_MEDIA can be:
_10_Half = 0x01
_10_Full = 0x02
_100_Half = 0x04
_100_Full = 0x08
_1000_Full = 0x10


Force media type for multiple cards could be performed as: 

"insmod r8169 media=0x04,0x10"

which force PHY to operate at 100Mbps half-duplex and 1000Mbps full-duplex. 




Other information:
------------------
You could get some helpful information on these URLs.

http://www.scyld.com/

http://www.deja.com/usenet

http://www.realtek.com.tw/

If you have any questions, please don't hesitate contact Realtek
Technical Support Team at nicfae@realtek.com.tw