You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously for linux users it was not known (in general/documentation) how to start proxy without running sudo (or with root privileges). This is annoying at best and also makes automation scripts difficult. This issue ticket is to be used to explain how to open proxy connections to Faraday units without root privileges.
Problem Explanation
APRS and SimpleUI fail due to binding to in-use ports (telemetry/proxy) As a precaution most/all ports in use should be added to the current users permissions to bind. This can be accomplished by using authbind and setting specific user/port permissions.
(Example below uses my user account brent for reference only)
Install authbind:
sudo apt-get install authbind
Create filer for port 8001 for authbind to use:
sudo touch /etc/authbind/byport/8001
Change owner of new file to user brent (use your own user account as needed):
sudo chown brent:brent /etc/authbind/byport/8001
Change filer permissions:
sudo chown 755 /etc/authbind/byport/8001
SimpleUI will now be able to bind to port 8001 when run by user brent
Summary
Previously for linux users it was not known (in general/documentation) how to start proxy without running sudo (or with root privileges). This is annoying at best and also makes automation scripts difficult. This issue ticket is to be used to explain how to open proxy connections to Faraday units without root privileges.
Problem Explanation
APRS and SimpleUI fail due to binding to in-use ports (telemetry/proxy) As a precaution most/all ports in use should be added to the current users permissions to bind. This can be accomplished by using
authbind
and setting specific user/port permissions.(Example below uses my user account
brent
for reference only)Install
authbind
:sudo apt-get install authbind
Create filer for port
8001
forauthbind
to use:sudo touch /etc/authbind/byport/8001
Change owner of new file to user
brent
(use your own user account as needed):sudo chown brent:brent /etc/authbind/byport/8001
Change filer permissions:
sudo chown 755 /etc/authbind/byport/8001
SimpleUI will now be able to bind to port 8001 when run by user
brent
References
This information should:
Environment
Software
Hardware
N/A
Supporting Information
An example of
faraday-simpleui
not opening properly due to socket binding permissions of the in-use user account.After setting up user permissions the script below successfully opened the programs (including
faraday-simpleui
).References
The text was updated successfully, but these errors were encountered: