LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-22-2010, 02:18 PM   #1
raghureddii
LQ Newbie
 
Registered: Aug 2010
Posts: 8

Rep: Reputation: 0
change proxy address for wget


hi


intially we have proxy is 10.x.x.x

proxy has been changed to 172.x.x.x

according to that new proxy address has been changed to all the locations.

1) yum is working fine
2) internet is working fine(browser)

Problem: wget is giving the problem.

when i am trying to make a connection establishment to download using WGET , it is trying to make a connectionusing 10.x.x.x(actallay is has to make connection astablishment to 172.x.x.x).

where to change proxy address for WGET(where it will defaulty stores the proxy address)

2010-08-23 00:37:55-- http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

(observe here actually 172.x.x.x should be here instead of 10.1.1.51)
Connecting to 10.1.1.51:3128... connected.
Proxy request sent, awaiting response...
 
Old 08-22-2010, 03:00 PM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Wget uses environment variable called http_proxy (and ftp_proxy). You need to set it correctly.
 
1 members found this post helpful.
Old 08-23-2010, 01:00 AM   #3
raghureddii
LQ Newbie
 
Registered: Aug 2010
Posts: 8

Original Poster
Rep: Reputation: 0
proxy isssue

Quote:
Originally Posted by r0b0 View Post
Wget uses environment variable called http_proxy (and ftp_proxy). You need to set it correctly.

in commad line i tried.


httP-proxy=http://proxyaddressort@usernameassword/
export http
ftp_proxy=ftp://proxyaddressort@usernameassword/
export ftp

i tried it no use
 
  


Reply

Tags
proxy



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 - Server

All times are GMT -5. The time now is 04:26 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