LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-21-2010, 08:14 AM   #1
since1992trying
LQ Newbie
 
Registered: May 2010
Location: Seoul
Distribution: Debian Lenny, Ubuntu Lucid
Posts: 19

Rep: Reputation: 0
Smile 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.

Last edited by since1992trying; 08-21-2010 at 08:20 AM.
 
Old 08-22-2010, 05:10 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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 "

Last edited by paulsm4; 08-22-2010 at 05:13 PM.
 
Old 08-24-2010, 04:50 AM   #3
since1992trying
LQ Newbie
 
Registered: May 2010
Location: Seoul
Distribution: Debian Lenny, Ubuntu Lucid
Posts: 19

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by paulsm4 View Post
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.
 
Old 05-03-2011, 11:54 PM   #4
Research
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
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!
 
  


Reply

Tags
lan, network, realtek


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
the realtek rtl-8187b ..NO WIRELESS :( DaRk_soul Linux - Laptop and Netbook 7 04-01-2010 10:46 AM
Ethernet problem: SuSE10.0, Realtek RTL-8139/8139C, NetcommNB5 Kelly Jones Linux - Wireless Networking 12 04-18-2007 06:38 PM
RealTek RTL 8129 Fat Ethernet Problem in Fedora thinker Linux - Hardware 0 04-17-2007 02:44 AM
Debian 3.1r0a, Realtek RTL-8169 network controller slow on network mvr853 Linux - Networking 0 07-21-2006 08:20 PM
Failed detection of "Realtek Semiconductor Co., Ltd. RTL-8139" network card scuffell Linux - Networking 5 06-15-2004 05:34 AM


All times are GMT -5. The time now is 01:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration