LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   TL-WN821N Wifi usb doesn't work correctly on Debian Testing. (https://www.linuxquestions.org/questions/linux-hardware-18/tl-wn821n-wifi-usb-doesnt-work-correctly-on-debian-testing-826264/)

Mortuus 08-14-2010 04:39 PM

TL-WN821N Wifi usb doesn't work correctly on Debian Testing.
 
Hi all.

I bought a TL-WN821N for having wifi N.

This usb uses ar9170 driver, but before I installed it, it was using another driver but it was a bit unstable, it always lost the connection several times. So I installed the driver following this instructions from the Debian Wiki.

Code:

Squeeze
1.        Acquire the AR9170 one stage firmware:
$ wget http://www.kernel.org/pub/linux/kernel/ ... /ar9170.fw
2.        Install the firmware:
3.        $ su
4.        # mkdir /usr/local/lib/firmware
# mv ar9170.fw /usr/local/lib/firmware

If not already performed, connect the device to your system.
6.        As the driver may already be loaded, reinsert the module to access installed firmware:
# modprobe -r ar9170usb ; modprobe ar9170usb
7.        Verify your device has an available interface:
# iwconfig
8.        Raise the interface to activate the radio, for example:
# ifconfig wlan0 up
9.        Configure your wireless interface as appropriate.

Then, to configure, I did this:
Code:

2.        Open /etc/network/interfaces in a text editor:
# sensible-editor /etc/network/interfaces
3.        Define appropriate stanzas for your wireless interface, along with the SSID and PSK. For example:
4.        auto wlan0
5.        iface wlan0 inet dhcp
6.        wpa-ssid mynetworkname
wpa-psk mysecretpassphrase
The "auto" stanza will bring your interface up at system startup. If not desired, remove or comment this line.
7.        Save the file and exit the editor.
8.        Bring your interface up. This will start wpa_supplicant as a background process.
# ifup wlan0

But still doesn't work correctly, now it doesn't connect. Looking to 'dmesg', I got this message every time:

Code:

[ 419.506627] wlan0: authenticate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 419.509224] wlan0: authenticated
[ 419.509262] wlan0: associate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 419.511976] wlan0: RX AssocResp from 94:0c:6d:xx:xx:xx (capab=0x431 status=0 aid=1)
[ 419.511985] wlan0: associated
[ 419.544045] wlan0: deauthenticating from 94:0c:6d:xx:xx:xx by local choice (reason=3)
[ 420.930070] wlan0: direct probe to AP 94:0c:6d:xx:xx:xx (try 1)
[ 420.934837] wlan0: direct probe responded
[ 420.934847] wlan0: authenticate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 420.937445] wlan0: authenticated
[ 420.937485] wlan0: associate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 420.940183] wlan0: RX AssocResp from 94:0c:6d:xx:xx:xx (capab=0x431 status=0 aid=1)
[ 420.940193] wlan0: associated
[ 420.972050] wlan0: deauthenticating from 94:0c:6d:xx:xx:xx by local choice (reason=3)
[ 422.342277] wlan0: direct probe to AP 94:0c:6d:xx:xx:xx (try 1)
[ 422.347191] wlan0: direct probe responded
[ 422.347201] wlan0: authenticate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 422.349796] wlan0: authenticated
[ 422.349836] wlan0: associate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 422.352668] wlan0: RX AssocResp from 94:0c:6d:xx:xx:xx (capab=0x431 status=0 aid=1)
[ 422.352678] wlan0: associated
[ 422.384061] wlan0: deauthenticating from 94:0c:6d:xx:xx:xx by local choice (reason=3)
[ 423.761810] wlan0: direct probe to AP 94:0c:6d:xx:xx:xx (try 1)
[ 423.767044] wlan0: direct probe responded
[ 423.767054] wlan0: authenticate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 423.770644] wlan0: authenticated
[ 423.770683] wlan0: associate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 423.773398] wlan0: RX AssocResp from 94:0c:6d:xx:xx:xx (capab=0x431 status=0 aid=1)
[ 423.773408] wlan0: associated
[ 423.809075] wlan0: deauthenticating from 94:0c:6d:xx:xx:xx by local choice (reason=3)
[ 425.180187] wlan0: direct probe to AP 94:0c:6d:xx:xx:xx (try 1)
[ 425.187891] wlan0: direct probe responded
[ 425.187901] wlan0: authenticate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 425.193379] wlan0: authenticated
[ 425.193419] wlan0: associate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 425.198877] wlan0: RX AssocResp from 94:0c:6d:xx:xx:xx (capab=0x431 status=0 aid=1)
[ 425.198887] wlan0: associated
[ 425.233067] wlan0: deauthenticating from 94:0c:6d:xx:xx:xx by local choice (reason=3)
[ 426.603925] wlan0: direct probe to AP 94:0c:6d:xx:xx:xx (try 1)
[ 426.613247] wlan0: direct probe responded
[ 426.613257] wlan0: authenticate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 426.623689] wlan0: authenticated
[ 426.623727] wlan0: associate with AP 94:0c:6d:xx:xx:xx (try 1)
[ 426.640477] wlan0: RX AssocResp from 94:0c:6d:xx:xx:xx (capab=0x431 status=0 aid=1)
[ 426.640487] wlan0: associated
[ 426.684565] wlan0: deauthenticating from 94:0c:6d:xx:xx:xx by local choice (reason=3)

If you need another log, or whatever, I will be pleased to provide it.

Thanks in advance.


All times are GMT -5. The time now is 03:05 PM.