In article <20080116014730.GB2054%baea.com.au@localhost>,
Brett Lymn <blymn%baesystems.com.au@localhost> wrote:
On Tue, Jan 15, 2008 at 12:16:14PM +0200, Alan Barrett wrote:
I connect to both WEP and WPA-PSK networks using a wpi card (built in to
an HP laptop) with wpa_supplicant.
It sometimes disconnects (perhaps a few times a day), and "ifconfig wpi0
down up" fixes it.
I have the same problem with iwi and wpa-psk, while a ifconfig down/up
fixes the problem I have found, in my case, that a "wpa_cli
reassociate" seems to be a bit faster. As a bit of a kludge, I have a
script that pings my AP and if the ping times out I perform a
reassociation.
Yup, using wpa-psk is impossible. I keep doing reassoc on wpa-cli (which
is the reason I made this work in the summer, and also make wpa_supplicant
survive ifconfig up/down). Perhaps there is a newer version of the code that
fixes this? It is really annoying.