Page 1 of 1

update-firefox proxy authorization

Posted: 11 Mar 2017, 05:05
by rych
3.2.2 62 XFCE
I have proxy environment variables set up in bash, with authorization, but update-firefox picks up only the name of the proxy server. Ok, then I supply the name and a password:

Code: Select all

root@porteus:~# update-firefox -pauth=name:passw
Checking internet ...
Downloading: update-firefox-live  DONE

 Getting latest firefox version ... 
HTTP: Proxy authorization required.
       Use the -pauth=id:pw parameter.
So, when it says "Use the -pauth=id:pw parameter." how do I actually do it?

Re: update-firefox proxy authorization

Posted: 14 Mar 2017, 16:09
by jssouza
Hi rych,

This error message is not coming from the update scripts, but from "lynx" which the update script internally calls. Try the following and check if it helps:
As root, run:

Code: Select all

update-firefox 
Wait till the script exits with the same failure.
Now, open /usr/local/bin/update-firefox-live with a text editor and add the " -pauth=id:pw" option with your userid and password, to both the places in the script where "lynx" is called.

You might also have to add your proxy server information to the "wget" command in /usr/share/porteus/porteus-functions file (also called by the update script).

update-firefox proxy authorization

Posted: 04 Mar 2019, 07:16
by rych
I've ended up using a wrapper script `lynx` which reads the credentials off the environment proxy variable and feeds them to the actual lynx: https://unix.stackexchange.com/question ... horization