LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-20-2016, 08:21 AM   #1
aranea.network
LQ Newbie
 
Registered: Dec 2010
Location: Croatia
Distribution: Mint 18 Cinnamon
Posts: 6

Rep: Reputation: 0
TP-LINK TL-WN821N v4.2 shown as connected, but no network connectivity


Hello,

I face a difficult problem, not being able to track the source cause of it. I have an USB wireless card TP-LINK TL-WN821N v4.2 runing on a Linux Mint 18 Cinnamon box (more various details provided below).

In Windows 7, this card operates stable and fast, which is no surprise, but confirms that everything is fine on the hardware side. But on Linux, I am facing several problems... First, I was running openSUSE Gnome (Tumbleweed), the card never wanted to connect automatically to default network and it was more often slow than fast. So I decided to try with Linux Mint 18, Cinnamon. Here comes the weird part - the card connects itself automatically to default network, operates stable and at full speed, but after a while (random amount of time, regardless of network activity) there is no network, although the card is supposedly still connected to it. Everything looks fine regarding the settings, the only confusing part is IP v6 - although I disabled it on both sides (router and host), it is still shown as delegated to the TP-Link card, can't figured it out why.
A minor improvement came with explicit channel selection (but could be subjective feeling, didn't exactly measured it), I switched from automatic (card has chosen channel 1) to dedicated channel 11.

When I have network connectivity, everything works perfectly. I can ping both domain names, as IP addresses. When network connectivity is gone, I can ping only my self. At some point I was thinking maybe the card is powering itself down, so I check it, but as you can see from iwconfig command, power management is off.


Here is various output info you may need for troubleshooting, feel free to ask for more details:


#lsusb
Code:
Bus 002 Device 006: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 005: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 002 Device 004: ID 046d:c328 Logitech, Inc. 
Bus 002 Device 003: ID 2516:001e  
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
#iwconfig
Code:
lo        no wireless extensions.

wlx14cc201e8f45  IEEE 802.11bgn  ESSID:"XXXXX XXXX"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: XX:XX:XX:XX:XX:XX   
          Bit Rate=7.2 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=54/70  Signal level=-56 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:4   Missed beacon:0

enp4s2    no wireless extensions.
#lsmod | grep rtl
Code:
rtlwifi                77824  3 rtl_usb,rtl8192c_common,rtl8192cu
mac80211              737280  4 rtl8xxxu,rtl_usb,rtlwifi,rtl8192cu
cfg80211              565248  2 mac80211,rtlwifi
rtl8xxxu               73728  0
rtl8192cu              69632  0
rtl_usb                20480  1 rtl8192cu
rtl8192c_common        53248  1 rtl8192cu
rtlwifi                77824  3 rtl_usb,rtl8192c_common,rtl8192cu
mac80211              737280  4 rtl8xxxu,rtl_usb,rtlwifi,rtl8192cu
cfg80211              565248  2 mac80211,rtlwifi
#uname -a
Code:
Linux xxxxxx-xxx 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Last edited by aranea.network; 08-21-2016 at 02:46 PM.
 
Old 08-20-2016, 12:05 PM   #2
mimosinnet
Member
 
Registered: Feb 2006
Location: Barcelona, Spain
Distribution: Gentoo
Posts: 37

Rep: Reputation: 8
In a terminal, could you have:

Quote:
dmesg -w
and see if there is any rellevant information when the network slows down.

Cheers!
 
Old 08-21-2016, 08:32 AM   #3
aranea.network
LQ Newbie
 
Registered: Dec 2010
Location: Croatia
Distribution: Mint 18 Cinnamon
Posts: 6

Original Poster
Rep: Reputation: 0
Result of dmesg. Since the original code was to long (over 60k char.), I left what I was thinking is of importance (mostly USB and network related stuff)

#dmesg -w

Lines 0.000000-10.619617: this is happening while in normal operation, then stopped at some point. Nothing happen while the card stopped providing network connectivity. I simply couldn't get any connection to the internet, but the applet in task-bar was still showing I am connected.

Lines 1084.966418-1097.734132: at this point I decided to turn off wireless network, and then turn it again on.

Code:
[    0.000000] microcode: CPU0 microcode updated early to revision 0x7, date = 2013-08-20
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-34-generic (buildd@lgw01-20) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) ) #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 (Ubuntu 4.4.0-34.53-generic 4.4.15)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-34-generic root=UUID=b92b2b2f-3f0a-45b6-ab6a-4e72d732cc4a ro quiet splash vt.handoff=7
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Legacy x87 FPU detected.
[    0.000000] x86/fpu: Using 'lazy' FPU context switches.
[    0.000000] e820: BIOS-provided physical RAM map:
---
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: MSI MS-7586/P55-CD53 (MS-7586)  , BIOS V1.2 09/03/2009
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x240000 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
-----
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-34-generic root=UUID=x-x-x-x-a ro quiet splash vt.handoff=7
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 8124876K/8379512K available (8394K kernel code, 1282K rwdata, 3944K rodata, 1480K init, 1292K bss, 254636K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
-----
[    0.000039] ACPI: Core revision 20150930
[    0.005220] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    0.005242] Security Framework initialized
[    0.005243] Yama: becoming mindful.
[    0.005259] AppArmor: AppArmor initialized
[    0.267057] ACPI: bus type USB registered
[    0.267072] usbcore: registered new interface driver usbfs
[    0.267079] usbcore: registered new interface driver hub
[    0.267093] usbcore: registered new device driver usb
-----
[    0.273748] NetLabel: Initializing
[    0.273749] NetLabel:  domain hash size = 128
[    0.273750] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.273761] NetLabel:  unlabeled traffic allowed by default
-----
[    0.281810] AppArmor: AppArmor Filesystem Enabled
[    0.281871] pnp: PnP ACPI init
-----
[    0.282969] pnp: PnP ACPI: found 7 devices
-----
[    0.289628] NET: Registered protocol family 2
[    0.289788] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[    0.289979] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.290260] TCP: Hash tables configured (established 65536 bind 65536)
[    0.290289] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[    0.290347] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[    0.290437] NET: Registered protocol family 1
-----
[    0.898034] PPP generic driver version 2.4.2
[    0.898087] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.898091] ehci-pci: EHCI PCI platform driver
[    0.898179] ehci-pci 0000:00:1a.0: EHCI Host Controller
[    0.898186] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    0.898196] ehci-pci 0000:00:1a.0: debug port 2
[    0.902120] ehci-pci 0000:00:1a.0: cache line size of 32 is not supported
[    0.902129] ehci-pci 0000:00:1a.0: irq 16, io mem 0xfbcfc000
[    0.912237] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    0.912303] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.912305] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.912307] usb usb1: Product: EHCI Host Controller
[    0.912308] usb usb1: Manufacturer: Linux 4.4.0-34-generic ehci_hcd
[    0.912310] usb usb1: SerialNumber: 0000:00:1a.0
[    0.912632] hub 1-0:1.0: USB hub found
[    0.912648] hub 1-0:1.0: 2 ports detected
[    0.912833] ehci-pci 0000:00:1d.0: EHCI Host Controller
[    0.912838] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    0.912848] ehci-pci 0000:00:1d.0: debug port 2
[    0.916766] ehci-pci 0000:00:1d.0: cache line size of 32 is not supported
[    0.916774] ehci-pci 0000:00:1d.0: irq 23, io mem 0xfbcf6000
[    0.928175] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    0.928239] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.928244] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.928248] usb usb2: Product: EHCI Host Controller
[    0.928251] usb usb2: Manufacturer: Linux 4.4.0-34-generic ehci_hcd
[    0.928254] usb usb2: SerialNumber: 0000:00:1d.0
[    0.928552] hub 2-0:1.0: USB hub found
[    0.928567] hub 2-0:1.0: 2 ports detected
[    0.928676] ehci-platform: EHCI generic platform driver
[    0.928684] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.928688] ohci-pci: OHCI PCI platform driver
[    0.928698] ohci-platform: OHCI generic platform driver
[    0.928704] uhci_hcd: USB Universal Host Controller Interface driver
[    0.928753] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    0.929229] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.929238] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.929693] mousedev: PS/2 mouse device common for all mice
[    0.930179] rtc_cmos 00:01: RTC can wake from S4
[    0.930408] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[    0.930442] rtc_cmos 00:01: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[    0.930458] i2c /dev entries driver
[    0.930533] device-mapper: uevent: version 1.0.3
[    0.930699] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    0.930733] ledtrig-cpu: registered to indicate activity on CPUs
[    0.931721] NET: Registered protocol family 10
[    0.931964] NET: Registered protocol family 17
[    0.931975] Key type dns_resolver registered
-----
[    0.933349] Loading compiled-in X.509 certificates
[    0.934298] Loaded X.509 cert 'Build time autogenerated kernel key: c40ffa48d8617ce4553ee3ab59017c95e74f2501'
[    0.934320] zswap: loaded using pool lzo/zbud
[    0.937332] Key type trusted registered
[    0.942014] Key type encrypted registered
[    0.942028] AppArmor: AppArmor sha1 policy hashing enabled
[    0.942035] ima: No TPM chip found, activating TPM-bypass!
[    0.942075] evm: HMAC attrs: 0x1
[    0.942403]   Magic number: 12:793:283
[    0.942545] rtc_cmos 00:01: setting system clock to 2016-08-21 14:15:29 UTC (1471788929)
[    0.943586] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    0.943587] EDD information not available.
[    0.943625] PM: Hibernation image not present or could not be loaded.
[    1.224241] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.240131] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.356849] usb 1-1: New USB device found, idVendor=8087, idProduct=0020
[    1.356855] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.357524] hub 1-1:1.0: USB hub found
[    1.357837] hub 1-1:1.0: 6 ports detected
-----
[    1.372839] usb 2-1: New USB device found, idVendor=8087, idProduct=0020
[    1.372845] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.373503] hub 2-1:1.0: USB hub found
[    1.373686] hub 2-1:1.0: 8 ports detected
-----
[    1.648132] usb 2-1.1: new full-speed USB device number 3 using ehci-pci
-----
[    1.743487] usb 2-1.1: New USB device found, idVendor=2516, idProduct=001e
[    1.743494] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.743498] usb 2-1.1: Product: CM Storm Peaper Mouse
[    1.743501] usb 2-1.1: Manufacturer: Cooler Master
-----
[    1.816133] usb 2-1.2: new low-speed USB device number 4 using ehci-pci
-----
[    1.916808] usb 2-1.2: New USB device found, idVendor=046d, idProduct=c328
[    1.916815] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.916819] usb 2-1.2: Product: USB Keyboard
[    1.916822] usb 2-1.2: Manufacturer: Logitech
[    1.992134] usb 2-1.4: new high-speed USB device number 5 using ehci-pci
[    2.086433] usb 2-1.4: New USB device found, idVendor=0bda, idProduct=8178
[    2.086439] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.086443] usb 2-1.4: Product: USB WLAN
[    2.086447] usb 2-1.4: Manufacturer: 802.11n
[    2.086450] usb 2-1.4: SerialNumber: 00e04c000001
[    2.156192] usb 2-1.6: new high-speed USB device number 6 using ehci-pci
[    2.248547] usb 2-1.6: New USB device found, idVendor=0424, idProduct=2514
[    2.248553] usb 2-1.6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.249094] hub 2-1.6:1.0: USB hub found
[    2.249296] hub 2-1.6:1.0: 4 ports detected
-----
[    2.604900] FUJITSU Extended Socket Network Device Driver - version 1.0 - Copyright (c) 2015 FUJITSU LIMITED
[    2.635651] [drm] Initialized drm 1.1.0 20060810
[    2.636790] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.636886] r8169 0000:04:02.0 (unnamed net_device) (uninitialized): not PCI Express
[    2.637140] r8169 0000:04:02.0 eth0: RTL8169sb/8110sb at 0xffffc90000e5ac00, 00:e0:52:fe:83:78, XID 10000000 IRQ 18
[    2.637142] r8169 0000:04:02.0 eth0: jumbo features [frames: 7152 bytes, tx checksumming: ok]
[    2.668054] [drm] radeon kernel modesetting enabled.
-----
[    2.689252] usbcore: registered new interface driver usbhid
[    2.689254] usbhid: USB HID core driver
-----
[    2.971180] r8169 0000:04:02.0 enp4s2: renamed from eth0
[    2.976767] input: Cooler Master CM Storm Peaper Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:2516:001E.0001/input/input5
[    2.977038] hid-generic 0003:2516:001E.0001: input,hidraw0: USB HID v1.11 Mouse [Cooler Master CM Storm Peaper Mouse] on usb-0000:00:1d.0-1.1/input0
[    2.977109] hid-generic 0003:2516:001E.0002: ignoring exceeding usage max
[    2.978721] input: Cooler Master CM Storm Peaper Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/0003:2516:001E.0002/input/input6
[    3.032470] hid-generic 0003:2516:001E.0002: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [Cooler Master CM Storm Peaper Mouse] on usb-0000:00:1d.0-1.1/input1
[    3.032641] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:046D:C328.0003/input/input7
-----
[    3.092370] hid-generic 0003:046D:C328.0003: input,hidraw2: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input0
[    3.094239] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:046D:C328.0004/input/input8
[    3.147586] [drm] fb mappable at 0xD045F000
[    3.147588] [drm] vram apper at 0xD0000000
[    3.147588] [drm] size 9216000
[    3.147589] [drm] fb depth is 24
[    3.147590] [drm]    pitch is 7680
[    3.147798] fbcon: radeondrmfb (fb0) is primary device
[    3.147890] Console: switching to colour frame buffer device 240x75
[    3.147943] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[    3.152983] hid-generic 0003:046D:C328.0004: input,hiddev0,hidraw3: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input1
[    3.160336] [drm] Initialized radeon 2.43.0 20080528 for 0000:01:00.0 on minor 0
-----
[    7.023757] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    7.023874] systemd[1]: Detected architecture x86-64.
[    7.024116] systemd[1]: Set hostname to <xx-xx>.
[    7.145356] systemd[1]: Listening on Journal Audit Socket.
[    7.145410] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    7.145436] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.145454] systemd[1]: Listening on fsck to fsckd communication Socket.
[    7.145472] systemd[1]: Listening on udev Kernel Socket.
[    7.145480] systemd[1]: Reached target User and Group Name Lookups.
[    7.145487] systemd[1]: Reached target Remote File Systems (Pre).
[    7.145503] systemd[1]: Listening on Syslog Socket.
[    7.145579] systemd[1]: Created slice System Slice.
[    7.145614] systemd[1]: Listening on LVM2 poll daemon socket.
[    7.145638] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    7.145689] systemd[1]: Created slice User and Session Slice.
[    7.145697] systemd[1]: Reached target Encrypted Volumes.
[    7.145789] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    7.145823] systemd[1]: Listening on udev Control Socket.
[    7.145857] systemd[1]: Listening on Journal Socket.
[    7.156382] systemd[1]: Mounting POSIX Message Queue File System...
[    7.156783] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    7.157272] systemd[1]: Mounting Huge Pages File System...
[    7.157939] systemd[1]: Started Read required files in advance.
[    7.158841] systemd[1]: Started Braille Device Support.
[    7.162221] systemd[1]: Starting Uncomplicated firewall...
[    7.162615] systemd[1]: Starting Set console keymap...
[    7.162988] systemd[1]: Mounting Debug File System...
[    7.163016] systemd[1]: Reached target Remote File Systems.
[    7.163083] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.166555] systemd[1]: Starting Load Kernel Modules...
[    7.166687] systemd[1]: Listening on LVM2 metadata daemon socket.
[    7.167126] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    7.167155] systemd[1]: Reached target Slices.
[    7.167710] systemd[1]: Starting Journal Service...
[    7.169283] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    7.176693] systemd[1]: Started Uncomplicated firewall.
[    7.180976] systemd[1]: Mounted POSIX Message Queue File System.
[    7.181048] systemd[1]: Mounted Debug File System.
[    7.181103] systemd[1]: Mounted Huge Pages File System.
[    7.207666] lp: driver loaded but no devices found
[    7.211274] ppdev: user-space parallel port driver
[    7.220289] systemd[1]: Starting Create Static Device Nodes in /dev...
[    7.221008] systemd[1]: Started Load Kernel Modules.
[    7.221603] systemd[1]: Started LVM2 metadata daemon.
[    7.222061] systemd[1]: Starting Apply Kernel Variables...
[    7.222473] systemd[1]: Mounting FUSE Control File System...
[    7.225219] systemd[1]: Mounted FUSE Control File System.
[    7.235584] systemd[1]: Started Set console keymap.
[    7.241334] systemd[1]: Started Apply Kernel Variables.
[    7.245326] systemd[1]: Started Create Static Device Nodes in /dev.
[    7.245808] systemd[1]: Starting udev Kernel Device Manager...
[    7.263779] systemd[1]: Started Journal Service.
-----
[    7.439510] ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000800-0x000000000000084F (\PMRG) (20150930/utaddress-254)
[    7.439516] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
-----
[    8.868400] rtl8192cu: Chip version 0x11
[    8.882952] cfg80211: World regulatory domain updated:
[    8.882955] cfg80211:  DFS Master region: unset
[    8.882956] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    8.882959] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.882960] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.882961] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    8.882963] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    8.882965] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    8.882967] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    8.882968] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    8.882969] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    8.988286] rtl8192cu: MAC address: 14:cc:20:1e:8f:45
[    8.988291] rtl8192cu: Board Type 0
[    8.988496] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[    8.988519] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[    8.997591] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    8.997816] usbcore: registered new interface driver rtl8192cu
[    9.005298] usbcore: registered new interface driver rtl8xxxu
[    9.007822] rtl8192cu 2-1.4:1.0 wlx14cc201e8f45: renamed from wlan0
[    9.038827] IPv6: ADDRCONF(NETDEV_UP): enp4s2: link is not ready
[    9.047607] r8169 0000:04:02.0 enp4s2: link down
[    9.047667] IPv6: ADDRCONF(NETDEV_UP): enp4s2: link is not ready
[    9.060809] IPv6: ADDRCONF(NETDEV_UP): wlx14cc201e8f45: link is not ready
[    9.062741] rtl8192cu: MAC auto ON okay!
[    9.096006] rtl8192cu: Tx queue select: 0x05
[    9.510451] IPv6: ADDRCONF(NETDEV_UP): wlx14cc201e8f45: link is not ready
[    9.652316] IPv6: ADDRCONF(NETDEV_UP): wlx14cc201e8f45: link is not ready
[   10.480139] floppy0: no floppy controllers found
[   10.521261] wlx14cc201e8f45: authenticate with 94:4a:0c:f6:7b:55
[   10.532474] wlx14cc201e8f45: send auth to 94:4a:0c:f6:7b:55 (try 1/3)
[   10.534940] wlx14cc201e8f45: authenticated
[   10.536176] wlx14cc201e8f45: associate with 94:4a:0c:f6:7b:55 (try 1/3)
[   10.549577] wlx14cc201e8f45: RX AssocResp from 94:4a:0c:f6:7b:55 (capab=0x1411 status=0 aid=1)
[   10.551232] wlx14cc201e8f45: associated
[   10.551273] IPv6: ADDRCONF(NETDEV_CHANGE): wlx14cc201e8f45: link becomes ready
[   10.588051] cfg80211: Regulatory domain changed to country: HR
[   10.588055] cfg80211:  DFS Master region: ETSI
[   10.588056] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   10.588058] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.588060] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   10.588062] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   10.588063] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[   10.588065] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   10.619617] wlx14cc201e8f45: Limiting TX power to 20 (20 - 0) dBm as advertised by 94:4a:0c:f6:7b:55
[ 1084.966418] wlx14cc201e8f45: deauthenticating from 94:4a:0c:f6:7b:55 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1085.022596] cfg80211: World regulatory domain updated:
[ 1085.022600] cfg80211:  DFS Master region: unset
[ 1085.022601] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 1085.022603] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1085.022604] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1085.022605] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 1085.022607] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 1085.022609] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 1085.022610] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 1085.022611] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 1085.022612] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 1096.238040] rtl8192cu: MAC auto ON okay!
[ 1096.275813] rtl8192cu: Tx queue select: 0x05
[ 1096.746491] IPv6: ADDRCONF(NETDEV_UP): wlx14cc201e8f45: link is not ready
[ 1097.651498] wlx14cc201e8f45: authenticate with 94:4a:0c:f6:7b:55
[ 1097.662739] wlx14cc201e8f45: send auth to 94:4a:0c:f6:7b:55 (try 1/3)
[ 1097.677243] wlx14cc201e8f45: authenticated
[ 1097.678842] wlx14cc201e8f45: associate with 94:4a:0c:f6:7b:55 (try 1/3)
[ 1097.691408] wlx14cc201e8f45: RX AssocResp from 94:4a:0c:f6:7b:55 (capab=0x1411 status=0 aid=1)
[ 1097.692849] wlx14cc201e8f45: associated
[ 1097.692905] IPv6: ADDRCONF(NETDEV_CHANGE): wlx14cc201e8f45: link becomes ready
[ 1097.730266] cfg80211: Regulatory domain changed to country: HR
[ 1097.730269] cfg80211:  DFS Master region: ETSI
[ 1097.730270] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 1097.730272] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1097.730274] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 1097.730275] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 1097.730277] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[ 1097.730278] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 1097.734132] wlx14cc201e8f45: Limiting TX power to 20 (20 - 0) dBm as advertised by 94:4a:0c:f6:7b:55
 
