Walaupun sudah menggunakan Fedora 23/Fedora 24 driver Realtek r8168 masih tetap kurang stabil, hasil lspci

05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

sewaktu menggunakan driver bawaan kernel koneksi LAN sering putus nyambung, tetapi setelah menginstall driver dari situs Realtek semuanya jadi lancar.

Install Dependency

Gunakan dnf untuk menginstall dependency yang dibutuhkan untuk meng-compile driver

dnf install make automake gcc gcc-c++ kernel-devel

Download Driver

Download drivernya dari situs Realtek atau mirrornya disini. File yang di download adalah 0005-r8168-8.042.00.tar.bz2

Install Driver Realtek r8168

Ekstrak file yang baru di download

tar jxvf 0005-r8168-8.042.00.tar.bz2

pindah ke folder yang baru diekstrak lalu install

cd r8168-8.042.00/
su -c "./autorun.sh"

Hasil eksekusi perintah diatas

$ su -c "./autorun.sh" 
 
Check old driver and unload it.
rmmod r8169
Build the module and install
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.5.5-201.fc23.x86_64
load module r8168
Completed.

tunggu sekitar 30 detik, lalu cek IP LAN anda dengan ifconfig; ip route

$ ifconfig; ip route 
enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.204  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::16da:e9ff:feac:a54  prefixlen 64  scopeid 0x20<link>
        ether 15:bc:e9:cg:0a:53  txqueuelen 1000  (Ethernet)
        RX packets 51420  bytes 65297811 (62.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 29332  bytes 2934213 (2.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 31  base 0xa000  
 
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 78  bytes 6804 (6.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 78  bytes 6804 (6.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
default via 192.168.2.1 dev enp5s0  proto static  metric 100 
192.168.2.0/24 dev enp5s0  proto kernel  scope link  src 192.168.2.204  metric 100

Leave a comment

Your email address will not be published. Required fields are marked *