Hasil pemeriksaan pake lspci
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
Driver untuk RTL8111/8168/8411 tidak stabil, cek di log
Aug 27 16:57:27 fgg kernel: [ 1701.369434] r8169: p5p1: link up Aug 27 16:57:28 fgg kernel: [ 1702.370767] r8169: p5p1: link down Aug 27 16:57:30 fgg kernel: [ 1704.418501] r8169: p5p1: link up Aug 27 16:57:31 fgg kernel: [ 1705.419848] r8169: p5p1: link down
Download driver dari Realtek
Versi terbaru saat ini adalah r8168-8.038.00.tar.bz2, ekstrak
tar jxvf r8168-8.038.00.tar.bz2
lalu install
cd r8168-8.038.00; ./autorun.sh
Errornya
[root@fgg] ./autorun.sh Check old driver and unload it. Build the module and install /home/cipera/Downloads/r8168-8.038.00/src/r8168_n.c: In function ‘rtl8168_schedule_work’: /home/cipera/Downloads/r8168-8.038.00/src/r8168_n.c:19122:5: error: implicit declaration of function ‘PREPARE_DELAYED_WORK’ [-Werror=implicit-function-declaration] PREPARE_DELAYED_WORK(&tp->task, task); ^ cc1: some warnings being treated as errors make[3]: *** [/home/cipera/Downloads/r8168-8.038.00/src/r8168_n.o] Error 1 make[2]: *** [_module_/home/cipera/Downloads/r8168-8.038.00/src] Error 2 make[1]: *** [modules] Error 2 make: *** [modules] Error 2
cara mengatasinya buka src/r8168_n.c edit baris 19122
PREPARE_DELAYED_WORK(&tp->task, task);
menjadi
INIT_DELAYED_WORK(&tp->task, task);
install sekali lagi
[root@fgg] ./autorun.sh Check old driver and unload it. Build the module and install Can't read private key Backup r8169.ko rename r8169.ko to r8169.bak DEPMOD 3.15.10-200.fc20.x86_64 load module r8168 Completed.