Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have a problem with my usb wireless stick (TP-LINK TL-WN821N) when I'm surfing on the net or something like that, so in every ~30 minutes I get disconnected from the internet, unfortunatly whent it happens I always have to unplug and then connect this usb device so that I can connect to the internet again.

ps: under windows it works properly and under the previous version of ubuntu

share|improve this question

4 Answers 4

I suggest you to do the trick proposed in the comment 13 of this Launchpad bug, that is to blacklist the ar9170usb driver:

share|improve this answer
yes i did the same ..blacklist the driver and it worked properly – One Zero Jan 25 '12 at 15:35

This seems to be a driver bug. See the official documentation for that card:

And the bug reports in launchpad:

Some fixes / workarounds are described. Disabling the N-thingy seemed to work accoding to this answer:

share|improve this answer

Ok i "solved" the problem by manually configuring wireless! HOW TO: 1) Make a config file like this:

        pairwise=CCMP TKIP
        group=CCMP TKIP

see this for more details how to. And save it to /etc/wpa_supplicant/wpa_conf.conf 2) Disable your network manager:

sudo /etc/init.d/NetworkManager stop

then test your configuration by running:

sudo wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_conf.conf

Is everything working? Nice go ahead to step 3)

3) Make a new script on your desktop called containing

/etc/init.d/NetworkManager stop
ifconfig wlan0 down
dhclient -r wlan0
wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_conf.conf
dhclient wlan0

and assure it is runnable.

4) Install "alacarte" (if Ubuntu 11.10) and create a new Launcher in Network Menu:

  • Name: Connnect
  • Command: gksudo /path/to/your/
  • Description and icon: everything you like.

5)Search for "Connect" on your Dash and drag and drop it to your Dock ;)

6)Everytime you need to connect to your network just launch "Connect app" and it's done.

N.B. You need to configure every wireless network by hand!!! Please contact me if something doesn't work!

share|improve this answer

I had exactly the same problem with my stick (TP-LINK TL-WN821N V3). After downloading latest network drivers by following this blog entry, it works a lot better:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.