LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-10-2005, 11:13 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Rep: Reputation: 30
Can't use wget


In my office network , wehave firewall and the linux server through the proxy server to connect to internet , but the server can't use wget now , could suggest how to setup to use wet ? thx
 
Old 08-10-2005, 11:23 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Wget reads proxy information from the http_proxy and ftp_proxy environment variables. As in:
Code:
http_proxy="http://proxyserver:PORT" wget http://www.google.com
 
Old 08-11-2005, 03:25 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Original Poster
Rep: Reputation: 30
thx reply , which file that I should modify ? thx
 
Old 08-11-2005, 03:30 AM   #4
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
You do not need to modify a file. Just type http_proxy="http://proxyserver:PORT"

If you want that to stay, then you may modify ~/.bashrc, if you are using bash as your shell.
 
Old 08-11-2005, 04:16 AM   #5
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Original Poster
Rep: Reputation: 30
thx reply ,

it seems ask for the login , could suggest how can I type in the login name and password ?


Proxy request sent, awaiting response... 407 Proxy Authentication Required
17:06:47 ERROR 407: Proxy Authentication Required.


thx in advance
 
Old 08-11-2005, 09:52 AM   #6
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Naah.. (deleted)

Last edited by Ephracis; 08-11-2005 at 10:11 AM.
 
Old 08-11-2005, 09:59 AM   #7
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Code:
       --proxy-user=USER     set USER as proxy username.
       --proxy-passwd=PASS   set PASS as proxy password.
To me, it seems like bad software design to make the proxy name be an env. variable and proxy authentication command-line options, but oh well, that's the way it is.
 
  


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
can't wget!! aru_04 Linux - General 5 08-13-2005 05:07 AM
wget noir911 Linux - Newbie 8 07-30-2005 08:57 AM
wget Harp00 Linux - Newbie 4 11-15-2004 07:27 PM
wget toastermaker Linux - Software 4 11-13-2004 10:59 AM
wget filex Linux - Security 4 09-08-2004 08:02 PM


All times are GMT -5. The time now is 09:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration