WG: Debug wpa_supplicant (Ubuntu 12.04)
Arend van Spriel
arend
Mon Mar 16 06:21:43 PDT 2015
On 03/16/15 13:20, volker.obhof.w at sew-eurodrive.de wrote:
> 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.
Your configuration seems to look for this network:
id=0 ssid='example open network'
But it never shows up in the scan results. Hence it remains scanning.
Regards,
Arend
>
>
> -----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
>
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
More information about the Hostap
mailing list