ubuntu/Network

Posted コメントするカテゴリー: ubuntu

2

eth0とeth1の認識変更

[ubuntu] Realtek 8111/8168 Onboard LAN Problem with 10.04 and Windows 7 dual boot

# download driver for r8168, and unpack
http://www.realtek.com.tw/downloads/downloadsview.aspx?langid=1&pnid=13&pfid=5&level=5&conn=4&downtypeid=3&getdown=false
# go to driver location
cd r8168-8.020.00/
sudo rmmod r8169
sudo mv /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko ~/r8169.ko.backup
make clean modules
sudo make install
sudo depmod -a
sudo insmod ./src/r8168.ko
sudo mv /initrd.img ~/initrd.img.backup
sudo mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`
sudo echo "r8168" >> sudo /etc/modules
lspci -v
sudo reboot