When I remove proxy from System/Network and apply it system wide it still remains when working in console. When I run:
env | grep proxy
it prints:
http_proxy=http://proxy.studnet.lan:8080
ftp_proxy=ftp://proxy.studnet.lan:8080
socks_proxy=socks://proxy.studnet.lan:8080
https_proxy=https://proxy.studnet.lan:8080
I could remove it with:
unset http_proxy
unset ftp_proxy
unset socks_proxy
unset https_proxy
but it's not permanent, when I reopen terminal these proxy variables are again setted.
How to remove them permanently?
Make sure that those variables are not declared in any of the below files:
~/.bashrc
/etc/bash.bashrc
/etc/environment
If they are, it'd be better if you remove those lines.
However, if you're unable to find them, then put the
unset
lines you've mentioned in your~/.bashrc
file.Be sure to change the method dropdown from "manual" to "none". This will erase everything - you may need to restart the machine after doing this.