Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My workplace has just put in a proxy server, which each user needs to log into to be able to access the web.
If I open firefox after I have put in the proxy server details it prompts me to enter a username and password. I put these in and all works fine.
However if I try and wget a file it won't work. I use wget daily and need to keep using it.
I have edited the .wgetrc file and added the following...
http_proxy = 192.168.10.33:8080
use_proxy = on
proxy-user = myaccount
proxy-passwd = mypasswd
Each time I try and wget a file I get this...
[root@mylinux ~]# wget http://definition.symantec.com/defs/...08-007-unix.sh
--14:28:54-- http://definition.symantec.com/defs/...08-007-unix.sh
Connecting to 192.168.10.33:8080... connected.
Proxy request sent, awaiting response... 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )
14:28:54 ERROR 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ).
Run wget from the command line using the "-d" and "-v" options to see if you find what is wrong. Prior of doing this rename .wgetrc to something else so it will not be used.
Run wget from the command line using the "-d" and "-v" options to see if you find what is wrong. Prior of doing this rename .wgetrc to something else so it will not be used.
rename .wgetrc and add "-d" and "-v" options,then it can not connected successful.I get this ...
---request begin---
GET http://definitions.symantec.com/defs...-007-unix.sh-v HTTP/1.0
User-Agent: Wget/1.10.2 (Red Hat modified)
Accept: */*
Proxy-Authorization: Basic YXZzMDM1NzU6d2lsbGllMTE4
Host: definitions.symantec.com
---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )
Via: 1.1 ISA2004
Proxy-Authenticate: Negotiate
Proxy-Authenticate: Kerberos
Proxy-Authenticate: NTLM
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 4131
---response end---
407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )
hs->local_file is: 20070708-007-unix.sh-v (not existing)
TEXTHTML is on.
Closed fd 3
09:01:01 ERROR 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ).
When I said you to run wget from cli, I meant to use the proxy-related options in your wget command plus -d and -v for debugging. Anyway from the output it seems that there this is a problem between wget and ISA proxy. Doing a little googling I've found this post. Try the 2 solutions proposed and see if you can connect.
When I said you to run wget from cli, I meant to use the proxy-related options in your wget command plus -d and -v for debugging. Anyway from the output it seems that there this is a problem between wget and ISA proxy. Doing a little googling I've found this post. Try the 2 solutions proposed and see if you can connect.
Regards
Thank you very much!
I try the first solution with ntlmaps and connect successful.
Ntlmaps is a very useful program. The symantec antivirus was not able to update virus definition with liveupdate. Now,through ntlmaps contact ISA it liveupdate ok.
My English is poor, sometimes mybe use the CHINESE ENGLISH.thank you for your patience.
my uni proxy has basic authentication scheme.
what should I do to make wget & apt-get work?
I tried setting http_proxy environment variable and defining proxy-user & proxy-password options in wget but nothing seems to work
please help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.