Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  (worked around, but not fixed) TP-Link USB dongle, kernel 3.15, no DHCP lease  (Read 22436 times)

Offline sunrat

  • User
  • Posts: 406
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.744
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




Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • 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!
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline mrsarmitage

  • User
  • Posts: 32
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: 406
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: 406
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: 2.345
    • 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
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline sunrat

  • User
  • Posts: 406
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: 406
Still need the workaround with kernel 3.16-1 so not fixed yet.

Offline sunrat

  • User
  • Posts: 406
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.

Online michaa7

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