Thank you
@ants , works great!
I run this on a TP-LINK TL-WR902AC v3.x (about $40).
Here’s my steps to make it work in case someone struggles (as I did) with the OWRT set up:
1) Flash with Open WRT 18.06.09 (last confirmed working version according to GitHub)
2) Connect with ethernet (make sure you’re actually using this connection) to a modern computer and browse to “openwrt.lan”
3) Click the banner saying you need to supply a password (you need to do this for ssh access)
4) Under interfaces, change your lan/wan subnet to something unused by your current network. (If your main router for example is on 192.168.1.1, you need to set up owrt to 192.168.2.1).
5) Press “save and apply”. Now, openwrt will most likely revert back to the previous setting, this is because your computer wont change subnet fast enough. The interface will tell you it has reverted, and you now have the choice to apply the settings without confirming. Do this.
6) Ensure your computer is now on the correct x.x.2.x subnet IP (renew your DHCP or enter a manual IP)
7) Head back into openwrt.lan, and on the overview page hit scan on the wifi interface. Select the wifi you want your mac to use and enter your password etc.
8) Confirm you can now use internet over ethernet on your modern computer.
9) Enter a (mac) terminal and type
ssh root@192.168.2.1 (or whatever IP/subnet you set in openwrt). Login with your password.
Type line by line the following to install the json API, followed by enter to execute.
opkg update
opkg install luci-mod-rpc
/etc/init.d/uhttpd restart
You are now done with ssh (for now), so shut down the terminal.
10) Head back into openwrt.lan and install the software in the interface according to the macwifi Github.
11) Adjust the stunnel setup according to github
12) For me this was not needed, but you may have to manually set your link speed to 10mbit. See Github.
That should be all! I typed from memory so might have misnamed something, but am fairly sure that’s what I did to get it working. Feel free to reach out if anything is unclear or not working!