Old 08-21-2016, 02:43 PM   #4
aranea.network
LQ Newbie
 
Registered: Dec 2010
Location: Croatia
Distribution: Mint 18 Cinnamon
Posts: 6

Original Poster
Rep: Reputation: 0
Nothing happens when network stops to respond. I have an output, but waiting for approval, since it is pretty long, hope it will be approved soon. But what troubles me is why the card keeps using IPv6 if I set it to 'off' in network settings (applet)?

Also, what I did, and it didn't help - I wrote following lines into the file /etc/sysctl.conf

Code:
# IPv6 disabled
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.wifiinterfacename.disable_ipv6 = 1
where instead wifiinterfacename i wrote the real name of my wifi interface.
I was looking in my router if I can disable IPv6 there, but couldn't find any option which would allow that. Except one option which should prevent router from using IPv6 for itself, but nothing regarding clients.

Last edited by aranea.network; 08-22-2016 at 05:03 AM. Reason: IPv6 new info
 
Old 08-22-2016, 10:28 AM   #5
mimosinnet
Member
 
Registered: Feb 2006
Location: Barcelona, Spain
Distribution: Gentoo
Posts: 37

Rep: Reputation: 8
Mmmm.... Could you have another linux box connected to the same network, as to discard the router from the equation?

What about
Quote:
dmesg | grep wlx14cc201e8f45
I checked with google, and there seems to be some issues with the driver. Could you install the rt8192cu_dkms driver?

