wpa_supplicant broken when card is ejected/inserted

Tino Keitel tino.keitel
Sat Dec 2 05:03:06 PST 2006

Hi folks,

I used to use this setup:

- wpa_supplicant always running

- Cardbus card that I insert when I need it

I noticed at some point that this doesn't work anymore. Now I tried to
repair my setup, and observed the following:


- card inserted, supplicant started: can associate, dhclient gets an IP

- card ejected, supplicant goes to sleep

- card inserted again, supplicant seems to associate, but dhclient
  doesn't get an IP [1]

- supplicant restarted, dhclient gets an IP


- card not inserted, supplicant started and waiting for the interface

- card inserted, supplicant can not associate [2]

- supplicant restarted, can associate, dhclient gets an IP

What can I do to repair this setup?

I use wpa_supplicant 0.5.5 (Debian Etch).

The card is Atheros based. Here are the madwifi driver versions:

ath_hal: (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ath_rate_sample: 1.2 (svn r1724)
ath_pci: (svn r1724)

My wpa_supplicant command line:

wpa_supplicant -d -iath0 -w -Dwext -c /etc/wpa_supplicant.conf


[1] http://tikei.de/1.log

[2] http://tikei.de/2.log

More information about the Hostap mailing list