eth0 is not ready
final solution:
http://ubuntuforums.org/showthread.php?t=1022411
This is guidance for those with integrated Realtek RTL8111 series gigabit Ethernet, built in to motherboards such as the ASRock G41M-LE.
Ubuntu 8.10 (and may other versions) have been reporting problems with connectivity. Here is the solution in a walk-through format. You must be root (sudo su -).
1) Check to see if the r8169 module is loaded
-> lsmod | grep r816
r8168 41104 0
-> lspci -v
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: ASRock Incorporation Device 8168
Kernel driver in use: r8169
Kernel modules: r8169
2) Download the official Realtek driver
Realtek RTL8111/RTL8168
3) Remove the r8169 module
-> rmmod r8169
-> mv /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko ~/r8169.ko.backup
( the ` is a backtick, it is not an apostrophe or single quote )
4) Build the new r8168 module for the kernel
-> bzip2 -d r8168-8.009.00.tar.bz2
-> tar -xf r8168-8.009.00.tar
-> cd r8168-8.009.00
-> make clean modules
-> make install
5) Rebuild the kernel module dependencies
-> depmod -a
-> insmod ./src/r8168.ko
6) Remove the r8169 module from initrd
-> mv /initrd.img ~/initrd.img.backup
-> mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`
7) Add r8168 module to /etc/modules
-> echo "r8168" >> /etc/modules
8) Reboot, You are done!
9) Examine that ONLY the r8168 module is loaded for the interface
-> lspci -v
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: ASRock Incorporation Device 8168
Kernel driver in use: r8168
Kernel modules: r8168
Actions as needed in fact:
1. download driver;
2. untar and ./autorun.sh
Ok, it's all done.
sudo /etc/init.d/networking restart
http://ubuntuforums.org/showthread.php?t=1022411
This is guidance for those with integrated Realtek RTL8111 series gigabit Ethernet, built in to motherboards such as the ASRock G41M-LE.
Ubuntu 8.10 (and may other versions) have been reporting problems with connectivity. Here is the solution in a walk-through format. You must be root (sudo su -).
1) Check to see if the r8169 module is loaded
-> lsmod | grep r816
r8168 41104 0
-> lspci -v
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: ASRock Incorporation Device 8168
Kernel driver in use: r8169
Kernel modules: r8169
2) Download the official Realtek driver
Realtek RTL8111/RTL8168
3) Remove the r8169 module
-> rmmod r8169
-> mv /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko ~/r8169.ko.backup
( the ` is a backtick, it is not an apostrophe or single quote )
4) Build the new r8168 module for the kernel
-> bzip2 -d r8168-8.009.00.tar.bz2
-> tar -xf r8168-8.009.00.tar
-> cd r8168-8.009.00
-> make clean modules
-> make install
5) Rebuild the kernel module dependencies
-> depmod -a
-> insmod ./src/r8168.ko
6) Remove the r8169 module from initrd
-> mv /initrd.img ~/initrd.img.backup
-> mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`
7) Add r8168 module to /etc/modules
-> echo "r8168" >> /etc/modules
8) Reboot, You are done!
9) Examine that ONLY the r8168 module is loaded for the interface
-> lspci -v
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: ASRock Incorporation Device 8168
Kernel driver in use: r8168
Kernel modules: r8168
Actions as needed in fact:
1. download driver;
2. untar and ./autorun.sh
Ok, it's all done.
sudo /etc/init.d/networking restart
sudo ifconfig eth0 down/up
nm-tool
cat /var/log/message
cat /var/log/syslog
dmesg
lspci
lsmod
lshw
dmidecode
biosdecode
cat /proc/cpu
vi /etc/network/interfaces
auto eth0
The solution
- Boot up Windows
- Right click on My Computer
- Click on Properties -> Hardware -> Device Manager
- Expand your network card section and double click on your Realtek network card
- Set "Wake-on-lan after shutdown" to enabled
i removed r8169 and installed r8168
this can be done by downloading it from the realtek-website.
the problem afterwards was that r8169 was coming back after a restart. The solution for this problem can be found here :
http://ubuntuforums.org/showthread.php?t=936379
thanx for the answer.
I had the same problem. I had to use Google for a long time, till i found a solution in a german forum (i am from germany; sorry for my english if it's too bad). Here are the instructions:
First, you need to rename the r8169 driver, because it won't work with this one.
> mv /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko.old
> depmod -a
To save the current ramdiscimage and make a new one:
> mv /boot/initrd.img-`uname -r` /boot/initrd.img-`uname -r`.old
> mkinitramfs -o /boot/initrd.img-`uname -r`
Now you have to reboot. After this, it worked for me. To see weather the right module is loaded, you can use this:
> lsmod | grep r81*
There it showed me the right module, r8168.
==============
The device eth0 is not ready!
記得我的電腦是在一次升級之后出現的這種情況,之前都使用得非常好,覺得可能是安裝了一些中文漢化升級包,防火墻的一些英文參數發生了變化。不過還好,本人從網上找到了一些相關的帖子,解決了問題,本人驗證過。
在終端中輸入: sudo gedit /etc/firestarter/firestarter.sh
在 # External network interface data
這行注釋的上面,添加一行:
LANG=en_US
保存后(不須重啟),firestarter就可以順利啟動,正常工作了,再也沒有那煩人的提示。
注意:在加入LANG=en_US之后,如果再運行firestarter的運行向導,則先前加入的LANG=en_US會消失,錯誤問題會和以前一樣出現,防火墻不能用,你須要再一次加入LANG=en_US
eth0 Link encap:Ethernet HWaddr 00:24:E8:5F:EF:85
inet addr:192.168.1.88 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:e8ff:fe5f:ef85/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2322 errors:0 dropped:906 overruns:0 frame:0
TX packets:1188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:215275 (210.2 KiB) TX bytes:518134 (505.9 KiB)
Interrupt:169 Memory:dfdf0000-dfe00000
========
sudo restart network-manager
=============
Suspend causes eth0 to disconnect intermittently
Install WICD (System > Administration > Synaptic Package Manager; install wicd).
Uninstall network manager (mark for complete removal network-manager and network-manager-gnome). Reboot.
posted on 2013-01-22 10:18 so true 閱讀(1107) 評論(0) 編輯 收藏 所屬分類: Linux