eap_proxy icon indicating copy to clipboard operation
eap_proxy copied to clipboard

Begin adding support for OpenWrt.

Open CEBasile opened this issue 6 years ago • 2 comments

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?

CEBasile avatar Dec 14 '19 19:12 CEBasile

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
}

tobiasmcnulty avatar May 06 '20 18:05 tobiasmcnulty

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

pyther avatar Jun 27 '20 23:06 pyther