question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation and setup instructions for non-EdgeOS (generic Linux) devices

See original GitHub issue

Thanks so much for this great project. It works flawlessly for me, and as a Python developer I’m particularly grateful for the clean and readable code!

Initially when I found this repo I dismissed it for my own use because it appeared from the README to work only for Ubiquiti devices. Once I gave up on all the other (non-proxy) options and looked more carefully at the code, however, I realized there’s very little that is Ubiquiti-specific to this solution. I have it working on a Debian server right now and I’m fairly certain everything (except for the DHCP restart bits) will work fine on nearly any Linux-based device.

Would you be open to a PR (probably all README tweaks) to clarify that this can be used on other Linux-based devices, along with a sample config for Debian-based OSes? I’m happy to put something together if so. Another thought would be to make this pip-installable. I’m not sure if Ubiquiti devices come with pip installed, but if they do that might simplify the installation process. Again I’m happy to work on this myself and submit a PR if you’re open to it.

Thanks again for the great project!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
tobiasmcnultycommented, Aug 13, 2019

Sample supervisor setup, until I have time to push up a PR for the README:

# apt install -y supervisor python3-setuptools
# easy_install3 install pip
# pip3 install -U eap_proxy
# cat <<EOF > /etc/supervisor/conf.d/eap_proxy.conf 
[program:eap_proxy]
command=/usr/local/bin/eap_proxy --ignore-start --ignore-logoff --run-as nobody eth0 eth2
autostart=true
startretries=100
redirect_stderr=true
stdout_syslog=true
EOF
# supervisorctl reload
# supervisorctl status

Tips:

  • If you already have pip3 installed you can skip installing python3-setuptools and pip manually, but you might want to pip3 install -U pip first.
  • It may be helpful to get eap_proxy working manually before attempting to run via supervisor.
  • Make sure to set eth0 and eth2 to your IF_WAN and IF_ROUTER, respectively.
  • You can find the log file in /var/log/supervisor.

Disclaimer: The pip-installable eap_proxy is built from the tobiasmcnulty/eap_proxy fork of this repo, which is identical (as of 8/12/19), other than for the presence of a setup.py. See: https://github.com/jaysoffian/eap_proxy/compare/master...tobiasmcnulty:master

1reaction
tobiasmcnultycommented, Jan 27, 2020

@cordone My semi-working config can be found in a comment above: https://github.com/jaysoffian/eap_proxy/issues/21#issuecomment-520637447

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install a device driver on Linux | Enable Sysadmin
Learn how Linux drivers work and how to use them.
Read more >
What is the Generic brand Linux device connecting to my ...
A Generic brand Linux device shows up on my private network? It showed up 3 days ago. Unknown device to me. I didn't...
Read more >
Connecting Remote Linux Devices | Qt Creator Manual
You can connect generic Linux devices to the development PC to run, ... with Qt Creator, so you must download it and install...
Read more >
How to Install and Uninstall the Drivers on Linux Devices?
UGEE Linux Drivers are available in 3 different formats: ... A. Instructions for installing and uninstalling the driver package file in tar.gz format....
Read more >
Dell PowerEdge Systems Red Hat Enterprise Linux 6 (x86_64 ...
red-hat-entps-lx-v6.0 | Dell PowerEdge Systems Red Hat Enterprise Linux 6 (x86_64, x86) Installation Instructions and Important Information ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found