Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 79

Thread: 11.10 wired network problem

  1. #31
    Join Date
    Aug 2009
    Beans
    12

    Re: 11.10 wired network problem

    Thanks Varunendra for your help.
    Yes i have tried the other suggestions earlier in the thread, and nothing works. I complete the set of commands Praseodym recommends and at the end all that happens is the wireless icon on the tool bar starts flashing and the wired network panel pops up with the user and password already entered, asking to connect, at which point i click connect and nothing happens.

    If i pull out the wifi connection a message saying network connection unplugged appears suggesting the wired connection has been interrupted but in reality it is the wireless connection that is being interrupted. I read somewhere that the wired driver can be mistakingly used as the wireless driver but i am unsure of this.

    If the wired driver r8169 is put in the wrong directory which directory would it need to be put in?

    I ran the sudo ./autorun .sh command and it removed or updated the r8168 driver to r8169 ok, but still got the same problems as above.

  2. #32
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 11.10 wired network problem

    Did you try the set of commands I provided as 'summary'? The sudo ./autorun.sh method doesn't seem to work in some cases.

    Quote Originally Posted by martin1969 View Post
    If the wired driver r8169 is put in the wrong directory which directory would it need to be put in?
    You need r8168, as r8169 is the one that often creates trouble. Any of these should be located in /lib/modules/3.0.0-16-generic/kernel/drivers/net/ directory (where 3.0.0-16-generic should be replaced by the current kernel in use, if different than this.). You can determine its location (if exists) by 'locate command. For example, for r8168:
    Code:
    locate r8168
    Or more precisely,
    Code:
    locate r8168.ko
    (where r8168.ko is the actual module name)

    Quote Originally Posted by martin1969 View Post
    I ran the sudo ./autorun .sh command and it removed or updated the r8168 driver to r8169 ok, but still got the same problems as above.
    If installed correctly, it should actually 'remove' the r8169 driver, and load r8168 instead. If you still see r8169 being loaded, then either r8168 is not installed correctly, or r8169 hasn't been removed properly, or both.

    I think you should post the outputs of (while the wireless is turned 'On' and also the cable is connected):
    Code:
    lspci -nnk | grep -iA2 net
    lsmod
    ifconfig -a
    iwconfig
    rfkill list all
    iwlist scan
    cat /etc/network/interfaces
    Run the above commands and post back their outputs here. While posting, click on '#' at the top of edit box to generate 'CODE' tags pair, then copy-paste the outputs in-between those tags.


    PS:
    I'm going out on vacation and may not be able to reply before 12th of this month, but hopefully the above outputs should get you immediate help from others here.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  3. #33
    Join Date
    Aug 2009
    Beans
    12

    Re: 11.10 wired network problem

    Thanks again for any help.
    Here is the output from the commands i think by looking at it i need to delete the r8169 driver possibly, as the r8168 seems to be being used.


    Code:
    martin@martin-GA-870A-UD3:~$ lspci -nnk | grep -iA2 net
    06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
        Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard [1458:e000]
        Kernel driver in use: r8168

    Code:
    martin@martin-GA-870A-UD3:~$ lsmod
    Module                  Size  Used by
    vesafb                 13809  1 
    snd_hda_codec_hdmi     32040  4 
    bnep                   18436  2 
    rfcomm                 47946  0 
    bluetooth             166112  10 bnep,rfcomm
    snd_hda_codec_realtek   330769  1 
    binfmt_misc            17540  1 
    nvidia              11713772  40 
    ppdev                  17113  0 
    arc4                   12529  2 
    snd_hda_intel          33390  3 
    snd_hda_codec         104931  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep              13668  1 snd_hda_codec
    snd_pcm                96714  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    rt2800usb              22590  0 
    rt2800lib              54538  1 rt2800usb
    crc_ccitt              12667  1 rt2800lib
    rt2x00usb              20830  1 rt2800usb
    snd_seq_midi           13324  0 
    snd_rawmidi            30547  1 snd_seq_midi
    serio_raw              13166  0 
    snd_seq_midi_event     14899  1 snd_seq_midi
    snd_seq                61896  2 snd_seq_midi,snd_seq_midi_event
    k10temp                13166  0 
    rt2x00lib              50365  3 rt2800usb,rt2800lib,rt2x00usb
    mac80211              462046  3 rt2800lib,rt2x00usb,rt2x00lib
    edac_core              53746  0 
    joydev                 17693  0 
    edac_mce_amd           23709  0 
    cfg80211              199630  2 rt2x00lib,mac80211
    snd_timer              29991  2 snd_pcm,snd_seq
    snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
    snd                    68266  16 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    sp5100_tco             13791  0 
    soundcore              12680  1 snd
    i2c_piix4              13301  0 
    snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
    wmi                    19256  0 
    parport_pc             36962  1 
    lp                     17799  0 
    parport                46562  3 ppdev,parport_pc,lp
    firewire_ohci          40722  0 
    firewire_core          63626  1 firewire_ohci
    usbhid                 47198  0 
    hid                    95463  1 usbhid
    floppy                 70365  0 
    crc_itu_t              12707  1 firewire_core
    xhci_hcd               82820  0 
    r8168                 211483  0 
    pata_atiixp            13164  0 
    ahci                   26002  2 
    libahci                26861  1 ahci
    pata_jmicron           12747  0

    Code:
    martin@martin-GA-870A-UD3:~$ ifconfig -a
    eth1      Link encap:Ethernet  HWaddr 1c:6f:65:4c:80:9a  
              inet6 addr: fe80::1e6f:65ff:fe4c:809a/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:107 errors:0 dropped:0 overruns:0 frame:0
              TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:10788 (10.7 KB)  TX bytes:5121 (5.1 KB)
              Interrupt:49 Base address:0xc000 
    
    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:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    wlan1     Link encap:Ethernet  HWaddr 00:08:10:77:34:a1  
              inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::208:10ff:fe77:34a1/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:18243 errors:0 dropped:0 overruns:0 frame:0
              TX packets:15858 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:20517185 (20.5 MB)  TX bytes:3087433 (3.0 MB)

    Code:
    martin@martin-GA-870A-UD3:~$ iwconfig
    lo        no wireless extensions.
    
    eth1      no wireless extensions.
    
    wlan1     IEEE 802.11bgn  ESSID:"virginmedia4691359"  
              Mode:Managed  Frequency:2.422 GHz  Access Point: C4:3D:C7:43:12:94   
              Bit Rate=58.5 Mb/s   Tx-Power=20 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:on
              Link Quality=37/70  Signal level=-73 dBm  
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:170  Invalid misc:101   Missed beacon:0
    
    
    
    martin@martin-GA-870A-UD3:~$ rfkill list all
    0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    
    
    martin@martin-GA-870A-UD3:~$ iwlist scan
    lo        Interface doesn't support scanning.
    
    eth1      Interface doesn't support scanning.
    
    wlan1     Scan completed :
              Cell 01 - Address: C4:3D:C7:43:12:94
                        Channel:3
                        Frequency:2.422 GHz (Channel 3)
                        Quality=37/70  Signal level=-73 dBm  
                        Encryption key:on
                        ESSID:"virginmedia4691359"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=0000009119fa3b8a
                        Extra: Last beacon: 33276ms ago
                        IE: Unknown: 001276697267696E6D6564696134363931333539
                        IE: Unknown: 010882848B962430486C
                        IE: Unknown: 030103
                        IE: Unknown: 2A0100
                        IE: Unknown: 2F0100
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 32040C121860
                        IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D1603080000000000000000000000000000000000000000
                        IE: Unknown: DD6F0050F204104A0001101044000102103B000103104700104D73C5C27E6B5243D6440AAB1719670B102100074E657467656172102300074E6574676561721024000631323334353610420007303030303030311054000800060050F204000110110007564D4447343830100800020088
                        IE: Unknown: DD090010180201F0050000
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                        IE: Unknown: DD1E00904C337C181BFFFF000000000000000000000000000000000000000000
                        IE: Unknown: DD1A00904C3403080000000000000000000000000000000000000000
    
    
    martin@martin-GA-870A-UD3:~$ cat /etc/network/interfaces
    auto lo
    iface lo inet loopback
    Last edited by uRock; March 12th, 2012 at 01:02 PM. Reason: code tags

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

    Re: 11.10 wired network problem

    First off, please remember to always wrap your output codes within [ code]..[ /code] tags as I asked in my previous post:
    Quote Originally Posted by varunendra View Post
    While posting, click on '#' at the top of edit box to generate 'CODE' tags pair, then copy-paste the outputs in-between those tags.
    It preserves the formatting of the output making it more readable and avoids the code-parts turning into smileys.

    Onto the problem now. As per the outputs, the ethernet is now using the r8168 driver as expected. Try manually disabling the wireless interface (although I'm not sure how it can interfere with a wired connection) using the function key combination or manual switch whatever you have to do so, then retry to connect via cable.

    As for the wireless part, yours seems to be some realtek chip which is apparently being controlled by rt2800usb module. However, the signal strength is not good (37/70). Try getting closer to the access point and retry to connect without connecting the cable.

    For more clarity, please post the outputs of:
    Code:
    lsusb
    sudo lshw -C network
    PS:
    Disabling IPv6 also helps sometimes with slow communication problems which can also trigger slow or no-response issues between routers and NICs. You can disable it using any of these guides:
    http://www.webupd8.org/2010/05/how-t...untu-1004.html
    http://www.ubuntugeek.com/how-to-dis...in-ubuntu.html
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  5. #35
    Join Date
    Jan 2011
    Location
    Illinois, US
    Beans
    1
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: 11.10 wired network problem

    I just want to say thanks for this thread. I used the manual method listed by praseodym and now my wired connection is working like it should. The autorun.sh script didn't do the trick for me.

  6. #36
    Join Date
    Jul 2011
    Beans
    20

    Smile Re: 11.10 wired network problem

    This solution works! Thank you! I tried various suggestions on several sites but only the steps that Varun posted in #30 finally solved the problem for me.

    Because I don't use wireless, I instead copied the driver (folder) from the link in Varun's first paragraph, copied the folder to my home directory, typed the first line "sudo su" and then continued from the fifth line (cd r8168-8.028.00) onward.

    As you can probably tell from my description, I'm not really adept in the shell but I was OK with Varun's instructions.

    You've made my day, Varun. Thanks again!

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

    Re: 11.10 wired network problem

    Quote Originally Posted by abriano View Post
    the steps that Varun posted in #30 finally solved the problem for me.
    Great! It's always good to hear a positive feedback. Now I can suggest this solutions to others with more confidence.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  8. #38
    Join Date
    Aug 2009
    Beans
    12

    Re: 11.10 wired network problem

    Sorry for the late response i have been away.

    I hope this is better i didnt really understand the code thing from previous but now i do.

    Everything i have tried doesnt work. I have tried deleting r8169 driver with no success.

    The driver i am using is the r8168B driver, does this make a difference?



    Code:
    artin@martin-GA-870A-UD3:~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
    Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
    martin@martin-GA-870A-UD3:~$ sudo lshw -C network
    [sudo] password for martin: 
      *-network               
           description: Ethernet interface
           product: RTL8111/8168B PCI Express Gigabit Ethernet controller
           vendor: Realtek Semiconductor Co., Ltd.
           physical id: 0
           bus info: pci@0000:06:00.0
           logical name: eth1
           version: 03
           serial: 1c:6f:65:4c:80:9a
           size: 1Gbit/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=full firmware=rtl_nic/rtl8168d-2.fw latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
           resources: irq:48 ioport:9e00(size=256) memory:fd8ff000-fd8fffff memory:fd8f8000-fd8fbfff memory:fd800000-fd81ffff
      *-network
           description: Wireless interface
           physical id: 1
           bus info: usb@2:5
           logical name: wlan1
           serial: 00:08:10:77:34:a1
           capabilities: ethernet physical wireless
           configuration: broadcast=yes driver=rt2800usb driverversion=3.0.0-16-generic firmware=0.29 ip=192.168.0.10 link=yes multicast=yes wireless=IEEE 802.11bgn

  9. #39
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    6,632
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: 11.10 wired network problem

    You are still using the r8169. Try:
    Code:
    sudo apt-get install --reinstall linux-headers-$(uname -r) linux-headers-generic build-essential dkms
    wget http://media.cdn.ubuntu-de.org/forum....028.00.tar.gz
    sudo tar xvf 3005217-r8168-dkms-8.028.00.tar.gz -C /usr/src
    sudo dkms add -m r8168-dkms -v 8.028.00
    sudo dkms build -m r8168-dkms -v 8.028.00
    sudo dkms install -m r8168-dkms -v 8.028.00
    echo "blacklist r8169" | sudo tee -a /etc/modprobe.d/blacklist.conf
    sudo modprobe -rfv r8169
    sudo mv /lib/modules/$(uname -r)/kernel/drivers/net/r8169.ko /lib/modules/$(uname -r)/kernel/drivers/net/r8169.bak
    sudo modprobe -v r8168
    Maybe a kernel upgrade brought the r8169 back?!

  10. #40
    Join Date
    Aug 2009
    Beans
    12

    Re: 11.10 wired network problem

    Thanks for your help Praseodym.

    I have tried this and in the second line i get an error 404. I tried using command that worked earlier in the thread, but got to a point where it said directory not found.

    I have tried mixing and matching various advice from this thread, but i cant delete the driver r8169.bak.

    When i check through the file system to lib/modules/3.0.0-17 generic/drivers/net i have the r8168.ok driver installed next to the r8169.bak driver, and no matter what i try the r8169.bak driver stays there.

    Is there a way of totally removing this driver with command line?

Page 4 of 8 FirstFirst ... 23456 ... LastLast

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
  •