WG: Debug wpa_supplicant (Ubuntu 12.04)

volker.obhof.w at sew-eurodrive.de volker.obhof.w
Mon Mar 16 05:20:06 PDT 2015


What I mean with "working correctly" is that the WLAN interface wlan0 can be activated with Ubuntu network manager and if I start wpa_cli with root I get the following output:

Selected interface 'wlan0'
wpa_state=SCANNING
address=04:f0:21:01:3d:86
uuid=b0106028-f7cd-5646-b113-89d480003807

So it scans all the time. I think the wlan device has to go into state like "ready" or something else.

I appended wpa_supplicant verbose info in "debug_info.txt" file.



-----Urspr?ngliche Nachricht-----
Von: hostap-bounces at lists.shmoo.com [mailto:hostap-bounces at lists.shmoo.com] Im Auftrag von Jouni Malinen
Gesendet: Montag, 16. M?rz 2015 12:34
An: hostap at lists.shmoo.com
Betreff: Re: Debug wpa_supplicant (Ubuntu 12.04)

On Mon, Mar 16, 2015 at 11:12:29AM +0000, volker.obhof.w at sew-eurodrive.de wrote:
> I try to debug WPA Supplicant in KDevelop IDE with gnu debugger (gdb) in Ubuntu 12.04.
>
> So I startet my own compiled version of wpa_supplicant by gdb: wpa_supplicant ?iwlan0 ?Dnl80211 ?c/home/myconf.conf

> When I start wpa_supplicant with gdb and as root I get the following output:
>
> Successfully initialized wpa_supplicant
> wlan0: CTRL-EVENT-SCAN-STARTED
> wlan0: CTRL-EVENT-SCAN-STARTED
>
> If I start wpa_supplicant as daemon during boot, I works correct.

Could you please clarify what you mean with "working correctly" and how
that output from executing under gdb does not match that expected
functionality? You'll probably want to add some more debug verbosity
(add '-d' to the command line) to figure out what is going on.

--
Jouni Malinen                                            PGP id EFC895FA
_______________________________________________
HostAP mailing list
HostAP at lists.shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap

________________________________


SEW-EURODRIVE GmbH & Co KG
Kommanditgesellschaft, Sitz: Bruchsal, RG Mannheim HRA 230970
Komplement?rin: SEW-EURODRIVE Verwaltungs-GmbH, Sitz: Bruchsal, RG Mannheim HRB 230207

Gesellschafter: J?rgen Blickle, Rainer Blickle
Gesch?ftsf?hrer: J?rgen Blickle (Vorsitzender), Johann Soder, Dr. J?rgen Zanghellini
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug_info.txt
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150316/6142ba7c/attachment-0001.txt>



More information about the Hostap mailing list