My WiFi gets deauthenticated every few minutes or seconds (Reason: 7)

Solution 1:

I had this problem with Maverick so I installed the package linux-backports-modules-wireless-maverick-generic and I got a very stable system. (This packaged provided more recent wireless kernel modules than the default kernel.)

For Natty there is no package linux-backports-modules-wireless-natty-generic. - But you can try to install linux-backports-modules-cw-2.6.39-natty-generic and maybe your disconnects will go away. :)

Solution 2:

It is driver related problem, please post result of "iw reg get" and "iw phy phy0 info"

Solution 3:

I managed to fix this by compiling the driver from source after downloading it from the Realtek site - http://www.realtek.com/downloads/ - and searched for my wireless card on the field on the left.

So, to summarize: fixing this required two steps:

  1. Install WICD.
  2. Compile the original driver from source.