Cheers!
 
1 members found this post helpful.
Old 08-26-2016, 12:46 AM   #6
aranea.network
LQ Newbie
 
Registered: Dec 2010
Location: Croatia
Distribution: Mint 18 Cinnamon
Posts: 6

Original Poster
Rep: Reputation: 0
This is the output, no changes for hours:

Code:
user@hostname ~ $ dmesg -w | grep wlx14cc201e8f45 
[    8.403502] rtl8192cu 2-1.4:1.0 wlx14cc201e8f45: renamed from wlan0
[    8.421267] IPv6: ADDRCONF(NETDEV_UP): wlx14cc201e8f45: link is not ready
[    9.005363] IPv6: ADDRCONF(NETDEV_UP): wlx14cc201e8f45: link is not ready
[    9.020457] IPv6: ADDRCONF(NETDEV_UP): wlx14cc201e8f45: link is not ready
[    9.064664] IPv6: ADDRCONF(NETDEV_UP): wlx14cc201e8f45: link is not ready
[   10.509839] IPv6: ADDRCONF(NETDEV_CHANGE): wlx14cc201e8f45: link becomes ready
It seems that now the driver works. I have a stable connection for a few hours now, was not possible before for even 5 min.
I installed the driver suggested on this topic: http://askubuntu.com/questions/47120...-and-rtl8192cu
Here the transcript in case the link becomes unavailable:


