Debug wpa_supplicant (Ubuntu 12.04)

Jouni Malinen j
Mon Mar 16 04:33:59 PDT 2015


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



More information about the Hostap mailing list