Most recent kernel where this bug did not occur: Distribution: Slackware 12.0 Hardware Environment: M2N32-SLI Deluxe, "onboard" RTL8187 Software Environment: Problem Description: It seems like the driver is losing the essid, i have to perform a loop to reassign the essid every X seconds to keep the network up. Some persistent ping test is enough to perform the tests. Steps to reproduce: iwconfig wlan0 mode managed essid "testingthis" channel 3 iwconfig wlan0 key restricted "s:vdd7333trE444n0f" To get the network functional again, perform 'iwconfig wlan0 essid "testingthis"'
This worked well: http://www.aircrack-ng.org/doku.php?id=r8187 Kernel 2.6.22.6 with the separate modules from http://rtl-wifi.sourceforge.net(which seems to be exactly the one in the current kernel tree) didn't work too.
Can you post the contents of /var/log/messages when you get disconnected? It is possible that your AP is disconnecting you for inactivity. Are you using wpa_supplicant or NetworkManager? These should try to reconnect for you automatically.