I think the failure is caused by your configuration file. <br><br>
<div class="gmail_quote">2011/10/8 Charles Gordon <span dir="ltr">&lt;<a href="mailto:digigordo@gmail.com">digigordo@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>I&#39;m trying to find out if wpa_supplicant can support WPS on an<br>embedded Linux system.  I built it with &quot;CONFIG_WPS=y&quot; in the .config<br>
file and tried running it with this configuration file:<br><br>ctrl_interface=/var/run/wpa_supplicant<br>update_config=1<br><br>## -- Example MANAGED network<br>network={<br>       proto=WPS<br>       eap=WPS<br>}<br><br>
I tried both the 6.10 and 7.3 versions.  However, when I run it I get<br>these errors:<br><br>Initializing interface &#39;wlan0&#39; conf &#39;/etc/wpa_supplicant.conf&#39; driver<br>&#39;wext&#39; ctrl_interface &#39;N/A&#39;<br>
Configuration file &#39;/etc/wpa_supplicant.conf&#39; -&gt; &#39;/etc/wpa_supplicant.conf&#39;<br>Reading configuration file &#39;/etc/wpa_supplicant.conf&#39;<br>ctrl_interface=&#39;/var/run/wpa_supplicant&#39;<br>update_config=1<br>
Line: 5 - start of a new network block<br>Line 6: invalid proto &#39;WPS&#39;<br>Line 6: no proto values configured.<br>proto: 0x0<br>Line 6: failed to parse proto &#39;WPS&#39;.<br>Line 7: unknown EAP method &#39;WPS&#39;<br>
You may need to add support for this EAP method during wpa_supplicant<br>build time configuration.<br>See README for more information.<br>eap methods - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>Line 7: failed to parse eap &#39;WPS&#39;.<br>
Line 8: WPA-PSK accepted for key management, but no PSK configured.<br>Line 8: failed to parse network block.<br>Failed to read or parse configuration &#39;/etc/wpa_supplicant.conf&#39;.<br>Failed to add interface wlan0<br>
Cancelling scan request<br>Cancelling authentication timeout<br><br>The documentation isn&#39;t clear (to me) about whether WPS is supported<br>by wpa_supplicant, and looking at the code it appears that it is only<br>supported by the NDIS driver.<br>
<br>Is there a way to support WPS with the standard WEXT driver?<br><br>Thanks for your help.<br>_______________________________________________<br>HostAP mailing list<br><a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br></blockquote></div><br>