Quote:
It's a driver issue.

You might want to check out this thread. http://ubuntuforums.org/showthread.php?t=2148130&page=2

https://github.com/pvaret/rtl8192cu-fixes

COPIED FROM GITHUB:

Ensure you have the necessary prerequisites installed:

Code:
sudo apt-get install linux-headers-generic build-essential dkms git
Clone this repository:

Set it up as a DKMS module:

Code:
sudo dkms add ./rtl8192cu-fixes
Build and install it:

Code:
sudo dkms install 8192cu/1.10
Refresh the module list:

Code:
sudo depmod -a
Ensure the native (and broken) kernel driver is blacklisted:

Code:
sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/
And reboot. You're done.
mimosinnet, thank u a lot for this suggestion.

Last edited by aranea.network; 08-26-2016 at 12:47 AM. Reason: Added thank you note for user mimosinnet
 
Old 08-31-2016, 06:16 PM   #7
mimosinnet
Member
 
Registered: Feb 2006
Location: Barcelona, Spain
Distribution: Gentoo
Posts: 37

Rep: Reputation: 8
I am glad it worked! Many thanks to you by publishing the solution! Cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] wifi disabled after resuming, using TP-LINK TL-WN821N Andy Alt Debian 3 11-25-2013 12:57 PM
Fedora 17 and TP-LINK TL-WN821N glore2002 Fedora 5 01-09-2013 06:56 AM
trace internet link accessed by all network pc connected in interface centos123 Linux - Networking 2 05-15-2012 02:22 AM
Help installing wlan drivers for tp-link WN821N on backtrack 3 vmware kristianperryadams Linux - Newbie 4 05-23-2010 11:31 AM
ndiswrapper VS TP Link - WN821N julian_mintz Linux - Newbie 2 05-07-2009 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration