<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hostapd and WPS]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">I’m trying to enable WPS on an Omega 2 for a project I’m working on (it won’t be triggered by a button, so apparently a little more secure). There’s quite a bit of information online on how to do this for OpenWrt, basically you:</p>
<ul>
<li>Add option wps_pushbutton '1 ' to a config wifi-iface section that is configured for WPA2-PSK in /etc/config/wireless</li>
<li>opkg update</li>
<li>opkg remove wpad-mini</li>
<li>opkg install wpad hostapd-utils</li>
<li>reboot</li>
</ul>
<p dir="auto">I’ve worked out that before running the above, the lede-project repos need to be re-enabled for OPKG, by modifying the /etc/opkg/distfeeds.conf file, which is fine.</p>
<p dir="auto">However, when I run: hostapd_cli wps_pbc , I get “Failed to connect to hostapd - wpa_ctrl_open: No such file or directory”.</p>
<p dir="auto">I’ve read that problems can be caused by the /etc/hostapd/hostapd.conf file. However, I’m missing the whole /etc/hostapd directory…</p>
<p dir="auto">Would someone be able to shine some light on this for me? Or point me in the right direction.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Oli</p>
<p dir="auto">Links:<br />
<a href="https://openwrt.org/docs/guide-user/network/wifi/basic" rel="nofollow">https://openwrt.org/docs/guide-user/network/wifi/basic</a><br />
<a href="https://volatilesystems.org/wps-setup-on-openwrt.html" rel="nofollow">https://volatilesystems.org/wps-setup-on-openwrt.html</a></p>
]]></description><link>http://community.onion.io/topic/3513/hostapd-and-wps</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 15:55:27 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/3513.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Mar 2019 03:20:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hostapd and WPS on Sun, 10 Mar 2019 03:20:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">I’m trying to enable WPS on an Omega 2 for a project I’m working on (it won’t be triggered by a button, so apparently a little more secure). There’s quite a bit of information online on how to do this for OpenWrt, basically you:</p>
<ul>
<li>Add option wps_pushbutton '1 ' to a config wifi-iface section that is configured for WPA2-PSK in /etc/config/wireless</li>
<li>opkg update</li>
<li>opkg remove wpad-mini</li>
<li>opkg install wpad hostapd-utils</li>
<li>reboot</li>
</ul>
<p dir="auto">I’ve worked out that before running the above, the lede-project repos need to be re-enabled for OPKG, by modifying the /etc/opkg/distfeeds.conf file, which is fine.</p>
<p dir="auto">However, when I run: hostapd_cli wps_pbc , I get “Failed to connect to hostapd - wpa_ctrl_open: No such file or directory”.</p>
<p dir="auto">I’ve read that problems can be caused by the /etc/hostapd/hostapd.conf file. However, I’m missing the whole /etc/hostapd directory…</p>
<p dir="auto">Would someone be able to shine some light on this for me? Or point me in the right direction.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Oli</p>
<p dir="auto">Links:<br />
<a href="https://openwrt.org/docs/guide-user/network/wifi/basic" rel="nofollow">https://openwrt.org/docs/guide-user/network/wifi/basic</a><br />
<a href="https://volatilesystems.org/wps-setup-on-openwrt.html" rel="nofollow">https://volatilesystems.org/wps-setup-on-openwrt.html</a></p>
]]></description><link>http://community.onion.io/post/19131</link><guid isPermaLink="true">http://community.onion.io/post/19131</guid><dc:creator><![CDATA[oliolioli]]></dc:creator><pubDate>Sun, 10 Mar 2019 03:20:30 GMT</pubDate></item><item><title><![CDATA[Reply to Hostapd and WPS on Tue, 12 Mar 2019 10:18:33 GMT]]></title><description><![CDATA[<p dir="auto">Just found out you can get hostapd to show more debug messages, this is what I'm currently getting:</p>
<p dir="auto">root@Omega-92CA:/etc/config# hostapd -d /etc/hostapd/hostapd.conf<br />
Configuration file: /etc/hostapd/hostapd.conf<br />
nl80211: 'nl80211' generic netlink not found<br />
Failed to initialize driver 'nl80211'<br />
wlan0: interface state UNINITIALIZED-&gt;DISABLED<br />
wlan0: AP-DISABLED<br />
wlan0: CTRL-EVENT-TERMINATING<br />
hostapd_free_hapd_data: Interface wlan0 wasn't started</p>
<p dir="auto">And this is my hostapd.conf file:</p>
<p dir="auto">interface=wlan0<br />
bridge=br0<br />
country_code=AUS<br />
ctrl_interface=wlan0<br />
ctrl_interface_group=0<br />
ssid=KITT<br />
hw_mode=g<br />
channel=1<br />
wpa=3<br />
wpa_passphrase=georgeisyourfriend<br />
wpa_key_mgmt=WPA-PSK<br />
wpa_pairwise=TKIP<br />
rsn_pairwise=CCMP<br />
beacon_int=100<br />
auth_algs=3<br />
macaddr_acl=0<br />
wmm_enabled=1<br />
eap_reauth_period=360000000</p>
]]></description><link>http://community.onion.io/post/19157</link><guid isPermaLink="true">http://community.onion.io/post/19157</guid><dc:creator><![CDATA[oliolioli]]></dc:creator><pubDate>Tue, 12 Mar 2019 10:18:33 GMT</pubDate></item></channel></rss>