`

install r8168 driver on ubuntu

 
阅读更多

update: on 05/01/2013

 

  this problem is related to r8168 instead of a particular motherboard model so I changed this title.

 

  ubuntu 10.04 or later version installs r8169 for my network card( motherboard mode: gigabytes H61M-S2V-B3).

 

this r8169 doesn't work correctly with my network card.. the typical scenario is time-out for everything..

 

   fixing is simple..we use r8168 driver instead...

 

1: get r8168 drivers on website.. I use r8168-8.028.00

 

download link:

 

http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false

 

sometimes,,,we need another computer to download this driver and send it to the target via usb jumpdisk or cdrom. so make sure you have another computer if the target fails to get on line comletely.

 

2: put server install disc into cdrom and edit /etc/apt/sources.list (make a backup first) with nano

 

activate the cdrom repository.

 

3: sudo apt-get update

 

4: sudo apt-get install build-essential

 

5: sudo apt-get install linux-headers-`uname -r`

 

6: sudo fdisk -l (check your usb disk here) 

 

7: mount /dev/sxxx /media/temp

 

8: enter r8168 dir and issue

 

sudo make all

 

9: sudo depmod -a

 

10: sudo nano /etc/modprobe.d/blacklist.conf add:

blacklist r8169

 

11: sudo nano /etc/initramfs-tools/modules add:

r8168

 

12: sudo update-initramfs -v -u -k `uname -r`

 

13: sudo reboot

 

network card should work from now on...

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics