seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2019/09/17, 16:20:07


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: (worked around, but not fixed) TP-Link USB dongle, kernel 3.15, no DHCP lease  (Read 11542 times)

0 Members and 1 Guest are viewing this topic.

Offline sunrat

  • User
  • Posts: 297
Re: TP-Link USB dongle, kernel 3.15, no DHCP lease
« Reply #15 on: 2014/06/29, 10:36:43 »
I have a fix for this:-
Remove ath9k_htc module
Code: [Select]
# modprobe -r ath9k_htcLoad it with this parameter
Code: [Select]
modprobe ath9k_htc nohwcrypt=1
I am posting from kernel 3.15-4 and my TP-Link TL-WN822N. :)

From http://blog.gmane.org/gmane.linux.kernel.wireless.general
Quote
lolilolicon | 28 Jun 23:17 2014
Bug: USB wifi card TL-WN722N (AR9271, ath9k_htc) fails to get DHCP lease
This bug was introduced in merge commit 88daf80 (if I did the bisect correctly).
A workaround around the bug is to set the ath9k_htc param nohwcrypt=1.
The difference in the journal/log between good and bad is that in the
presence of the bug, dhcpcd would time out soliciting a DHCP lease.

Offline ayla

  • User
  • Posts: 1.697
Re: TP-Link USB dongle, kernel 3.15, no DHCP lease
« Reply #16 on: 2014/06/29, 10:46:00 »
I have a fix for this:-
Remove ath9k_htc module
Code: [Select]
# modprobe -r ath9k_htcLoad it with this parameter
Code: [Select]
modprobe ath9k_htc nohwcrypt=1
I am posting from kernel 3.15-4 and my TP-Link TL-WN822N. :)

works! Posting with:
Quote
Atheros TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287]
on Kernel 3.15-2.towo-siduction-amd64

Thanks sunrat



Kernel: 4.18.11-towo.1-siduction-amd64 x86_64
Desktop: KDE Plasma 5.13.5
(mostly) kept current siduction "18.3.0 Patience"
HP EliteBook 8570p; MoBo: HP model: 17A7 v: KBC Version 42.35
Dual core  i5-3320M (-MT-MCP-)
Intel 3. Gen Graphics (Ivybridge) Driver:i915/ intel
 Wifi Intel Centrino N6205

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 1.911
    • Land of the Buckeye
Re: TP-Link USB dongle, kernel 3.15, no DHCP lease
« Reply #17 on: 2014/06/29, 21:01:20 »

From http://blog.gmane.org/gmane.linux.kernel.wireless.general
Quote
lolilolicon | 28 Jun 23:17 2014
Bug: USB wifi card TL-WN722N (AR9271, ath9k_htc) fails to get DHCP lease
This bug was introduced in merge commit 88daf80 (if I did the bisect correctly).
A workaround around the bug is to set the ath9k_htc param nohwcrypt=1.
The difference in the journal/log between good and bad is that in the
presence of the bug, dhcpcd would time out soliciting a DHCP lease.


Nice catch sunrat -- thanks!
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Offline mrsarmitage

  • User
  • Posts: 31
Re: (solved) TP-Link USB dongle, kernel 3.15, no DHCP lease
« Reply #18 on: 2014/07/01, 14:23:31 »
the ath5k driver atheros AR2413 is also affected. This is on a pcmcia card on older hp laptop with 3.15 kernel. the card is not recognised.
UB

Offline sunrat

  • User
  • Posts: 297
Re: (solved) TP-Link USB dongle, kernel 3.15, no DHCP lease
« Reply #19 on: 2014/07/21, 06:23:13 »
Still not fixed with today's d-u to kernel 3.15-6. The modprobe workaround is still needed.

Offline sunrat

  • User
  • Posts: 297
Re: (solved) TP-Link USB dongle, kernel 3.15, no DHCP lease
« Reply #20 on: 2014/08/04, 02:56:32 »
Still not fixed with today's d-u to kernel 3.15-8.

@dibl - is this fixed for you or do you still need the workaround? If not fixed could you remove (solved) from the title and it may get more attention.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 1.911
    • Land of the Buckeye
Re: (solved) TP-Link USB dongle, kernel 3.15, no DHCP lease
« Reply #21 on: 2014/08/04, 03:13:12 »
@dibl - is this fixed for you or do you still need the workaround? If not fixed could you remove (solved) from the title and it may get more attention.


Not solved, AFAIK.  I have a different USB dongle that I can use on my desktop system that has no ethernet, so the TP-Link dongle is currently sitting on the shelf.  Changed the title accordingly, in case the ath9k_htc developers are hovering over our siduction forum.   ;D
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Offline sunrat

  • User
  • Posts: 297
I was hoping that the dev who posted in lkml saying he may have introduced the bug may also have fixed it by now. Still hoping. ;)
I am very happy with the performance of this one, 130Mb/s reported speed and reliable connection, so not considering any alternatives.
« Last Edit: 2014/08/04, 12:04:57 by sunrat »

Offline sunrat

  • User
  • Posts: 297
Still need the workaround with kernel 3.16-1 so not fixed yet.

Offline sunrat

  • User
  • Posts: 297
I got tired of reloading the module after every boot. The module parameter can be applied automatically with a file in /etc/modprobe.d/
I added this to ath9k_htc.conf
Code: [Select]
options ath9k_htc nohwcrypt=1
Works perfectly. :) But now I won't know when it is fixed in the kernel.

Offline michaa7

  • User
  • Posts: 2.126
Ok, you can't code, but you still might be able to write a bug report for Debian's sake