You are not logged in.

#1 2015-02-05 21:35:14

arslonga
Member
Registered: 2014-12-29
Posts: 7

Link is not ready on USB eth adapter w/ Realtek r8152

I recently bought a USB 3.0 hub with ethernet adapter because my Chromebook doesn't come with an ethernet port.

It is recognized by the kernel, but link is no detected.

[gcm@cbook ~]$ lsmod | grep r8152
r8152                  40511  0 
mii                    12675  2 r8152,usbnet
usbcore               199382  11 uas,ath3k,btusb,r8152,uvcvideo,usb_storage,usbhid,usbnet,xhci_hcd,xhci_pci,cdc_ether

lsusb:

[gcm@cbook ~]$ lsusb
Bus 002 Device 012: ID 0bda:8153 Realtek Semiconductor Corp. 
Bus 002 Device 011: ID 2109:0812  
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 046d:c068 Logitech, Inc. G500 Laser Mouse
Bus 001 Device 014: ID 0489:e056 Foxconn / Hon Hai 
Bus 001 Device 002: ID 1bcf:2c67 Sunplus Innovation Technology Inc. 
Bus 001 Device 016: ID 2109:2812  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg:

[ 7459.293043] usb 2-1: new SuperSpeed USB device number 11 using xhci_hcd
[ 7459.459433] usb 1-2: new high-speed USB device number 16 using xhci_hcd
[ 7459.539244] hub 2-1:1.0: USB hub found
[ 7459.539581] hub 2-1:1.0: 4 ports detected
[ 7459.636651] hub 1-2:1.0: USB hub found
[ 7459.637035] hub 1-2:1.0: 4 ports detected
[ 7459.906957] usb 2-1.4: new SuperSpeed USB device number 12 using xhci_hcd
[ 7459.987126] usb 2-1.4: reset SuperSpeed USB device number 12 using xhci_hcd
[ 7459.999713] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880066e16100
[ 7459.999719] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880066e16148
[ 7459.999722] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880066e16190
[ 7460.025525] r8152 2-1.4:1.0 eth0: v1.07.0 (2014/10/09)
[ 7460.035571] r8152 2-1.4:1.0 enp0s20u1u4: renamed from eth0

ethtool before I plug the ethernet cable

[gcm@cbook ~]$ sudo ethtool enp0s20u1u4
Settings for enp0s20u1u4:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Speed: 10Mb/s
	Duplex: Half
	Port: MII
	PHYAD: 32
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00007fff (32767)
			       drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
	Link detected: no

ethtool after I plug the ethernet cable (notice that link speed and duplex are detected but link isn't)

[gcm@cbook ~]$ sudo ethtool enp0s20u1u4
Settings for enp0s20u1u4:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Link partner advertised link modes:  10baseT/Half 10baseT/Full 
	                                     100baseT/Half 100baseT/Full 
	                                     1000baseT/Full 
	Link partner advertised pause frame use: Symmetric Receive-only
	Link partner advertised auto-negotiation: Yes
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 32
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00007fff (32767)
			       drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
	Link detected: no

Playing with ethtool and disabling WoL or autonegotiation and manually different combinations of speed and duplex yields no results: link is still not detected.

Any advice?

Offline

#2 2015-03-18 12:59:35

ivoshm
Member
Registered: 2015-03-18
Posts: 2

Re: Link is not ready on USB eth adapter w/ Realtek r8152

Hi arslonga

if I tested new realtek kernel driver version 2.04.0 dated 2015/3/11 (http://www.realtek.com.tw/downloads/dow … se#RTL8153), problem with no-link disapeared. I hope that this driver will be part of Linux kernel soon.

My environment: stable Manjaro Linux with kernel 3.19.1, i-Tec USB 3.0 hub with Gigabit Ethernet (https://www.youtube.com/watch?v=hTJ_kZHsdE8)

Ivo(sh)

Offline

#3 2015-03-27 20:06:45

arslonga
Member
Registered: 2014-12-29
Posts: 7

Re: Link is not ready on USB eth adapter w/ Realtek r8152

Hi ivshm,

thanks for the info, unfortunately I couldn't get it running.

I compiled the module from your link and tried to use the adapter but with no luck.

ethtool reported no link and tring to bring up the network profile with netctl resulted in a tainted error from the kernel.

Offline

#4 2015-06-09 21:45:45

eherrera
Member
Registered: 2015-06-09
Posts: 1

Re: Link is not ready on USB eth adapter w/ Realtek r8152

I was having the exact problem as arslonga described it.  I'm running Ubuntu 14.04(Linux 3.16.0-38-generic x86_64) on Zenbook UX305FA using the packaged usb ethernet dongle.

Installing the driver ivshm suggested worked for me.

Thanks!

Offline

#5 2015-11-03 12:52:43

darkbasic
Member
Registered: 2015-06-22
Posts: 44

Re: Link is not ready on USB eth adapter w/ Realtek r8152

Same problem with Arch and Linux 4.3 (it worked the first times, but then suddently I got this problem). It works flawlessly with Debian Jessie on a raspberry pi 2 with kernel 4.1.10-v7+.
On Arch I got the very same issue with the asix driver: http://aptosid.com/index.php?name=PNphp … pic&p=6105
The same asix device works flawlessly on the Raspberry Pi.

Last edited by darkbasic (2015-11-03 12:53:12)

Offline

#6 2015-12-16 21:36:19

trg100
Member
Registered: 2015-12-16
Posts: 1

Re: Link is not ready on USB eth adapter w/ Realtek r8152

Had same issue (3.18.24-1-MANJARO).

Found this:

"With USB_BLACKLIST="0bda:8153" in /etc/default/tlp the device works very well..." (https://bugzilla.redhat.com/show_bug.cgi?id=1236679)

Sorted smile

Offline

#7 2015-12-17 08:32:30

ivoshm
Member
Registered: 2015-03-18
Posts: 2

Re: Link is not ready on USB eth adapter w/ Realtek r8152

trg100 - thanks for finding solution. You made my day ...

Ivo(sh)

PS: I used it on 4.1.13-1-MANJARO ... only pitfall was need of reinstalling kernel from package to clear extra driver.

Offline

#8 2015-12-17 08:45:41

darkbasic
Member
Registered: 2015-06-22
Posts: 44

Re: Link is not ready on USB eth adapter w/ Realtek r8152

I somehow excluded TLP because I already had USB_BLACKLIST_WWAN=1, but it seems it didn't work. Thanks!

Offline

#9 2017-09-01 10:25:46

pj288
Member
Registered: 2017-06-22
Posts: 3

Re: Link is not ready on USB eth adapter w/ Realtek r8152

Similar error with 4.12.8-2-ARCH

I've got an XPS 9560 (2017) and bought a usb network dongle to get over the  wi-fi issues.

I really regret moving from my older laptop (sony vaio) with ubuntu. So many issues.

Offline

#10 2017-09-01 14:28:54

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,399
Website

Re: Link is not ready on USB eth adapter w/ Realtek r8152


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB