Results 1 to 5 of 5

Thread: Ethernet is not working after upgrading to 14.04

  1. #1
    Join Date
    Nov 2011
    Beans
    20

    Ethernet is not working after upgrading to 14.04

    Hi,
    I have been using dual boot system with 13.10 for a long time, which used to work perfectly fine. Recently I have upgraded it to 14.04. After the upgrade ethernet stopped working (not even detecting).
    I have installed latest driver from Realtek manually, even that doesnt seem to work.
    Also ethernet is working in windows.

    HTML Code:
    >  lspci | grep Ethernet
    
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
    HTML Code:
    > sudo lshw -C network
      *-network               
           description: Wireless interface
           product: RT3090 Wireless 802.11n 1T/1R PCIe
           vendor: Ralink corp.
           physical id: 0
           bus info: pci@0000:02:00.0
           logical name: wlan0
           version: 00
           serial: 70:f3:95:e3:d8:f8
           width: 32 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
           configuration: broadcast=yes driver=rt2800pci driverversion=3.13.0-32-generic firmware=0.34 ip=10.132.176.197 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
           resources: irq:16 memory:c3400000-c340ffff
      *-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:03:00.0
           logical name: eth0
           version: 03
           serial: 64:31:50:62:91:24
           size: 10Mbit/s
           capacity: 1Gbit/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168d-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
           resources: irq:41 ioport:2000(size=256) memory:c1404000-c1404fff memory:c1400000-c1403fff memory:c1410000-c141ffff

    HTML Code:
    > ifconfig
    
    eth0      Link encap:Ethernet  HWaddr 64:31:50:62:91:24  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    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:65536  Metric:1
              RX packets:175 errors:0 dropped:0 overruns:0 frame:0
              TX packets:175 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:14123 (14.1 KB)  TX bytes:14123 (14.1 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 70:f3:95:e3:d8:f8  
              inet addr:10.132.176.197  Bcast:10.132.255.255  Mask:255.255.0.0
              inet6 addr: fe80::72f3:95ff:fee3:d8f8/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:40425 errors:0 dropped:0 overruns:0 frame:0
              TX packets:10655 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:18365042 (18.3 MB)  TX bytes:1655012 (1.6 MB)
    HTML Code:
    > cat /etc/network/interfaces
    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback
    HTML Code:
    > cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 127.0.1.1


    Thanks for your help

  2. #2
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,085
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Ethernet is not working after upgrading to 14.04

    Change the driver via:

    Code:
    sudo apt-get install --reinstall linux-headers-$(uname -r) linux-headers-generic build-essential dkms
    wget http://media.cdn.ubuntu-de.org/forum/attachments/45/14/3005217-r8168-dkms-8.038.00.tar.gz
    sudo tar xvf 3005217-r8168-dkms-8.038.00.tar.gz -C /usr/src
    sudo dkms add -m r8168-dkms -v 8.038.00
    sudo dkms build -m r8168-dkms -v 8.038.00
    sudo dkms install -m r8168-dkms -v 8.038.00
    sudo depmod -a
    sudo update-initramfs -u 
    echo "blacklist r8169" | sudo tee -a /etc/modprobe.d/blacklist.conf
    Reboot and check:
    Code:
    locate r8169.ko | grep lib
    lspci -nnk | grep -iA2 net
    lsmod
    The new module is named r8168

  3. #3
    Join Date
    Nov 2011
    Beans
    20

    Re: Ethernet is not working after upgrading to 14.04

    Hi,

    That did not work

    HTML Code:
    > locate r8169.ko | grep lib
    /lib/modules/3.13.0-32-generic/kernel/drivers/net/ethernet/realtek/r8169.ko
    HTML Code:
    > lspci -nnk | grep -iA2 net
    02:00.0 Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
        Subsystem: Hewlett-Packard Company Device [103c:1453]
        Kernel driver in use: rt2800pci
    03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
        Subsystem: Hewlett-Packard Company Device [103c:144a]
        Kernel driver in use: r8169

    HTML Code:
    > lsmod
    Module                  Size  Used by
    nls_iso8859_1          12713  1 
    snd_hda_codec_hdmi     46254  1 
    snd_hda_codec_idt      54645  1 
    rfcomm                 69160  8 
    bnep                   19624  2 
    hp_wmi                 14062  0 
    sparse_keymap          13948  1 hp_wmi
    btusb                  32412  0 
    uvcvideo               80885  0 
    videobuf2_vmalloc      13216  1 uvcvideo
    videobuf2_memops       13362  1 videobuf2_vmalloc
    videobuf2_core         40664  1 uvcvideo
    videodev              134688  2 uvcvideo,videobuf2_core
    arc4                   12608  2 
    intel_powerclamp       14705  0 
    coretemp               13435  0 
    kvm_intel             143060  0 
    kvm                   451511  1 kvm_intel
    joydev                 17381  0 
    snd_hda_intel          52355  5 
    snd_hda_codec         192906  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
    snd_hwdep              13602  1 snd_hda_codec
    bluetooth             391196  22 bnep,btusb,rfcomm
    snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
    serio_raw              13462  0 
    snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
    snd_seq_midi           13324  0 
    snd_seq_midi_event     14899  1 snd_seq_midi
    snd_rawmidi            30144  1 snd_seq_midi
    snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
    intel_ips              18664  0 
    snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
    rt2800pci              13606  0 
    rt2800mmio             20986  1 rt2800pci
    snd_timer              29482  2 snd_pcm,snd_seq
    rt2800lib              89076  2 rt2800pci,rt2800mmio
    rt2x00pci              13287  1 rt2800pci
    rt2x00mmio             13603  2 rt2800pci,rt2800mmio
    rt2x00lib              55307  5 rt2x00pci,rt2800lib,rt2800pci,rt2800mmio,rt2x00mmio
    mac80211              630653  3 rt2x00lib,rt2x00pci,rt2800lib
    radeon               1522422  1 
    mei_me                 18627  0 
    snd                    69238  21 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
    i915                  783805  8 
    mei                    82276  1 mei_me
    cfg80211              484040  2 mac80211,rt2x00lib
    eeprom_93cx6           13344  1 rt2800pci
    crc_ccitt              12707  1 rt2800lib
    lpc_ich                21080  0 
    ttm                    85115  1 radeon
    drm_kms_helper         53081  2 i915,radeon
    soundcore              12680  1 snd
    drm                   303102  7 ttm,i915,drm_kms_helper,radeon
    i2c_algo_bit           13413  2 i915,radeon
    wmi                    19177  1 hp_wmi
    video                  19476  1 i915
    hp_accel               26012  0 
    lis3lv02d              20156  1 hp_accel
    input_polldev          13896  1 lis3lv02d
    parport_pc             32701  0 
    ppdev                  17671  0 
    lp                     17759  0 
    parport                42348  3 lp,ppdev,parport_pc
    mac_hid                13205  0 
    hid_generic            12548  0 
    usbhid                 52570  0 
    hid                   106148  2 hid_generic,usbhid
    usb_storage            62209  2 
    psmouse               106678  0 
    r8168                 400910  0 
    ahci                   25819  2 
    r8169                  67581  0 
    libahci                32560  1 ahci
    mii                    13934  1 r8169
    Driver still in use is r8169
    Since I have added r8169 in blacklist.conf, why did it loaded?

  4. #4
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,149
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ethernet is not working after upgrading to 14.04

    Before (and if required, After -) installing the suggested driver, may I recommend to try -
    Code:
    sudo mii-tool -F 100baseTx-FD eth0
    Or, in case of error -
    Code:
    sudo ethtool -s eth0 speed 100 duplex full autoneg off
    Not sure if 'ethtool' is installed by default or not on 13.10, but on 14.04, it seems it is.

    Recommendation based on this thread.

    EDIT:
    Apparently I am 12 minutes late. You already tried the proprietary driver. However, both the native and proprietary drivers loading simultaneously doesn't look right. Please show us the blacklist file where you blacklisted the native driver.
    Last edited by varunendra; August 5th, 2014 at 04:44 AM.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  5. #5
    Join Date
    Nov 2011
    Beans
    20

    Re: Ethernet is not working after upgrading to 14.04

    Thanks varunendra, on running the first command ethernet started working.

    By doing all this, there is a problem now in windows. I have tried reinstalling driver in windows.
    I think adding the r8169 in the blacklist is causing the problem.
    Once I remove that line from blacklist.conf , ethernet is working in windows.


    HTML Code:
    > cat /etc/modprobe.d/blacklist.conf
    # This file lists those modules which we don't want to be loaded by
    # alias expansion, usually so some other driver will be loaded for the
    # device instead.
    
    # evbug is a debug tool that should be loaded explicitly
    blacklist evbug
    
    # these drivers are very simple, the HID drivers are usually preferred
    blacklist usbmouse
    blacklist usbkbd
    
    # replaced by e100
    blacklist eepro100
    
    # replaced by tulip
    blacklist de4x5
    
    # causes no end of confusion by creating unexpected network interfaces
    blacklist eth1394
    
    # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
    # hardware on its own (Ubuntu bug #2011, #6810)
    blacklist snd_intel8x0m
    
    # Conflicts with dvb driver (which is better for handling this device)
    blacklist snd_aw2
    
    # causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
    blacklist i2c_i801
    
    # replaced by p54pci
    blacklist prism54
    
    # replaced by b43 and ssb.
    blacklist bcm43xx
    
    # most apps now use garmin usb driver directly (Ubuntu: #114565)
    blacklist garmin_gps
    
    # replaced by asus-laptop (Ubuntu: #184721)
    blacklist asus_acpi
    
    # low-quality, just noise when being used for sound playback, causes
    # hangs at desktop session start (Ubuntu: #246969)
    blacklist snd_pcsp
    
    # ugly and loud noise, getting on everyone's nerves; this should be done by a
    # nice pulseaudio bing (Ubuntu: #77010)
    blacklist pcspkr
    
    # EDAC driver for amd76x clashes with the agp driver preventing the aperture
    # from being initialised (Ubuntu: #297750). Blacklist so that the driver
    # continues to build and is installable for the few cases where its
    # really needed.
    blacklist amd76x_edac
    blacklist r8169
    Thank you again,
    Last edited by rahbz; August 5th, 2014 at 07:52 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •