<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<style>.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


Hi,<br>I am trying to use WPS on hostapd when no ecryption method is defined in configuration file.<br>Is this supported on current release. If yes, can anyone help me to create a suitable configuration file please?<br>When I try to do it by commenting wpa related fields in configuration file(printed below), I get the following debug messages from hostapd but wps operations doesn't start upon a wps enrollee connection.<br><br>Configuration file "hostapd.conf.ath0":<br>----------------------------------------------------------------------------------------------<br>ctrl_interface=/var/run/hostapd<br>interface=ath0<br>driver=madwifi<br>logger_syslog=0<br>logger_syslog_level=0<br>logger_stdout=0<br>logger_stdout_level=0<br>dump_file=/var/hostapd.dump.ath0.0<br>ssid=XXXX<br>#wpa_passphrase=CyPD2FE1mKJb65EwrxJ9aQ<br>#wpa_key_mgmt=WPA-PSK<br>#wpa=2<br>#wpa_pairwise=CCMP<br>#wpa_group_rekey=3600<br>eap_server=1<br>ap_setup_locked=0<br>wps_pin_requests=/var/run/hostapd.pin-req<br>man
 ufacturer=XXXX<br>device_type=6-0050F204-1<br>os_version=01020300<br>config_methods=label display push_button keypad<br>bridge=br0<br>----------------------------------------------------------------------------------------------<br><br>Console output:<br>----------------------------------------------------------------------------------------------<br># hostapd /var/hostapd.conf.ath0 -ddd &amp;<br># Configuration file: /var/hostapd.conf.ath0<br>Configure bridge br0 for EAPOL traffic.<br>madwifi_set_iface_flags: dev_up=0<br>madwifi_set_privacy: enabled=0<br>madwifi_receive_probe_req Enter<br>BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)<br>SIOCGIWRANGE: WE(compiled)=21 WE(source)=13 enc_capa=0x0<br>Flushing old station entries<br>madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3<br>Deauthenticate all stations<br>madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=2<br>madwifi_set_privacy: enabled=0<br>madwifi_del_key: addr=00:00:00:00:00:00 key_idx=0<br>madwifi_
 del_key: addr=00:00:00:00:00:00 key_idx=1<br>madwifi_del_key: addr=00:00:00:00:00:00 key_idx=2<br>madwifi_del_key: addr=00:00:00:00:00:00 key_idx=3<br>Using interface ath0 with hwaddr 00:XX:XX:XX:XX:XX and ssid 'XXXX'<br>WPS: UUID based on MAC address - hexdump(len=16): XXXX.XXXX<br>WPS: Build Beacon and Probe Response IEs<br>WPS:&nbsp; * Version<br>WPS:&nbsp; * Wi-Fi Protected Setup State (2)<br>WPS:&nbsp; * UUID-E<br>WPS:&nbsp; * RF Bands (1)<br>WPS:&nbsp; * Version<br>WPS:&nbsp; * Wi-Fi Protected Setup State (2)<br>WPS:&nbsp; * Response Type (3)<br>WPS:&nbsp; * UUID-E<br>WPS:&nbsp; * Manufacturer<br>WPS:&nbsp; * Model Name<br>WPS:&nbsp; * Model Number<br>WPS:&nbsp; * Serial Number<br>WPS:&nbsp; * Primary Device Type<br>WPS:&nbsp; * Device Name<br>WPS:&nbsp; * Config Methods (0)<br>WPS:&nbsp; * RF Bands (1)<br>madwifi_set_wps_ie buflen = 41<br>madwifi_set_wps_ie buflen = 150<br>madwifi_set_iface_flags: dev_up=1<br>Wireless event: cmd=0x8b1a len=29<br># Wireless event: cmd=
 0x8c03 len=20<br>&nbsp; New STA<br>madwifi_sta_clear_stats: addr=00:XX:XX:XX:XX:XX<br>IEEE 802.1X: 4 bytes from 00:XX:XX:XX:XX:XX<br>&nbsp;&nbsp; IEEE 802.1X: version=2 type=1 length=0<br>IEEE 802.1X: 4 bytes from 00:XX:XX:XX:XX:XX<br>&nbsp;&nbsp; IEEE 802.1X: version=2 type=1 length=0<br>IEEE 802.1X: 4 bytes from 00:XX:XX:XX:XX:XX<br>&nbsp;&nbsp; IEEE 802.1X: version=2 type=1 length=0<br>Wireless event: cmd=0x8c04 len=20<br>Wireless event: cmd=0x8c03 len=20<br>&nbsp; New STA<br>....<br>----------------------------------------------------------------------------------------------<br>
<br>Regards,<br></body>
</html>