The wonderful router, can run OpenWRT built in Wifi (802.11 b/g/n) and an USB 2.0 port TL-WRT703N. So I can use it to host the JavaScript pages as even after a full OpenWRT it still has around a 1Mb memory, enough to do some hosting.

Notes On Installation

This is some notes, used to install and get relayd up and running. I may use it as a plan open wireless access point in the future.


$ wget

Set laptop wired IP to

Follow the instructions at

Still in the browser, login to router (root/blank). Set password.

Now I am also running openWRT on my main home wireless access point. Using, so once the router is flashed I need to change the routers fixed LAN address to something else - if I want to connect to my main wireless access point.

Still in the browser, at -> Network Edit LAN, set IPv4 address -> -> Save and apply

You are now unable to connect, change laptop wired IP Address to, Netmask as, Gateway as, DNS Servers as

Browser go to redirect to

Network -> Wifi -> Scan

Then (hopefully) Join Network for the network of your choice. Enter key and leave Create / Assign firewall-zone as WAN -> Save & Apply -> Interfaces

And we should see a nice IPv4 for the WAN side as well, time for some command line on the router, to confirm connection:

$ ssh root@
root@OpenWrt:~# ping
root@OpenWrt:~# opkg update
root@OpenWrt:~# opkg install relayd
root@OpenWrt:~# opkg install luci-proto-relay
root@OpenWrt:~# /etc/init.d/relayd enable

Back/Still in the browser, Network -> Create Interface, Named: stabridge Protocol: Relay Bridge, Then tick WAN and LAN, Local IPv4 address:, Save and Apply

Network -> Firewall -> General Settings Zone Forwarding, Lan=>Wan - Change forwarding to Accept

Back to laptop and try:

$ ping google