Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Resolving sourceforge.net (sourceforge.net)... failed: Name or service not known.
- wget: unable to resolve host address ‘sourceforge.net’
- # sudo vim /etc/resolv.conf
- nameserver 192.168.1.1
- nameserver 8.8.8.8
- nameserver 4.4.4.4
- # sudo vim /etc/resolvconf/resolv.conf.d/base
- nameserver 192.168.1.1
- nameserver 8.8.8.8
- nameserver 4.4.4.4
- # sudo /etc/init.d/networking restart
- $ env | grep proxy
- http_proxy=http://foo.bar:3128
- no_proxy=localhost,127.0.0.1
- $ export http_proxy="http://foo.bar:8080"
- $ export http_proxy="http://username:password@foo.bar:8080"
- $ echo "export http_proxy=http://foo.bar:8080/" | tee -a ~/.bashrc
- vim ~/.wgetrc
- http_proxy=http://foo.bar:8080
- wget --no-proxy http://10.0.0.1/file.tgz
- wget --proxy-user=username --proxy-password=password http://foo.bar/file.tgz
- proxy_user=username
- proxy_password=password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement