Installing The Driver For Linux - Pegatron GM1670 User Manual

32-bit gigabit network adapter
Table of Contents

Advertisement

3.4 Installing the Driver for Linux

To install the newest Linux kernel (2.4.x) driver, proceed as follows:
Step 1 Compiling r8169.c using 'Makefile'. "make"
Note: Please remember to ASSIGN "NEW_INCLUDE_PATH" in Makefile
according to linux kernel.
Step 2 Move r8169.o to the directory
"/lib/modules/<kernel>/kernel/drivers/net".
"cp r8169.o /lib/modules/<kernel>/kernel/drivers/net" where <kernel>
rpresents the kernel version, say 2.4.18-3 in Red Hat 7.3
Step 3 Insert module by "insmod r8169.o"
Step 4 Check driver status "dmesg"
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
_10_Full
_100_Half
_100_Full
_1000_Full
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.
= 0x01
= 0x02
= 0x04
= 0x08
= 0x10
22

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GM1670 and is the answer not in the manual?

Table of Contents