Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Begin adding support for OpenWrt. #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CEBasile
Copy link

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?

@tobiasmcnulty
Copy link
Contributor

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
}

@pyther
Copy link

pyther commented Jun 27, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants