Can't get hostap driver to work
Fri Dec 12 22:21:52 PST 2008
On Fri, 2008-12-12 at 15:51 -0600, Chuck Martin wrote:
> > Lack of "RUNNING" suggests that wpa_supplicant didn't succeed. The
> > output of iwconfig could be useful here. Maybe the interface is in
> > master mode? Then it should be put in managed mode first:
> > iwconfig eth1 mode managed
> I noticed that I already did that in the script, but failed to do it
> when I did it manually. The result is the same, however, I noticed
> that ifconfig shows "RUNNING" before that command, and doesn't show it
> after. Do you have any idea why that would be?
It's because the station is not associated to an AP.
> eth1 IEEE 802.11b ESSID:"test"
> Mode:Managed Frequency:2.422 GHz Access Point: None
As you can see, there is no association.
> Does that tell you anything? The card is in managed mode for sure but
> ifconfig doesn't say "RUNNING" for that interface.
Since you are running WPA supplicant, the answer is likely in its logs.
Also check kernel logs for possible warnings. Maybe the firmware on the
card is old.
More information about the Hostap