wiperf icon indicating copy to clipboard operation
wiperf copied to clipboard

Upgrade scripts fails in proxy environments. Add -E to sudo?

Open wifinigel opened this issue 3 years ago • 0 comments

Hey

Is it possible for the setup.sh scrip and the guids to be updated with sudo -E ? Makes it so that the subprocess inherit the enviroment with the proxy settings.

Kind regards, Tor Stefan

root@snorty-svg:/var/log# curl -s https://raw.githubusercontent.com/wifinigel/wiperf/dev/setup.sh | sudo bash -s upgrade rpi (ok) wiperf will now be unistalled, then re-installed with a new version (ok) checking we can get to the Internet before we start... (fail) Unable to reach Internet - check connection (exiting)

root@snorty-svg:~# curl -s https://raw.githubusercontent.com/wifinigel/wiperf/dev/setup.sh | sudo -E bash -s upgrade rpi (ok) wiperf will now be unistalled, then re-installed with a new version (ok) checking we can get to the Internet before we start... (ok) Starting wiperf uninstall process (see /var/log/wiperf_install.log for details) (ok) Removing Python modules (ok) ...wiperf_poller (ok) Removing install dir (ok) Removing config dir (ok) Removing switcher script (ok) Removing log files (ok) Done (ok) Installing latest version of wiperf... (ok) Starting wiperf install process for rpi (see /var/log/wiperf_install.log for details) (ok) Version: 2.2.0 (poller ver: 0.3.0, branch: main) Unable to reach Internet - check connection (exiting)

Originally posted by @torstefan in https://github.com/wifinigel/wiperf/discussions/59

wifinigel avatar Mar 31 '21 18:03 wifinigel