Results 1 to 10 of 23

Thread: Wired network can't connect, Wireless fine

Hybrid View

  1. #1
    Join Date
    Oct 2012
    Beans
    11

    Wired network can't connect, Wireless fine

    Hey Guys,

    I've been having this weird problem for a few days now. My Laptop which I have recently installed Ubuntu 12.04 on is unable to connect to a wired network. Wireless is working perfect though.
    I can see a network under the wired network menu called auto ethernet but it never connects.

    Here are some outputs. Not sure what you'll want so I'll just give some common ones to start.

    Code:
    ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
              inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:8366 errors:0 dropped:0 overruns:0 frame:0
              TX packets:730 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:687974 (687.9 KB)  TX bytes:177927 (177.9 KB)
              Interrupt:48 Base address:0xa000 
    
    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:698 errors:0 dropped:0 overruns:0 frame:0
              TX packets:698 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:293678 (293.6 KB)  TX bytes:293678 (293.6 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 00:21:6b:35:df:9c  
              inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::221:6bff:fe35:df9c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:31893 errors:0 dropped:0 overruns:0 frame:0
              TX packets:18077 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:22899778 (22.8 MB)  TX bytes:3302735 (3.3 MB)
    Code:
    lspci
    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
    00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
    00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
    00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
    00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
    00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
    00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
    00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
    00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
    00:1d.3 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
    00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
    00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
    00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
    00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
    01:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9600M GT] (rev a1)
    02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
    06:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller
    06:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
    06:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller
    06:00.3 System peripheral: JMicron Technology Corp. MS Host Controller
    06:00.4 System peripheral: JMicron Technology Corp. xD Host Controller
    Thanks for any help.

    Matt

  2. #2
    Join Date
    Oct 2012
    Beans
    11

    Re: Wired network can't connect, Wireless fine

    No ideas?

  3. #3
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,690
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wired network can't connect, Wireless fine

    Quote Originally Posted by mattjones701 View Post
    Code:
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
    That chip is known for such problems. Although the default driver r8169 in latest kernels seems to work for many, there are still some for whom it doesn't.

    Please try any of these:
    1) Get the latest proprietary driver (r8168 ) from realtek, extract it and follow the instructions in it to install the driver.

    Or,

    2) Follow this post (replace "r8168-8.028.00.tar.bz2" with "r8168-8.032.00.tar.bz2" as it is the latest version) : http://ubuntuforums.org/showthread.php?p=11733546
    (Try the "sudo ./autorun.sh" method first as mentioned at the bottom of the post).

    You may wish to follow the rest of the posts in the above linked thread as they offer a variety of the same fix.

    Please post back whether and which one worked for you.
    Last edited by varunendra; October 9th, 2012 at 11:12 AM.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  4. #4
    Join Date
    Oct 2012
    Beans
    11

    Re: Wired network can't connect, Wireless fine

    Hey thanks for your help. I'm glad I at least know what the problem is now. But unfortunately neither method worked for me. I first tried the autorun method and then your instructions. The only one that failed was modprobe -rfv r8169 saying there was no such module. But I thought this is not really a problem as we don't want it anyway?

    Any other ideas for me to try? I would really love to be able to get this working.

  5. #5
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,690
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wired network can't connect, Wireless fine

    Since you first tried the autorun method, I would think that message is normal, since the autorun script must have unloaded, renamed and blacklisted the r8169 module.

    Let us take a look at the current situation (run these commands after a reboot):
    Code:
    lspci -nnk | grep -iA2 net
    lsmod
    cat /etc/modprobe.d/blacklist.conf | grep r81
    ls /etc/modprobe.d/blacklist*
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  6. #6
    Join Date
    Oct 2012
    Beans
    11

    Re: Wired network can't connect, Wireless fine

    Code:
    lspci -nnk | grep -iA2 net
    02:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]
    	Subsystem: Intel Corporation WiFi Link 5100 AGN [8086:1211]
    	Kernel driver in use: iwlwifi
    --
    03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
    	Subsystem: Hewlett-Packard Company Device [103c:3603]
    	Kernel driver in use: r8168
    Code:
    lsmod
    Module                  Size  Used by
    vesafb                 13844  1 
    parport_pc             32866  0 
    ppdev                  17113  0 
    rfcomm                 47604  0 
    bnep                   18281  2 
    bluetooth             180104  10 rfcomm,bnep
    snd_hda_codec_hdmi     32474  1 
    snd_hda_codec_idt      70795  1 
    arc4                   12529  2 
    joydev                 17693  0 
    hp_wmi                 18092  0 
    sparse_keymap          13890  1 hp_wmi
    snd_hda_intel          33773  3 
    snd_hda_codec         127706  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
    snd_hwdep              13668  1 snd_hda_codec
    snd_pcm                97188  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    nvidia              12319264  53 
    snd_seq_midi           13324  0 
    ir_lirc_codec          12859  0 
    lirc_dev               19204  1 ir_lirc_codec
    snd_rawmidi            30748  1 snd_seq_midi
    ir_mce_kbd_decoder     12777  0 
    ir_sony_decoder        12510  0 
    ir_jvc_decoder         12507  0 
    snd_seq_midi_event     14899  1 snd_seq_midi
    snd_seq                61896  2 snd_seq_midi,snd_seq_midi_event
    snd_timer              29990  2 snd_pcm,snd_seq
    uvcvideo               72627  0 
    psmouse                97362  0 
    serio_raw              13211  0 
    videodev               98259  1 uvcvideo
    ir_rc6_decoder         12507  0 
    v4l2_compat_ioctl32    17128  1 videodev
    snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
    rc_rc6_mce             12502  0 
    ir_rc5_decoder         12507  0 
    ir_nec_decoder         12507  0 
    ene_ir                 18457  0 
    jmb38x_ms              17646  0 
    iwlwifi               396989  0 
    memstick               16569  1 jmb38x_ms
    rc_core                26412  10 ir_lirc_codec,ir_mce_kbd_decoder,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,rc_rc6_mce,ir_rc5_decoder,ir_nec_decoder,ene_ir
    video                  19596  0 
    mac80211              506816  1 iwlwifi
    wmi                    19256  1 hp_wmi
    hp_accel               25976  0 
    lis3lv02d              19876  1 hp_accel
    snd                    78855  16 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    input_polldev          13896  1 lis3lv02d
    mac_hid                13253  0 
    cfg80211              205544  2 iwlwifi,mac80211
    soundcore              15091  1 snd
    snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
    lp                     17799  0 
    parport                46562  3 parport_pc,ppdev,lp
    r8168                 244911  0 
    firewire_ohci          41000  0 
    firewire_core          63558  1 firewire_ohci
    crc_itu_t              12707  1 firewire_core
    sdhci_pci              18826  0 
    sdhci                  33205  1 sdhci_pci
    Code:
    cat /etc/modprobe.d/blacklist.conf | grep r81
    blacklist r8169
    blacklist r8169
    Code:
    ls /etc/modprobe.d/blacklist*
    /etc/modprobe.d/blacklist-ath_pci.conf
    /etc/modprobe.d/blacklist.conf
    /etc/modprobe.d/blacklist-firewire.conf
    /etc/modprobe.d/blacklist-framebuffer.conf
    /etc/modprobe.d/blacklist-modem.conf
    /etc/modprobe.d/blacklist-oss.conf
    /etc/modprobe.d/blacklist-rare-network.conf
    /etc/modprobe.d/blacklist-watchdog.conf
    Thanks so much for helping

  7. #7
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,690
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wired network can't connect, Wireless fine

    You're welcome ! We do it because we enjoy it.

    Everything seems to be in order as expected (except that the r8169 is blacklisted twice which is not a problem).

    Have you tried to connect after a reboot? If still not successful, please post the outputs of:
    Code:
    ifconfig -a
    lshw -C network
    dmesg | grep r81
    Last edited by varunendra; October 9th, 2012 at 01:43 PM.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

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
  •