View previous topic :: View next topic |
Author |
Message |
sayusi n00b


Joined: 10 Aug 2006 Posts: 26 Location: Hungary
|
Posted: Thu Aug 16, 2018 9:12 am Post subject: [SOLVED] TPLINK T4U V2 - chipset RTL8812AU drops connection |
|
|
Hi All,
I bought this TP-Link T4U USB Wifi adapter because after some re-org in my flat there is no way to have cable connection between my desktop and router.
I installed the driver successfully following this tutorial. I would like to continue gentoo install by sshing from my laptop to the desktop sitting on my armchair. I experience that the desktop drops connection after a while and I have to restart the net.wlp0s20f0u9 interface to be able to connect again.
Based on the log below I think the RTL871X and the rtl8812au module conflicts and the first decides to shutdown the driver and it might shuts down the usb for a moment.
Any other idea how can I make this device working stable with gentoo?
Dmesg:
Code: |
[ 1350.582935] usb usb1-port9: disabled by hub (EMI?), re-enabling...
[ 1350.582938] usb 1-9: USB disconnect, device number 11
[ 1350.583123] RTL871X: rtw_cmd_thread: DriverStopped(1) SurpriseRemoved(1) break at line 550
[ 1350.593291] RTL871X: rtw_ndev_uninit(wlp0s20f0u9)
[ 1350.617074] RTL871X: rtw_dev_unload: driver not in IPS
[ 1350.839069] usb 1-9: new high-speed USB device number 12 using xhci_hcd
[ 1350.966392] usb 1-9: New USB device found, idVendor=2357, idProduct=010d
[ 1350.966393] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1350.966394] usb 1-9: Product: 802.11n NIC
[ 1350.966395] usb 1-9: Manufacturer: Realtek
[ 1350.966395] usb 1-9: SerialNumber: 123456
[ 1351.051807] RTL871X: rtw_ndev_init(wlan0)
[ 1352.600093] rtl8812au 1-9:1.0 wlp0s20f0u9: renamed from wlan0
[ 1352.969090] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f0u9: link is not ready
[ 1356.940427] RTL871X: rtw_set_802_11_connect(wlp0s20f0u9) fw_state=0x00000008
[ 1367.347415] RTL871X: rtw_set_802_11_connect(wlp0s20f0u9) fw_state=0x00000008
[ 1378.481065] RTL871X: rtw_set_802_11_connect(wlp0s20f0u9) fw_state=0x00000008
[ 1389.755055] RTL871X: rtw_set_802_11_connect(wlp0s20f0u9) fw_state=0x00000008
[ 1407.139738] RTL871X: rtw_set_802_11_connect(wlp0s20f0u9) fw_state=0x00000008
[ 1432.471443] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f0u9: link is not ready
[ 1436.317575] RTL871X: rtw_set_802_11_connect(wlp0s20f0u9) fw_state=0x00000008
[ 1436.407700] RTL871X: start auth
[ 1436.409919] RTL871X: auth success, start assoc
[ 1436.420848] RTL871X: rtw_cfg80211_indicate_connect(wlp0s20f0u9) BSS not found !!
[ 1436.420862] RTL871X: assoc success
[ 1436.421961] RTL871X: send eapol packet
[ 1436.424980] RTL871X: send eapol packet
[ 1436.425111] RTL871X: set pairwise key camid:4, addr:f4:f2:6d:9c:3d:68, kid:0, type:AES
[ 1436.425393] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f0u9: link becomes ready
[ 1436.426073] RTL871X: set group key camid:5, addr:f4:f2:6d:9c:3d:68, kid:1, type:TKIP
|
_________________ - -
-- Csanyi Andras/Sayusi Ando -- http://sayusi.hu -- http://facebook.com/andras.csanyi
-- "Trust in God and keep your gunpowder dry!!" - Cromwell
Last edited by sayusi on Thu Aug 16, 2018 2:50 pm; edited 1 time in total |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55106 Location: 56N 3W
|
Posted: Thu Aug 16, 2018 9:21 am Post subject: |
|
|
sayusi,
The entire dmesg would be useful. Please post it on a pastebin.
At face value Code: | [ 1350.582935] usb usb1-port9: disabled by hub (EMI?), re-enabling... | says that the USB hub turned off your WiFi because of (EMI).
That's Electro-Magnetic Interference. Your WiFi is supposed to do some of that as its a transmitter.
Try another USB bus. Not usb1.
lsusb will show your USB device layout. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
sayusi n00b


Joined: 10 Aug 2006 Posts: 26 Location: Hungary
|
Posted: Thu Aug 16, 2018 2:49 pm Post subject: |
|
|
Thank you very much for the suggestion to put the device into another USB slot. It works now, but there are side effects. Sometimes it drops the connection temporarily - whenever I check output of ifconfig it shows that the interface does not have IP address - but a few seconds later it works again. Ssh connection got frozen for a few secs. DMESG does not contain any error in these cases. I assume this behaviour is kind of nature of wireless connection. The bandwidth of the connection is acceptable (10-15 MByte/sec with 5GHz), under Win 10 I have the same speed.
I mark this post as solved. _________________ - -
-- Csanyi Andras/Sayusi Ando -- http://sayusi.hu -- http://facebook.com/andras.csanyi
-- "Trust in God and keep your gunpowder dry!!" - Cromwell |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55106 Location: 56N 3W
|
Posted: Thu Aug 16, 2018 3:04 pm Post subject: |
|
|
sayusi,
Maybe that's power saving? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
sayusi n00b


Joined: 10 Aug 2006 Posts: 26 Location: Hungary
|
Posted: Thu Aug 16, 2018 3:21 pm Post subject: |
|
|
I assume - I'm not expert on this field, under continuous traffic - emerge output is displayed on my laptop screen - power saving should not be enabled. On the other hand, these glitches are not periodical, they rather random. _________________ - -
-- Csanyi Andras/Sayusi Ando -- http://sayusi.hu -- http://facebook.com/andras.csanyi
-- "Trust in God and keep your gunpowder dry!!" - Cromwell |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55106 Location: 56N 3W
|
Posted: Thu Aug 16, 2018 4:00 pm Post subject: |
|
|
sayusi,
Be sure there is continuous traffic.
Run ping in another terminal Window. Its not very efficient but it will prove a point. If that stops the connection dropping, its worth looking into power saving.
If the connection still drops randomly, its not power saving. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|