I think the failure is caused by your configuration file. <br><br>
<div class="gmail_quote">2011/10/8 Charles Gordon <span dir="ltr"><<a href="mailto:digigordo@gmail.com">digigordo@gmail.com</a>></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'm trying to find out if wpa_supplicant can support WPS on an<br>embedded Linux system. I built it with "CONFIG_WPS=y" 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 'wlan0' conf '/etc/wpa_supplicant.conf' driver<br>'wext' ctrl_interface 'N/A'<br>
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'<br>Reading configuration file '/etc/wpa_supplicant.conf'<br>ctrl_interface='/var/run/wpa_supplicant'<br>update_config=1<br>
Line: 5 - start of a new network block<br>Line 6: invalid proto 'WPS'<br>Line 6: no proto values configured.<br>proto: 0x0<br>Line 6: failed to parse proto 'WPS'.<br>Line 7: unknown EAP method 'WPS'<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 'WPS'.<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 '/etc/wpa_supplicant.conf'.<br>Failed to add interface wlan0<br>
Cancelling scan request<br>Cancelling authentication timeout<br><br>The documentation isn'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>