Page 11 of 12 FirstFirst ... 9101112 LastLast
Results 101 to 110 of 115

Thread: RTL8111/RTL8168 Network Connection Fix

  1. #101
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,826
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: RTL8111/RTL8168 Network Connection Fix

    Try it with:
    Code:
    sudo make
    sudo cp src/r8168.ko /lib/modules/$(uname -r)/kernel/drivers/net/
    sudo depmod -a
    sudo modprobe -v r8168

  2. #102
    Join Date
    Nov 2011
    Beans
    2

    Re: RTL8111/RTL8168 Network Connection Fix

    Installed 3.1.2 kernel and connection is stable with 8169 driver. One problem does however remain using the 8169 driver, can't get gigabit working, only 100 mbps.

  3. #103
    Join Date
    May 2005
    Beans
    6

    Re: RTL8111/RTL8168 Network Connection Fix

    I'm trying to fix this 8169/8168 issue on my system, which was running fine until the 11.10 upgrade. I followed ratcheer's post (thanks) from a few days ago and verified via lspci that r8168 is in use by the network interfaces after rebooting.

    I use a static IP on eth0. After rebooting, Ubuntu says eth0 has an established connection (and the info appears correct), but I cannot ping google.com, my gateway, or other machines on my network.

    If I switch to DHCP I can then ping google.com, but still cannot ping local machines or my gateway.

    Thanks for any help. I rely on this machine for Samba shares and this is really becoming a problem. I added a few bits of info below, let me know if you need something else. Thanks.

    /etc/resolv.conf:
    Code:
    # Generated by NetworkManager
    nameserver 208.67.222.222
    nameserver 208.67.220.220
    /etc/network/interfaces:
    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.1.88
    gateway 192.168.1.1
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255

    lspci output for network interfaces:
    Code:
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
    	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
    	Flags: bus master, fast devsel, latency 0, IRQ 45
    	I/O ports at c000 [size=256]
    	Memory at ea010000 (64-bit, prefetchable) [size=4K]
    	Memory at ea000000 (64-bit, prefetchable) [size=64K]
    	[virtual] Expansion ROM at ea020000 [disabled] [size=64K]
    	Capabilities: [40] Power Management version 3
    	Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
    	Capabilities: [70] Express Endpoint, MSI 01
    	Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
    	Capabilities: [d0] Vital Product Data
    	Capabilities: [100] Advanced Error Reporting
    	Capabilities: [140] Virtual Channel
    	Kernel driver in use: r8168
    	Kernel modules: r8168
    
    05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
    	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
    	Flags: bus master, fast devsel, latency 0, IRQ 46
    	I/O ports at d000 [size=256]
    	Memory at ea210000 (64-bit, prefetchable) [size=4K]
    	Memory at ea200000 (64-bit, prefetchable) [size=64K]
    	[virtual] Expansion ROM at ea220000 [disabled] [size=64K]
    	Capabilities: [40] Power Management version 3
    	Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
    	Capabilities: [70] Express Endpoint, MSI 01
    	Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
    	Capabilities: [d0] Vital Product Data
    	Capabilities: [100] Advanced Error Reporting
    	Capabilities: [140] Virtual Channel
    	Kernel driver in use: r8168
    	Kernel modules: r8168

  4. #104
    Join Date
    Feb 2008
    Location
    NB, Canada
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: RTL8111/RTL8168 Network Connection Fix

    Check out this thread for a script that takes care of the 'FATAL: Module r8168 not found' when trying to install the latest Realtec driver.
    http://ubuntuforums.org/showthread.php?t=1861865

    My laptop can now go to sleep and wake up without losing the network connection.
    100% Ubuntu: Laptop (Mint 13), Desktop(11.10), Server(10.04)

  5. #105
    Join Date
    Sep 2007
    Location
    Silicon Valley
    Beans
    210
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: RTL8111/RTL8168 Network Connection Fix

    Quote Originally Posted by garolou View Post
    Check out this thread for a script that takes care of the 'FATAL: Module r8168 not found' when trying to install the latest Realtec driver.
    http://ubuntuforums.org/showthread.php?t=1861865
    That thread seems only to address people using the 3.x Debian kernel. I got this problem on Ubuntu 11.04, which uses the 2.6.x kernel. So even though I read through it in some detail, I came away doubting whether any of the information there would actually help me.

    BUT I have good news! For those of us still using the 2.4.x or 2.6.x kernels, Realtec just released a driver update. Version 8.027.00 installed successfully on my system, and I finally have a network connection again.

  6. #106
    Join Date
    Jun 2009
    Location
    Alabama
    Beans
    2,232

    Thumbs up Re: RTL8111/RTL8168 Network Connection Fix

    Thanks, ladasky.

    The old r8168 has been working fine, for me. I wonder if I should gamble on the new one? I would hope that if the new one gave problems, I could just reinstall the older one, but you never know.

    Tim
    Cyberpower PC, Core i5 2500 3.3 gHz, 8GB DDR3, ATI 6770 1GB, Samsung BX 2440 LED 1080p, 1 TB SATA III, 2 TB SATA III, Siduction Linux 64-bit

  7. #107
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,826
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: RTL8111/RTL8168 Network Connection Fix

    Driver version 027 does also compile against kernel 3.0.x (Oneiric), but still not with kernel 3.2 (Precise)

  8. #108
    Join Date
    Jun 2009
    Location
    Alabama
    Beans
    2,232

    Thumbs up Re: RTL8111/RTL8168 Network Connection Fix

    Quote Originally Posted by ratcheer View Post
    Thanks, ladasky.

    The old r8168 has been working fine, for me. I wonder if I should gamble on the new one? I would hope that if the new one gave problems, I could just reinstall the older one, but you never know.
    The new module version works, too. Thanks, again.

    Tim
    Cyberpower PC, Core i5 2500 3.3 gHz, 8GB DDR3, ATI 6770 1GB, Samsung BX 2440 LED 1080p, 1 TB SATA III, 2 TB SATA III, Siduction Linux 64-bit

  9. #109
    Join Date
    Jun 2009
    Location
    Alabama
    Beans
    2,232

    Lightbulb Re: RTL8111/RTL8168 Network Connection Fix

    Quote Originally Posted by praseodym View Post
    Driver version 027 does also compile against kernel 3.0.x (Oneiric), but still not with kernel 3.2 (Precise)
    Actually, kernel 3.2 should work with the standard supplied driver, r8169. At least, it works for me on Arch Linux with the newer kernels.

    Tim
    Cyberpower PC, Core i5 2500 3.3 gHz, 8GB DDR3, ATI 6770 1GB, Samsung BX 2440 LED 1080p, 1 TB SATA III, 2 TB SATA III, Siduction Linux 64-bit

  10. #110
    Join Date
    Jan 2007
    Location
    Canada
    Beans
    4
    Distro
    Ubuntu 6.10 Edgy

    Re: RTL8111/RTL8168 Network Connection Fix

    I find that the r8169 driver in the 3.2 kernel (Ubuntu 12.04 alpha 1+) works once the connection is established which can take anywhere from 10 seconds to 5 minutes to occur. A fast boot is somewhat meaningless if it takes several more minutes to connect.

Page 11 of 12 FirstFirst ... 9101112 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
  •