All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksij Rempel <linux@rempel-privat.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] TPlink TL-WN822Nv2 drops out connections randomly on Arch Linux with Kernel 3.12.1-3
Date: Sun, 01 Dec 2013 10:30:03 +0100	[thread overview]
Message-ID: <529B019B.5000200@rempel-privat.de> (raw)
In-Reply-To: <1385868046.9054.5.camel@melech-server.localdomain>

Finally i found a router to reproduce this or similar issue. It is dlink
dir-615 H1... (there is much more problems with it)
In my case it is ath9k-htc firmware issue, so it will take some time to
debug it.

Am 01.12.2013 04:20, schrieb Mark E. Lee:
> 
> -----Original Message-----
> From: Oleksij Rempel <linux@rempel-privat.de>
> To: Mark E. Lee <mark@markelee.com>, ath9k-devel at lists.ath9k.org
> Subject: Re: [ath9k-devel] TPlink TL-WN822Nv2 drops out connections
> randomly on Arch Linux with Kernel 3.12.1-3
> Date: Sat, 30 Nov 2013 08:57:07 +0100
> 
> Am 30.11.2013 05:40, schrieb Mark E. Lee:
>>> Salutations,
>>>
>>> I am still having an error with my TPLINK TL-WN822N V.2 using Arch Linux
>>> (64bit) Kernel 3.12.1-3. This issue has persisted since I got the
>>> adapter (since kernel 3.8.4). When examining my network router's log, I
>>> found I was getting the error: [WLAN access rejected: incorrect
>>> security]
>>>
>>> Sometimes the usb adapter not only disconnects from the internet, but it
>>> also seems to poweroff. I set up a script to disable autosuspend for the
>>> usb wifi adapter and to reload the ath9k_htc module (see below). This
>>> still doesn't stop the adapter from turning off though. Any help?
>>>
>>> ----
>>> #!/bin/bash
>>>
>>> main() {  ## main insertion function
>>>  ping-daemon &                                         ## fork and run
>>> the ping daemon
>>> }
>>>
>>> ping-daemon() {  ## daemon to ping and restart the network adapter
>>>  while :; do
>>>    ping -c 1 192.168.1.1 &> /dev/null || (  ## ping the router
>>>      id="$(lsusb | awk '/TP-Link/ {print $2}')";
>>>      echo "on" > \
>>>       /sys/bus/usb/devices/usb${id//00/}/power/level;  ## tell the
>>> kernel to always leave the usb adapter on
>>>      rmmod ath9k_htc;                                  ## remove the
>>> wifi adapter driver
>>>      modprobe ath9k_htc;                               ## load the wifi
>>> adapter driver
>>>      )
>>>    sleep 1m;                                           ## pause for 1
>>> minute
>>>  done;
>>> }
>>>
>>> main; ## run the main insertion function
>>> ----
>>>
>> Hi Mark,
>>
>> so... router decided to kick you out. Why?
>> It has some security configurations which made this decision. Incorrect
>> key? too many packed on different IPs?
>>
>> Please send your dmesg with reconnections. May be it will provide us
>> some interesting info.
>>
>>
> 
> Salutations,
> 
> I have attached my dmesg log to this email. There may be some excess stuff inside.
> 
> Regards,
> Mark
> 


-- 
Regards,
Oleksij

  parent reply	other threads:[~2013-12-01  9:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-30  4:40 [ath9k-devel] TPlink TL-WN822Nv2 drops out connections randomly on Arch Linux with Kernel 3.12.1-3 Mark E. Lee
2013-11-30  7:57 ` Oleksij Rempel
2013-12-01  3:20   ` Mark E. Lee
2013-12-01  3:33     ` Mark E. Lee
2013-12-01  5:41     ` Mark E. Lee
2013-12-01  9:30     ` Oleksij Rempel [this message]
2013-12-02 18:27       ` Mark E. Lee
2013-12-02 19:06         ` Oleksij Rempel
2013-12-02 21:13           ` Mark E. Lee
2013-12-02 22:33             ` Mark E. Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529B019B.5000200@rempel-privat.de \
    --to=linux@rempel-privat.de \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.