I'm in the middle of the world's largest sandbox and have net access via a proxy.
Setting it up in the Windows LAN configuration was a breeze, proxy_name and port 8080
After a little while a box pops up asking for the User and Password, done.
I find it strange Kubuntu doesn't have an easy proxy configuration but then I'm possibly overlooking it.
The one in System Settings does not offer a way to authenticate with User and Password.
Right now I'm somewhat on the WWW via the very easy proxy configuration in Firefox but I can't find a working way to get the whole system on line.
Which would be good for using Thunderbird and especially for accessing my VPN.
One of the options I found on the net (but without report it worked) is adding some lines to /etc/profile:
What I don't like is that it is limited to http and ftp.
Another one suggests:
I tried this one on another computer but I get no success, I still have to use the Firefox settings to post this question.
Does one of the readers here have a better suggestion?
Setting it up in the Windows LAN configuration was a breeze, proxy_name and port 8080
After a little while a box pops up asking for the User and Password, done.
I find it strange Kubuntu doesn't have an easy proxy configuration but then I'm possibly overlooking it.
The one in System Settings does not offer a way to authenticate with User and Password.
Right now I'm somewhat on the WWW via the very easy proxy configuration in Firefox but I can't find a working way to get the whole system on line.
Which would be good for using Thunderbird and especially for accessing my VPN.
One of the options I found on the net (but without report it worked) is adding some lines to /etc/profile:
PHP Code:
export http_proxy=http://user:passwd@thisproxy:port/
export ftp_proxy=http://user:passwd@thisproxy:port/
Another one suggests:
PHP Code:
Create a .proxy file in your home directory. Have it only read/write-able by yourself, as we will store your credentials in there (including your password).
touch ~/.proxy
chmod 600 ~/.proxy
Open it with your favorite text editor and add the following content, replacing username, password, proxy_hostname and proxy_port by their actual values:
# Proxy config
export http_proxy='username:password@http://proxy_hostname:proxy_port'
export no_proxy=’localhost,127.0.0.1,.mycompany.lan’
export https_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export NO_PROXY=$no_proxy
With that option, the no_proxy variable let you set a list of IP/mask/domains to ignore. Note that the domain syntax is slightly different than the dconf-editor one: only .mycompany.net withouth any wildcard.
Edit your ~/.profile file and add the following lines, which will load the content of the file we just created when you start your session.
# include proxy config if it exists
if [ -f $HOME/.proxy ]; then
. $HOME/.proxy
fi
Log out and log back in, and your proxy settings should be taken into account.
Does one of the readers here have a better suggestion?
Comment