Debug wpa_supplicant (Ubuntu 12.04)

volker.obhof.w at sew-eurodrive.de volker.obhof.w
Mon Mar 16 04:12:29 PDT 2015


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


myconf.conf file:

# Plaintext (no encryption) network

ctrl_interface=/opt/deobhvol/hostapd/hostapd-2014-06-03/wpa_supplicant

network={
     ssid="example open network"
     key_mgmt=NONE
}



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.


What could be the reason that wpa_supplicant does not start correctly?

________________________________


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 HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150316/bae597e6/attachment.htm>



More information about the Hostap mailing list