LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Realtek RTL 8111D(on board) network problem (https://www.linuxquestions.org/questions/linux-networking-3/realtek-rtl-8111d-on-board-network-problem-827630/)

since1992trying 08-21-2010 08:14 AM

Realtek RTL 8111D(on board) network problem
 
This morning my LAN card stop working in my Ubuntu box. I seemed that there was no network card in my system.

Code:

$ ping 192.168.1.11
connect: Network is unreachable

It had worked well before this morning. There was no LED blinking in LAN port backside of the computer. So, I guessed that it is probably because of bad ethernet cable or router. They were working fine. I wondered whether it is a hardware problem or not. I resize my Ubuntu /home partition and install windows XP. After that, I installed all XP drivers for my DG41TY motherboard. Then, I got my network working in XP.
I search for information about DG41TY network problem with linux. No luck. I found a solution from ubuntu forum. One of the suggestions looked like a great solution for me. That was about changing network driver from r8169 to r8168. No luck again.
There was a working solution for me on the next page. It is so simple. Unplug every power sources. Wait a little bit(in my case 30 seconds). Start computer. It worked for me.
I spent all Saturday for this problem. I still don't know what cause this problem. I hope no one waste time with this silly bug.

If anyone knows what cause this trouble, please let us know. Thank you.

paulsm4 08-22-2010 05:10 PM

Hi -

1. The default Ubuntu drivers should work fine.
But Intel also has up-to-date Linux drivers on their web site:
http://www.intel.com/support/motherb.../CS-030044.htm
<= RTL8169 driver should be fine for your RTL8111d on-board NIC/Intel DG41TY mobo

2. Since you've apparently got a multi-boot system, and since the NIC apparently works in Windows, it's probably NOT a h/w problem (good!)

3. Please try the following:
a) DELETE your network interface
b) Reboot Ubuntu
c) Try auto-detect/auto-configure

4. If that doesn't work, please:
a) Run "lspci", see if it detects the device
b) Run "dmesg", see if there were any errors/warnings at startup
c) Look at /var/log/messages syslog, see if there are any errors/warnings
d) Run "insmod", see if the correct RTL driver is loaded

Please post back what you find!

Your .. PSM

PS:
My experience is that the new GUI "NetworkManager" doesn't always play nice with old-school "ifconfig" style manual configuration. Focus on one or the other (cmd-line or GUI), but don't try to mix'n'match.

Frankly, I'd encourage you to use the GUI exclusively - at least until your network configuration is stabile again.

PPS:
If you've ALREADY got your network working, then please mark your thread "SOLVED".

As to *why* the problem occurred - all I can say is "Sometimes, ca-ca happens ;)"

since1992trying 08-24-2010 04:50 AM

Quote:

Originally Posted by paulsm4 (Post 4074442)
Hi -

1. The default Ubuntu drivers should work fine.
But Intel also has up-to-date Linux drivers on their web site:
http://www.intel.com/support/motherb.../CS-030044.htm
<= RTL8169 driver should be fine for your RTL8111d on-board NIC/Intel DG41TY mobo

2. Since you've apparently got a multi-boot system, and since the NIC apparently works in Windows, it's probably NOT a h/w problem (good!)

3. Please try the following:
a) DELETE your network interface
b) Reboot Ubuntu
c) Try auto-detect/auto-configure

4. If that doesn't work, please:
a) Run "lspci", see if it detects the device
b) Run "dmesg", see if there were any errors/warnings at startup
c) Look at /var/log/messages syslog, see if there are any errors/warnings
d) Run "insmod", see if the correct RTL driver is loaded

Please post back what you find!

Your .. PSM

PS:
My experience is that the new GUI "NetworkManager" doesn't always play nice with old-school "ifconfig" style manual configuration. Focus on one or the other (cmd-line or GUI), but don't try to mix'n'match.

Frankly, I'd encourage you to use the GUI exclusively - at least until your network configuration is stabile again.

PPS:
If you've ALREADY got your network working, then please mark your thread "SOLVED".

As to *why* the problem occurred - all I can say is "Sometimes, ca-ca happens ;)"

Thank you for helps, paulsm4. My thread was already solved. I just tried to introduce a simple solution for someone who would have same problem like me.
The solution is very simple. I plug off power cable and restarted the computer after about 30 seconds. It make my network work fine. Some people suggested changing network driver, r8169 to r8168. But, it didn't work.
I have experienced this about 3 times for 1 year after I bought this computer. What bothers me is that I do not know what caused my network stop working. I hope I could get some helps how I can figure.

This is a part of my log file(/var/log/message.1) at the day I lost network card suddenly.

My network was working fine in the morning.
Code:

Aug 21 10:08:40 myubuntu kernel: [    2.705693] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
Aug 21 10:08:40 myubuntu kernel: [    2.705714] r8169 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Aug 21 10:08:40 myubuntu kernel: [    2.706288] eth0: RTL8168d/8111d at 0xffffc9000034e000, 00:1c:c0:d5:71:48, XID 081000c0 IRQ 27
.
.
.
Aug 21 10:08:40 myubuntu kernel: [  31.651048] r8169: eth0: link up
Aug 21 10:08:40 myubuntu kernel: [  31.651056] r8169: eth0: link up

I turn off the computer for a while. I realized my network card not working. when I turn the computer on.
Code:

Aug 21 13:02:42 myubuntu kernel: [    2.680786] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
Aug 21 13:02:42 myubuntu kernel: [    2.680808] r8169 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Aug 21 13:02:42 myubuntu kernel: [    2.706581] eth0: RTL8168d/8111d at 0xffffc9000034e000, 00:1c:c0:d5:71:48, XID 081000c0 IRQ 27
.
.
.
Aug 21 13:02:42 myubuntu kernel: [  31.467954] r8169: eth0: link down
Aug 21 13:02:42 myubuntu kernel: [  31.467965] r8169: eth0: link down

What am I supposed to do to find what caused this problem? Thank you for your helps.

Research 05-03-2011 11:54 PM

Awesome
 
When i first read this thread, i did not believe the solution. Now, I also tried the quick solution, Powering down the machine and booting up solves the issue. This defies all the logic!


All times are GMT -5. The time now is 10:57 AM.