cr0wn3r
October 29th, 2008, 01:14 PM
Ive had a good go myself at getting this to connect at 1000 but I'm not having any luck. My own knowledge is a bit too limited to improvise on other fixes I've read here.
The card connects to my switch with no problems, no deliberate driver installs, just out of the box. But at 100mb, not 1000mb.
I have another PC here which connects at 1000 and I'm using the same cat6 cable to test both so I don't think its the switch or cable at fault.
Im using 8.04 hardy, 2.6.24-21-generic
I made a hardware html report, which says:
id:
network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id:
0
bus info:
pci@0000:03:00.0
logical name:
eth0
version: 02
serial:
size: 100MB/s
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration:
autonegotiation = on
broadcast = yes
driver = r8169
driverversion = 2.2LK
duplex = full
ip = 192.168.0.125
latency = 0
link = yes
module = r8169
multicast = yes
port = twisted pair
speed = 100MB/s
My switch (Netgear GS608 ) confirms it's at 100Mb as the activity light flashes orange. It goes green for gigabit connections.
I found this on the forum and so tried to follow the instructions to sort the correct driver:
1 - Downloaded current driver from :
http://www.realtek.com.tw/downloads/...&GetDown=false
2 - Unpacked on the Desktop
3 - $ sudo mv r8168-8.009.00 /usr/src
4 - $ cd /usr/src/r8168-9.004.00
5 - $ sudo make clean modules
6 - $ sudo make install
7 - $ sudo depmod -a
8 - $ sudo insmod ./src/r8168.ko
9 - $ lsmod -a | grep 8186 #just to check it was there
10 - $ cd /etc/modprobe.d
11 - $ sudo touch blacklist-network
12 - $ vi blacklist-network # add "blacklist r8169" to the file
13 - $ sudo update-initramfs -u #to make the change permanent
14 - reboot
15 - ethtool -i eth0 #to see new driver assigned
But I get this on step#5, which doesnt seem right:
# /usr/src/r8168-8.009.00$ sudo make clean modules
make -C src/ clean
make[1]: Entering directory `/usr/src/r8168-8.009.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order
make[1]: Leaving directory `/usr/src/r8168-8.009.00/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/r8168-8.009.00/src'
make -C /lib/modules/2.6.24-21-generic/build SUBDIRS=/src modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
scripts/Makefile.build:41: /src/Makefile: No such file or directory
make[3]: *** No rule to make target `/src/Makefile'. Stop.
make[2]: *** [_module_/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/r8168-8.009.00/src'
make: *** [modules] Error 2
This seems to give the right result though so maybe the above step is not required?
# /usr/src/r8168-8.009.00$ lsmod | grep r8169
r8169 36868 0
This is where I'm making assumptions because I don't really understand what I'm doing.
Apparently I need to make it use an r1000.ko driver, but where to get this from and how to use it I'm unsure.
lsmod | grep r1000 doesnt return anything.
I'd really appreciate some help.
Thanks.
The card connects to my switch with no problems, no deliberate driver installs, just out of the box. But at 100mb, not 1000mb.
I have another PC here which connects at 1000 and I'm using the same cat6 cable to test both so I don't think its the switch or cable at fault.
Im using 8.04 hardy, 2.6.24-21-generic
I made a hardware html report, which says:
id:
network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id:
0
bus info:
pci@0000:03:00.0
logical name:
eth0
version: 02
serial:
size: 100MB/s
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration:
autonegotiation = on
broadcast = yes
driver = r8169
driverversion = 2.2LK
duplex = full
ip = 192.168.0.125
latency = 0
link = yes
module = r8169
multicast = yes
port = twisted pair
speed = 100MB/s
My switch (Netgear GS608 ) confirms it's at 100Mb as the activity light flashes orange. It goes green for gigabit connections.
I found this on the forum and so tried to follow the instructions to sort the correct driver:
1 - Downloaded current driver from :
http://www.realtek.com.tw/downloads/...&GetDown=false
2 - Unpacked on the Desktop
3 - $ sudo mv r8168-8.009.00 /usr/src
4 - $ cd /usr/src/r8168-9.004.00
5 - $ sudo make clean modules
6 - $ sudo make install
7 - $ sudo depmod -a
8 - $ sudo insmod ./src/r8168.ko
9 - $ lsmod -a | grep 8186 #just to check it was there
10 - $ cd /etc/modprobe.d
11 - $ sudo touch blacklist-network
12 - $ vi blacklist-network # add "blacklist r8169" to the file
13 - $ sudo update-initramfs -u #to make the change permanent
14 - reboot
15 - ethtool -i eth0 #to see new driver assigned
But I get this on step#5, which doesnt seem right:
# /usr/src/r8168-8.009.00$ sudo make clean modules
make -C src/ clean
make[1]: Entering directory `/usr/src/r8168-8.009.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order
make[1]: Leaving directory `/usr/src/r8168-8.009.00/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/r8168-8.009.00/src'
make -C /lib/modules/2.6.24-21-generic/build SUBDIRS=/src modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
scripts/Makefile.build:41: /src/Makefile: No such file or directory
make[3]: *** No rule to make target `/src/Makefile'. Stop.
make[2]: *** [_module_/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/r8168-8.009.00/src'
make: *** [modules] Error 2
This seems to give the right result though so maybe the above step is not required?
# /usr/src/r8168-8.009.00$ lsmod | grep r8169
r8169 36868 0
This is where I'm making assumptions because I don't really understand what I'm doing.
Apparently I need to make it use an r1000.ko driver, but where to get this from and how to use it I'm unsure.
lsmod | grep r1000 doesnt return anything.
I'd really appreciate some help.
Thanks.