Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My wired internet connection has started failing after about a minute. I am working with ubuntu 12.04. The system has been running strong for more than a year now. This new behavior seems to have been triggered by restarting the computer via ssh with the following command:

sudo shutdown -r now

When the connection fails it can be restarted by clicking the Wired connection 1 in the networking drop down menu. When I do that it says wired network disconnected, then Wired connection 1 established. If I run:

ifconfig -a

I get very similar results regardless if the connection is working or not. The top one is not working the bottom one working a few minutes later.

eth0      Link encap:Ethernet  HWaddr 50:e5:49:39:02:35  
          inet addr:140.254.233.250  Bcast:140.254.235.255  Mask:255.255.252.0
          inet6 addr: fe80::52e5:49ff:fe39:235/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:505915 errors:0 dropped:482 overruns:0 frame:0
          TX packets:103243 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:282230050 (282.2 MB)  TX bytes:8576325 (8.5 MB)
          Interrupt:43 Base address:0x8000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4735 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4735 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:365328 (365.3 KB)  TX bytes:365328 (365.3 KB)


eth0      Link encap:Ethernet  HWaddr 50:e5:49:39:02:35  
          inet addr:140.254.233.250  Bcast:140.254.235.255  Mask:255.255.252.0
          inet6 addr: fe80::52e5:49ff:fe39:235/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:513759 errors:0 dropped:484 overruns:0 frame:0
          TX packets:104100 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:283702441 (283.7 MB)  TX bytes:8687253 (8.6 MB)
          Interrupt:43 Base address:0x8000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5223 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5223 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:400395 (400.3 KB)  TX bytes:400395 (400.3 KB)

If I run:

sudo lshw -class network

I get the following:

  *-network               
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 06
       serial: 50:e5:49:39:02:35
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.037.00-NAPI duplex=full ip=140.254.233.250 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:43 ioport:ee00(size=256) memory:fbdff000-fbdfffff memory:fbdf8000-fbdfbfff

I have found reports of other people having similar symptoms with similar Ethernet cards. The top answer from here did not fix the issue. I am at my whits end. I would greatly appreciate any help. I do not know if it matters, but I am using a Gigabyte D2H-B3 motherboard.


I have been digging more on the internet and have found an interesting command:

dmesg | tail -f

It produces the following output:

[17403.353623] r8168: eth0: link up

[17403.354627] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[17414.013600] eth0: no IPv6 routers present

[17527.324897] eth0: no IPv6 routers present

[17552.098039] eth0: no IPv6 routers present

[17807.970183] r8168: eth0: link down

[17812.424501] ADDRCONF(NETDEV_UP): eth0: link is not ready

[20651.244488] r8168: eth0: link up

[20651.245896] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[20661.560793] eth0: no IPv6 routers present

I have no idea what could be causing this, but I feel like we are closer to figuring it out what the root problem is.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.