Yes GV, that helped me understand the "error" a bit.<br><br>My main issue now is eap-ttls with chap (or pap) and setting up the "network" setting in a configuration file.<br><br>Do you have a specific example of CHAP (or PAP)?? Frankly, I'm not sure of which settings are required.
<br><br>furthermore, the ap I wish to connect to is hidden. so I'm using ap_scan=2. is that correct?<br><br>thanks so much,<br><br>george<br><br><div><span class="gmail_quote">On 7/14/06, <b class="gmail_sendername">Gianluca Varenni
</b> <<a href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div bgcolor="#ffffff">
<div><font size="2">oid 0x0d010101 is OID_802_11_BSSID, and from the trace you
sent, it seems that wpa_supplicant is querying the current BSSID to the wifi
card (the function is called xxx_get_xxx)</font><font size="2">. From the MSDN
documentation, a query for this OID will fail (in infrastructure mode) if the
NIC is not associated to an AP.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Hope it helps</font></div>
<div><font size="2">GV</font></div>
<div> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="gslockwood@gmail.com (mailto:gslockwood@gmail.com)" href="mailto:gslockwood@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">George S.
Lockwood</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="winpcap-users@winpcap.org (mailto:winpcap-users@winpcap.org)" href="mailto:winpcap-users@winpcap.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
winpcap-users@winpcap.org</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Friday, July 14, 2006 7:03 AM
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [Winpcap-users] Adapting
WinPcap's functionality for connecting to Wi-Fi access points (APs).</div>
<div><br></div>Well, yes removing the 's works, but now another
problem:<br><br>NDIS: Driver supports OID_802_11_CAPABILITY - NoOfPMKIDs 4
NoOfAuthEncrPairs 12<br>NDIS: driver capabilities: key_mgmt 0xf enc 0xf auth
0x3<br>Own MAC address: 00:16:6f:4e:02:c7 <br>wpa_driver_ndis_set_wpa:
enabled=1<br><span style="font-weight: bold;">ndis_get_oid: oid=0xd010101 len
(6) failed</span><br style="font-weight: bold;"><span style="font-weight: bold;">ndis_get_oid: oid=0xd010101 len (6) failed
</span><br style="font-weight: bold;"><span style="font-weight: bold;">ndis_get_oid: oid=0xd010101 len (6) failed</span><br style="font-weight: bold;"><span style="font-weight: bold;">ndis_get_oid:
oid=0xd010101 len (6) failed </span><br>Setting scan request: 0 sec 100000
usec<br>Added interface
\Device\NPF_{556DEBC4-B686-4A77-A2D8-7F34F3A5708F}<br>NDIS: Failed to get
SSID<br>Could not read SSID from driver.<br>ndis_get_oid: oid=0xd010101 len
(6) failed <br>ndis_get_oid: oid=0xd010101 len (6) failed<br>ndis_get_oid:
oid=0xd010101 len (6) failed<br>CTRL-EVENT-TERMINATING - signal 2
received<br>Removing interface
\Device\NPF_{556DEBC4-B686-4A77-A2D8-7F34F3A5708F}<br>State: DISCONNECTED
-> DISCONNECTED <br>No keys have been configured - skip key
clearing<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External
notification - portValid=0<br>wpa_driver_ndis_set_wpa: enabled=0<br>No keys
have been configured - skip key clearing <br>Cancelling scan request<br><br>I
guess I can look up the OID for <span style="font-weight: bold;">0xd010101</span> any ideas? did you see this?
<br><br>also the SSID I gave it is valid. does the key have to be 256
bit encoded? <br><br>george<br><br>
<div><span class="gmail_quote">On 7/13/06, <b class="gmail_sendername">George S.
Lockwood</b> <<a href="mailto:gslockwood@gmail.com" title="mailto:gslockwood@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gslockwood@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Thanks man, that's really great you understand it all!<br><br>I tried
removing the braces and the prefix to the guid part, tomorrow morning I'll
remove the apostrophes. I think I included the 's because they were in
an example! <br><br>I believe I tried -i"Intel" (for my card) but not sure
about 's or "s or what. So I'll try -iIntel first.<br><br>If I can
just get past this, then maybe I'll see whether I have a viable config file.
<br><br>so is the order of steps<br>1. learn of the NIC's interface.<br>2.
use that with the wpa_supplicant.exe -i -c config.file<br>3. start
ndis_event.exe
(or is this optional)<br>4. then
wpa_cli
(or is this too optional) <br>4. start wpa_gui <br><br>use the ui.
Does that sound right?<br><br>so far when I've started ndis_event.exe, it
seems to give me an error that is relatable to the
ctrl_interface=/var/run/wpa
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">_supplicant
except instead of wpa_supplicant it meantions ......\bfd or close to
that.</blockquote>
<div><br>Without the documentation in front of me, I don't know what this
exe does, but is sounds like it somehow captures NIC messages such as how a
connection proceeds.... <br></div><br><br>And Bryan, what about Windows Zero
Config (WZC)? <br><br>I guess I see for myself but perhaps you have some
insight. any other tricks you've discovered in your journey into this
supplicant s/w???<br><br>
<div></div>
<div><span><span class="gmail_quote">On 7/13/06, <b class="gmail_sendername">Bryan Kadzban</b> <<a title="mailto:bryan@kadzban.is-a-geek.net (mailto:bryan@kadzban.is-a-geek.net)" href="mailto:bryan@kadzban.is-a-geek.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
bryan@kadzban.is-a-geek.net</a>> wrote:</span></span></div>
<div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote></div>
<div><span>George S. Lockwood wrote:<br>>
maybe you are able to quickly spot a problem with this...I don't<br>>
understand the "NDIS: Could not find interface<br>>
''\Device\NPF_{556DEBC4-B686-4A77-A2D8-7F34F3A5708F}'' <br><br>It means you
have an extra set of ' characters around the
interface<br>name. ;-) You don't have to escape the
string with single quotes like<br>that, unless you built wpa_supplicant
yourself under Cygwin. (You can <br>also use the first word of
the description given for your card, based on<br>its entry in Device
Manager; that's what I do. So for instance, a<br>"Linksys WRT54GS
Blah Blah" card could be specified with -iLinksys.) <br><br>> On 7/13/06,
George S. Lockwood <<a title="mailto:gslockwood@gmail.com (mailto:gslockwood@gmail.com)" href="mailto:gslockwood@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gslockwood@gmail.com
</a>> wrote: <br>><br>>> I
think the error is about this line<br>>>
ctrl_interface=/var/run/wpa_supplicant <br>>><br>>> I'm running
windows xp and not unix and not sure what is correct...<br><br>That is still
required. There is no /var/run/wpa_supplicant on windows,<br>but
if that line isn't there, then wpa_cli (and wpa_gui) won't work. <br>Without
that setting, the UDP socket that wpa_cli and wpa_gui use will<br>not be set
up. The value never used to matter, although I seem
to<br>remember some talk about using a named pipe instead of a UDP socket
in<br>the release notes for one of the 0.5.x versions, so it might matter
if<br>you use the most recent version.<br><br>(We may want to move this
discussion to <a title="mailto:hostap@epitest.fi (mailto:hostap@epitest.fi)" href="mailto:hostap@epitest.fi" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hostap@epitest.fi</a>, since
that's <br>the wpa_supplicant mailing list, or to private
mail. We're starting to<br>get way off topic for
winpcap-users.)<br><br><br></span></div>
<div><span>_______________________________________________<br>Winpcap-users
mailing list <br><a title="mailto:Winpcap-users@winpcap.org (mailto:Winpcap-users@winpcap.org)" href="mailto:Winpcap-users@winpcap.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Winpcap-users@winpcap.org
</a><br><a title="https://www.winpcap.org/mailman/listinfo/winpcap-users (https://www.winpcap.org/mailman/listinfo/winpcap-users)" href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br><br><br><br></span></div>
<div></div><br></div></blockquote></div><br>
<p>
</p><hr>
<p></p>_______________________________________________<br>Winpcap-users
mailing
list<br><a href="mailto:Winpcap-users@winpcap.org" title="mailto:Winpcap-users@winpcap.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" title="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br><p></p></blockquote></div>
</div><br>_______________________________________________<br>Winpcap-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br><br><br></blockquote></div>
<br>