Help needed

Jan Ceuleers jan.ceuleers
Mon Mar 27 02:22:59 PST 2006


Jouni Malinen wrote:
> It looks like the client is receiving the first message of 4-way
> handshake and wpa_supplicant log indicates that it is sending out
> message 2/4. However, this message does not show up in hostapd debug
> log.
> 
> Based on this information, it's difficult to say why the message 2/4 is
> not received correctly. It could be either because of the client not
> actually sending it or because of the AP failing to receive it. If you
> have possibility of using a wireless sniffer, it would be interesting to
> see a capture log showing the frames sent between the AP and client in
> this case.

Jouni,

Thanks very much for your response.

I have since resolved the problem. For the record: it seems that I was 
over-configuring the wireless interface on the client prior to calling 
wpa_supplicant. What works is the following:

modprobe ath_pci
ifconfig ath0 up
wpa_supplicant -Bw -c /etc/wpa_supplicant.conf -iath0 -Dmadwifi
dhcpcd -d ath0

What does not work is setting a bunch of parameters (such as ssid, 
network mode, etc.) using iwconfig and iwpriv prior to calling 
wpa_supplicant.

My problem may have been due to one parameter being set in particular, 
but I haven't bothered trying to find out.

Best regards, Jan




More information about the Hostap mailing list