summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-04-09 23:05:55 +0200
committermakefu <github@syntax-fehler.de>2014-04-09 23:05:55 +0200
commitb58fa13180981afce4f17b4d59b739d79a5873f5 (patch)
tree0817eaa0afe0f73e7e1cf97893fe1f24d75d49fa
parent093ecc0fe71b45a8f905bafad09b4fd92174bc31 (diff)
add wps and openwrt
-rw-r--r--content/posts/wps-and-openwrt.rst42
1 files changed, 42 insertions, 0 deletions
diff --git a/content/posts/wps-and-openwrt.rst b/content/posts/wps-and-openwrt.rst
new file mode 100644
index 0000000..21815bc
--- /dev/null
+++ b/content/posts/wps-and-openwrt.rst
@@ -0,0 +1,42 @@
+WPS and OpenWRT
+##################################
+:date: 2014-04-09 22:40
+:tags: wps, openwrt
+
+When hearing WPS_ i always think of the worst idea in network security. *'Hey,
+how about changing a long key with a minimum length of 8 characters to
+something like... 4 numbers! And with that number you get the original
+password! GENIUS'* . But WPS consists of more than this shitty idea. It also
+provides a means of attaching shitty devices to wifi with 'one touch of a
+button'[#]_. That is why quite a lot of current routers have the WPS-Button to
+easily connect such devices (namely wifi printers and scanners).
+
+It **just works** with stock firmware but of course i am running a
+Frickelsystem_ on my TP-Link router. On OpenWRT it *might* work out of the box
+with the latest and greatest unstable release but in my case i
+needed to replace some packages to make it work.
+
+Here is what i needed to do:
+
+.. code-block:: bash
+
+ opkg update
+ opkg install hostapd-utils --force-override
+ opkg install wpad --force-override
+ vi /etc/config/wireless
+ # add 'option wps_pushbutton 1' to every 'config wifi-iface' section
+
+ #testing the shit
+ wifi
+ hostapd_cli interface wlan0 wps_pbc
+
+After running the last command, press the WPS button on your printer. The wifi
+should now glowing in the correct color.
+The WPS button on your router should now also be working if the stars are
+alligned correctly.
+
+.. [#] http://en.wikipedia.org/wiki/Wi-Fi_Protected_Setup#Methods
+.. _WPS: Wifi Protected Setup
+.. _Frickelsystem: Systems not made for end-users. see Openwrt
+.. _Openwrt: Alternative router firmware without the official router vendor
+ backdoors (safety not guaranteed). Also the mother of all Frickelsystemen