You are not logged in.

#1 2015-10-09 04:47:14

mx_joao
Member
From: Brasil
Registered: 2011-12-02
Posts: 46

[SOLVED] Wireless USB dongle won't stay connected.

Hi!

I'm feeling awful by posting this, because there are plenty of information across this forum and the wiki, but after 2 months of a non-stop quest to make my internet work on my laptop (has a Killer WifI, not supported by the kernel), I finally give up and realize I need expert help.

Ok, heres the thing. I have this USB dongle which is a TP-Link something, and gnome 3.16 + networkmanager. The connection doenst seems to drop from the systray, because the wifi icon stays there, like it is connected. But after 1 min, 5 min, 30s, I feel the connection drop. My pages all stop working, and checking the system monitor I can see a traffic of 40b/s U/D. This keeps going. If i remove the dongle I can't reconnect to the previous network, meanwhile, I can try to connect to a new wifi. I can't deal with this anymore. I really need some help.

Thank you.

Last edited by mx_joao (2015-10-13 03:44:36)

Offline

#2 2015-10-09 09:40:48

Elizine
Member
From: United Kingdom
Registered: 2015-10-07
Posts: 39
Website

Re: [SOLVED] Wireless USB dongle won't stay connected.

Hi,

Did you try connecting after disabling antivirus software, if you have installed it?

Offline

#3 2015-10-09 10:40:43

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] Wireless USB dongle won't stay connected.

Antivirus software?? You realize this is a Linux support forum, right?

mx_joa, you need to provide at least some information.
Type of USB dongle, what kernel module does it use, what log entries are produced when it disconnects, etc.

Last edited by byte (2015-10-09 10:42:31)


1000

Offline

#4 2015-10-10 22:12:42

mx_joao
Member
From: Brasil
Registered: 2011-12-02
Posts: 46

Re: [SOLVED] Wireless USB dongle won't stay connected.

Thanks for the help guys.

Can you tell me which comamnds do I need to use in order to verify this? Where I can find those logs?

Offline

#5 2015-10-11 19:02:08

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED] Wireless USB dongle won't stay connected.

You may be using a TP-Link usb wireless dongle that isn't fully supported by the linux kernel yet.
What is the specific model you are using?

Offline

#6 2015-10-12 17:05:00

mx_joao
Member
From: Brasil
Registered: 2011-12-02
Posts: 46

Re: [SOLVED] Wireless USB dongle won't stay connected.

It's the TL-WN822N. I think it's not kernel related, because prior to this one I had the exact same problem with another dongle, but after some time and tweaks it got working. Tried this new adapter, that works for 5 minutes and then it drops without actually dropping the Wi-Fi. Trying to use the old one results in the same problem.

Offline

#7 2015-10-12 19:18:10

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED] Wireless USB dongle won't stay connected.

Are you using the rtl8192cu (or similar) kernel module with this hardware? Hardware using this driver has been known to successfully connect, then drop packets and then drop the connection, before looping over and over doing the same thing repeatedly. You can look for these types of error messages using...

dmesg

I notice on the TP support website for your hardware, there is a linux driver which you can download that would give you an alternative 8192cu driver. Perhaps you could try building and installing that? There are also packages in the AUR, but I'm not sure if they are suitable for your hardware or not?

Offline

#8 2015-10-12 21:59:03

mx_joao
Member
From: Brasil
Registered: 2011-12-02
Posts: 46

Re: [SOLVED] Wireless USB dongle won't stay connected.

You're right paul, they have a Linux driver in the website. http://www.tp-link.com/en/download/TL-W … tml#Driver

The problem is, how do I install it and include in the kernel? I mean, If this is the best way to deal with my problem

I love archlinux and can't switch to another distro and this is the only problem I have right now. And what a problem, no Wi-Fi connection sad

Thanks

Offline

#9 2015-10-12 23:51:00

mx_joao
Member
From: Brasil
Registered: 2011-12-02
Posts: 46

Re: [SOLVED] Wireless USB dongle won't stay connected.

I got something here:

dmesg | grep wlp0s20u1[   13.368696] rtl8192cu 3-1:1.0 wlp0s20u1: renamed from wlan0
[   25.168719] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u1: link is not ready
[   25.580339] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u1: link is not ready
[   26.418380] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u1: link is not ready
[   27.197809] wlp0s20u1: authenticate with 7e:ab:25:3e:bd:01
[   27.208556] wlp0s20u1: send auth to 7e:ab:25:3e:bd:01 (try 1/3)
[   27.221248] wlp0s20u1: authenticated
[   27.223359] wlp0s20u1: associate with 7e:ab:25:3e:bd:01 (try 1/3)
[   27.250181] wlp0s20u1: RX AssocResp from 7e:ab:25:3e:bd:01 (capab=0x411 status=0 aid=3)
[   27.251054] wlp0s20u1: associated
[   27.251061] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20u1: link becomes ready
[  668.893013] wlp0s20u1: deauthenticating from 7e:ab:25:3e:bd:01 by local choice (Reason: 3=DEAUTH_LEAVING)
[  673.852204] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u1: link is not ready
[  673.918518] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u1: link is not ready
[  674.710042] wlp0s20u1: authenticate with 7e:ab:25:3e:bd:01
[  674.720793] wlp0s20u1: send auth to 7e:ab:25:3e:bd:01 (try 1/3)
[  674.732995] wlp0s20u1: authenticated
[  674.733304] wlp0s20u1: associate with 7e:ab:25:3e:bd:01 (try 1/3)
[  674.753275] wlp0s20u1: RX AssocResp from 7e:ab:25:3e:bd:01 (capab=0x411 status=0 aid=3)
[  674.753929] wlp0s20u1: associated
[  674.753956] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20u1: link becomes ready

and

Bus 003 Device 002: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x8178 RTL8192CU 802.11n WLAN Adapter
  bcdDevice            2.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1

Offline

#10 2015-10-13 03:44:13

mx_joao
Member
From: Brasil
Registered: 2011-12-02
Posts: 46

Re: [SOLVED] Wireless USB dongle won't stay connected.

Solved the problem by installing 8192cu-dkms from AUR.

Last edited by mx_joao (2015-10-13 03:46:26)

Offline

#11 2015-10-14 18:13:56

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED] Wireless USB dongle won't stay connected.

That's great - glad you got it sorted.

Cheers Paul.

Offline

Board footer

Powered by FluxBB