AW: WG: Debug wpa_supplicant (Ubuntu 12.04)
Arend van Spriel
arend
Mon Mar 16 07:19:07 PDT 2015
On 03/16/15 14:54, volker.obhof.w at sew-eurodrive.de wrote:
> Thanks for your help.
>
> Now it works if I use no wifi encryption (debug_info_no_encryption.txt), for example. So it works if I want to enable a connection to my access point. That works fine up until now (The access point has recognized my client).
>
> But the AP still don't gets an ip address from client although I set up my wlan card correctly (ifconfig_iwconfig.txt).
>
> Do you have any idea why my AP can't get an ip address from my client?
Well, because that is not how things are supposed to work. In this
universe an AP (short for Access-Point) provides wireless clients access
to a network. So more often as not an AP also runs a DHCP server
providing clients that connect to it with an IP address.
Regards,
Arend
>
> -----Urspr?ngliche Nachricht-----
> Von: Arend van Spriel [mailto:arend at broadcom.com]
> Gesendet: Montag, 16. M?rz 2015 14:22
> An: Obhof, Volker (FK-FN)
> Cc: j at w1.fi; hostap at lists.shmoo.com
> Betreff: Re: WG: Debug wpa_supplicant (Ubuntu 12.04)
>
> 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
>
>
> ________________________________
>
>
> 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
More information about the Hostap
mailing list