Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-19-2013, 06:55 AM   #1
Registered: Dec 2012
Posts: 78

Rep: Reputation: Disabled
how to download pkgs using proxy server


I have Centos 6.2. I have been given the Proxy server IP address
I have to download pkgs using wget . if i use the IPaddress in browser it works fine. but if i use on shell it doesn't.

I had setup the variable http_proxy= then i tried to wget . i get the block page error. I am not sure why it is happening. Below are the logs and the routes of the machine. I am able to ping the proxy ip address and telnet the port

[root@DEV-HMAERS1 download]# wget
--2013-07-19 06:45:48--
Connecting to connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: [following]
--2013-07-19 06:45:49--
Connecting to connected.
Proxy request sent, awaiting response... 200 OK
Length: 1535 (1.5K) [text/html]
Saving to: ‚blockpage.cgi?ws-session=738201989‚

100%[==================================================================================================== ========================================================>] 1,535 --.-K/s in 0s

2013-07-19 06:45:49 (239 MB/s) - ‚blockpage.cgi?ws-session=738201989‚


[root@DEV-HMAERS1 download]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface U 1 0 0 eth0 U 0 0 0 virbr0 UG 0 0 0 eth0


Last edited by project.linux.proj; 07-19-2013 at 06:57 AM.
Old 07-19-2013, 08:32 AM   #2
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,552

Rep: Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924
Check the contents of the downloaded "blockpage.cgi" that may give you some reference as to why your traffic is being denied. Then check with your proxy admin to see if what you are doing is allowed.
Old 07-19-2013, 11:56 AM   #3
Registered: Dec 2012
Posts: 78

Original Poster
Rep: Reputation: Disabled
Got it solved. The traffic was opened for specific sites not for all. It is solved now.


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
[SOLVED] slackpkg install-new / new pkgs in mirror / kdei pkgs ahlr Slackware 4 07-01-2013 05:33 AM
[SOLVED] slackpkg says no pkgs to update after installing 14.0, but there are pkgs in /patches integrale16 Slackware 5 02-26-2013 04:48 PM
Slackpkg new versions of installed pkgs Josh000 Slackware 5 02-20-2011 08:18 PM
Monitoring users' download informatin in the proxy server, OS is CentOS Fahima Linux - Newbie 1 01-25-2010 09:50 AM
download pkgs from RHN? Uday123 Linux - Software 1 09-11-2009 06:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 AM.

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