LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2015, 04:31 PM   #1
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110
Blog Entries: 4

Rep: Reputation: 0
Using wget with proxy


I have got a proxy server through which I access Internet. When I try install some software using wget I get the following error.

How to get rid of this provided that I have my own username and password to access the Internet through proxy server?

Can you just give an example with a sample username and password?




Quote:
snow@snow-Aspire-4738Z:~$ wget http://dl.dropbox.com/u/26209128/mac...gz--2015-05-02 02:57:09-- http://dl.dropbox.com/u/26209128/mac_fonts.tar.gz
Connecting to 192.168.1.107:3128... connected.
Proxy request sent, awaiting response... 407 Proxy Authentication Required
2015-05-02 02:57:09 ERROR 407: Proxy Authentication Required.
 
Old 05-02-2015, 02:44 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi

You can supply the following variables every time in the wget command, but it's better to create a .wgetrc file in your homedir to define them once:
Code:
use_proxy = on
http_proxy= http://my-proxy:port
proxy_user=my_username
proxy_pass=my_password
See also the manpage for more options

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[ask] using wget through SOCKS proxy arroquant Linux - Software 5 09-30-2009 06:12 PM
wget - where is it getting proxy information? gandalfrat Linux - Newbie 3 04-21-2007 11:38 PM
wget through proxy TheRealDeal Linux - Networking 5 09-14-2005 06:07 AM
wget with proxy? Cornholio Linux - Software 8 01-13-2005 02:12 AM
wget proxy problem henryluo Linux - Newbie 1 07-05-2004 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration