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...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值