Rtl8169 Pci Gigabit Ethernet Controller Driver Debian 8

  1. Rtl8169 Pci Gigabit Ethernet Controller Driver Debian 8 Upgrade
  2. Rtl8169 Pci Gigabit Ethernet Controller Driver Debian 8 Download
Hi community,

Network Interface Controllers 2.5G Gigabit Ethernet PCI Express. RTL8125 / RTL8125B(S) Network Interface Controllers 10/100/1000M Gigabit Ethernet PCI Express. Download Realtek 10/100/1000M Gigabit Ethernet PCI Driver 8.002 for Windows 8. OS support: Windows 8. Category: Networking.


I have a problem with network configuration in Debian 10 stable.
In Debian, the download speed is around 1.5 mb/s, other OS gives around 40/50 mb/s
EthernetUpload speed is totally fine.
Code: Select all
$ lspci |grep -i ethernet
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

Rtl8169 Pci Gigabit Ethernet Controller Driver Debian 8Rtl8169 pci gigabit ethernet controller driver debian 8 upgrade
Code: Select all
$ sudo ethtool -i enp1s0
[sudo] password for ju:
driver: r8169
version:
firmware-version: rtl8168h-2_0.0.2 02/26/15
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

Code: Select all
$ sudo ethtool enp1s0
Settings for enp1s0:
Supported ports: [ TP AUI BNC MII FIBRE ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes

I tried switching the driver (r8169 -> r8168) without improvement.
Code: Select all
$ ip -s link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX: bytes packets errors dropped overrun mcast
13422179 105621 0 0 0 0
TX: bytes packets errors dropped carrier collsns
13422179 105621 0 0 0 0
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 54:bf:64:87:a7:23 brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
618841842 623332 0 0 0 8243
TX: bytes packets errors dropped carrier collsns
1033279718 1624347 0 0 0 0

There is no write speed issue when I copy/paste a file locally, and no difference between protocols
Any advice where to look at?OK, I'm well aware that this is a well worn subject much discussed elsewhere, & indeed I've solved it myself many times before - but today I've spent hours on it - I need some help!!
I'm running CrunchBang Waldorf. (Debian Wheezy)
I've installed:
firmware-realtek
debhelper
build-essentials
ethtool
dkms
I have blacklisted r8169
Here is my /etc/modules
Code: Select all
loop
lp
rtc
r8168

Here is the relevent output from lspci -v
Code: Select all
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: Giga-byte Technology GA-EP45-DS5/GA-EG45M-DS2H Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 12
I/O ports at de00 [size=256]
Memory at fbbff000 (64-bit, prefetchable) [size=4K]
Memory at fbbf8000 (64-bit, prefetchable) [size=16K]
[virtual] Expansion ROM at fbb00000 [disabled] [size=128K]
Capabilities: <access denied>

.. ifconfig (note the absense of eth0)
Code: Select all
plenty@plenty-plentybox:~$ sudo ifconfig -a
[sudo] password for plenty:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:106 errors:0 dropped:0 overruns:0 frame:0
TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8980 (8.7 KiB) TX bytes:8980 (8.7 KiB)
wlan0 Link encap:Ethernet HWaddr 00:1f:1f:76:0d:c8
inet addr:192.168.0.126 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21f:1fff:fe76:dc8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:186140 errors:0 dropped:0 overruns:0 frame:0
TX packets:104744 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:193793880 (184.8 MiB) TX bytes:13404448 (12.7 MiB)
plenty@plenty-plentybox:~$

I have downloaded the following files;
r8168-dkms_8.035.00-2_all.deb
r8168-8.035.00.tar.bz2
This is the result when I try installing r8168-dkms_8.035.00-2_all.deb
Code: Select all
plenty@plenty-plentybox:~/downloads$ sudo dpkg -i r8168-dkms_8.035.00-2_all.deb
Selecting previously unselected package r8168-dkms.
(Reading database ... 105152 files and directories currently installed.)
Unpacking r8168-dkms (from r8168-dkms_8.035.00-2_all.deb) ...
Setting up r8168-dkms (8.035.00-2) ...
Loading new r8168-8.035.00 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-4-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
plenty@plenty-plentybox:~/downloads$

..and this is what happens with the r8168-8.035.00.tar.bz2
Code: Select all
plenty@plenty-plentybox:~/downloads$ sudo update-initramfs -u && cd ~/downloads && tar xvf r8168-8.035.00.tar.bz2 && cd r8168-8.035.00 && sudo sh autorun.sh
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
r8168-8.035.00/
r8168-8.035.00/autorun.sh
r8168-8.035.00/src/
r8168-8.035.00/src/rtl_eeprom.h
r8168-8.035.00/src/rtltool.h
r8168-8.035.00/src/Makefile
r8168-8.035.00/src/Makefile_linux24x
r8168-8.035.00/src/rtl_eeprom.c
r8168-8.035.00/src/r8168.h
r8168-8.035.00/src/r8168_n.c
r8168-8.035.00/src/r8168_asf.c
r8168-8.035.00/src/r8168_asf.h
r8168-8.035.00/src/rtltool.c
r8168-8.035.00/Makefile
r8168-8.035.00/README
Check old driver and unload it.
Build the module and install
make[2]: *** No rule to make target `clean'. Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
plenty@plenty-plentybox:~/downloads/r8168-8.035.00$

Below is the contents of the 'Makefile' from the r8168-8.035.00 folder, if it helps.
Code: Select all
KFLAG := 2$(shell uname -r | sed -ne 's/^2.[4]..*/4/p')x
all: clean modules install
modules:
ifeq ($(KFLAG),24x)
$(MAKE) -C src/ -f Makefile_linux24x modules
else
$(MAKE) -C src/ modules
endif
clean:
ifeq ($(KFLAG),24x)
$(MAKE) -C src/ -f Makefile_linux24x clean
else
$(MAKE) -C src/ clean
endif
install:
ifeq ($(KFLAG),24x)
$(MAKE) -C src/ -f Makefile_linux24x install
else
$(MAKE) -C src/ install
endif

I don't understand what it means by 'Check old driver & unload it', as when I modprobe r8169 it ain't there.
I've also tried this;
Code: Select all
$ dget -u http://ftp.us.debian.org/debian/pool/main/r/r8168/r8168_8.035.00-2.dsc
$ cd r8168-8.035.00
$ dpkg-buildpackage -us -uc

.. but the process stalls at this point;
Code: Select all
plenty@plenty-plentybox:~/tmp/r8168-8.035.00$ sudo su -c 'dpkg -i r8168-dkms_8.035.00-2_all.deb'
dpkg: error processing r8168-dkms_8.035.00-2_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
r8168-dkms_8.035.00-2_all.deb

I've followed many guides, here is a sample;
How to fix RTL8111/8168B ethernet connectivity issues in Linux
http://www.dividebyzero.co.za/blog/2012/02/how-to-fix-rtl8168b-ethernet-connectivity-issues-in-linux/

Rtl8169 Pci Gigabit Ethernet Controller Driver Debian 8 Upgrade


The pain of an Realtek (RTL8111/RTL8168) ethernet card
http://unixblogger.wordpress.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/

Rtl8169 Pci Gigabit Ethernet Controller Driver Debian 8 Download

It's been many moons since I last had to deal with this issue, having dealt with it on Ubuntu & Arch - each time it took hours upon hours to solve, but this time is unparelleled! I'm ashamed to admit that, after some years of linux use, I don't understand this. Someone please help me!!