Begin adding support for OpenWrt.
Hi Jay,
I see you're actively working on this again. I've had some basic OpenWrt support in my local copy, would you be interested in adding this OS?
Part of me wonders if the MAC-setting could be deprecated. The README already indicates a preference to set via the router config, and it is probably better supported by the router operating system anyways.
On the subject of OpenWRT, I did come up with this init script (/etc/init.d/eap_proxy) in case it's useful to anyone else. Note we specifically do NOT use --daemon so that procd will restart eap_proxy for us if it dies (and otherwise have more control over this process which it wouldn't if we daemonize).
#!/bin/sh /etc/rc.common
START=50
USE_PROCD=1
start_service() {
procd_open_instance
procd_set_param command /root/eap_proxy-master/eap_proxy.py eth1 eth2 --ignore-start --ignore-logoff --syslog --run-as nobody:nogroup
procd_close_instance
}
A while back, I created an openwrt package for jaysoffian/eap_proxy. Openwrt Package: https://github.com/pyther/openwrt-feed/tree/master/net/eap_proxy.
I am now using pyther/goeap_proxy. Openwrt Package: https://github.com/pyther/openwrt-feed/tree/master/net/goeap_proxy
And here is a blog post I wrote documenting the process: https://pyther.net/2020/05/03/bypass-att-gateway-openwrt.html