wget/curl cannot work on debian amd64

2012-03-21 Thread 严海东
Dear all:
 I have a problem with using wget and curl on debian amd64
 when I type a command -- wget www.XXX.com, error messages
will display as below:
 --2012-03-21 14:43:43--  http://www.XXX.com/
 Resolving 10 (10)... 0.0.0.10
 Connecting to 10 (10)|0.0.0.10|:8080... failed: Invalid argument

when I type curl command--curl www.XXX.com, error messages
will display as below:

curl: (7) Failed to connect to 0.0.0.10: Invalid argument

Does anyone have any ideas to solve it ?

BR!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAAC+c498M1khJD6Nx1x=kgvjbaefc_0gc8myuq_fso9stqi...@mail.gmail.com



Re: wget/curl cannot work on debian amd64

2012-03-21 Thread Juan Sierra Pons
2012/3/21 严海东 handlerofmas...@gmail.com:
 Dear all:
         I have a problem with using wget and curl on debian amd64
         when I type a command -- wget www.XXX.com, error messages
 will display as below:
         --2012-03-21 14:43:43--  http://www.XXX.com/
         Resolving 10 (10)... 0.0.0.10
         Connecting to 10 (10)|0.0.0.10|:8080... failed: Invalid argument

        when I type curl command--curl www.XXX.com, error messages
 will display as below:

        curl: (7) Failed to connect to 0.0.0.10: Invalid argument

        Does anyone have any ideas to solve it ?

        BR!


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/CAAC+c498M1khJD6Nx1x=kgvjbaefc_0gc8myuq_fso9stqi...@mail.gmail.com


Hi,

I think the problem cause can be seen in the following line:

Connecting to 10 (10)|0.0.0.10|:8080... failed: Invalid argument

The wget command tries to connect to a proxy located in 0.0.0.10. And
this is a bizarre IP address to me

Define the http_proxy=your_proxy_ip_address:port variable, then
execute the wget command again and see what happens

Best regards,

--
Juan Sierra Pons j...@elsotanillo.net
Linux User Registered: #257202   http://www.elsotanillo.net
GPG key = 0xA110F4FE
Key Fingerprint = DF53 7415 0936 244E 9B00  6E66 E934 3406 A110 F4FE
--


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CABS=y9tZJKrSA4avk2CizLufNJSTLDgYv4=Wki4fsbrub7f=n...@mail.gmail.com



Re: wget/curl cannot work on debian amd64

2012-03-21 Thread Raffaele Morelli
2012/3/21 严海东 handlerofmas...@gmail.com

 Dear all:
 I have a problem with using wget and curl on debian amd64
 when I type a command -- wget www.XXX.com, error messages
 will display as below:
 --2012-03-21 14:43:43--  http://www.XXX.com/
 Resolving 10 (10)... 0.0.0.10
 Connecting to 10 (10)|0.0.0.10|:8080... failed: Invalid argument


man wget  :-)

it seems just like your dns is preventing you to grab some porno stuff by
pointing to a local invalid address.
you should not be able to browse that site, have a try.
moreover, if you are on a multiuser box look (if you can) for a line
starting with 0.0.010 in your /etc/hosts

regards
-r


Re: wget/curl cannot work on debian amd64

2012-03-21 Thread 严海东
I have solved it.
As Juan Sierra Pons mentioned,I echo $http_proxy in the teminal and
see it pointing to 0.0.0.10:8080.
It is seted by gnome, and can be reset in system
settting-networking-network proxy.
thank you all to help me to solved it!!!

在 2012年3月21日 下午3:04,Raffaele Morelli raffaele.more...@gmail.com 写道:

 2012/3/21 严海东 handlerofmas...@gmail.com

 Dear all:
 I have a problem with using wget and curl on debian amd64
 when I type a command -- wget www.XXX.com, error messages
 will display as below:
 --2012-03-21 14:43:43--  http://www.XXX.com/
 Resolving 10 (10)... 0.0.0.10
 Connecting to 10 (10)|0.0.0.10|:8080... failed: Invalid argument


 man wget  :-)

 it seems just like your dns is preventing you to grab some porno stuff by
 pointing to a local invalid address.
 you should not be able to browse that site, have a try.
 moreover, if you are on a multiuser box look (if you can) for a line
 starting with 0.0.010 in your /etc/hosts

 regards
 -r



This email (including any attachments) is confidential and may be legally 
privileged. If you received this email in error, please delete it immediately 
and do not copy it or use it for any purpose or disclose its contents to any 
other person. Thank you.

本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAAC+c4_YU4ySd=uRQjoCbH-qo-2-nS3KkXQvs�upvvt9g...@mail.gmail.com



Re: wget/curl cannot work on debian amd64

2012-03-21 Thread Jude DaShiell
Why not try aria2c?

On Wed, 21 Mar 2012, Juan Sierra Pons wrote:

 2012/3/21 ??? handlerofmas...@gmail.com:
  Dear all:
  I have a problem with using wget and curl on debian amd64
  when I type a command -- wget www.XXX.com, error messages
  will display as below:
  --2012-03-21 14:43:43--  http://www.XXX.com/
  Resolving 10 (10)... 0.0.0.10
  Connecting to 10 (10)|0.0.0.10|:8080... failed: Invalid argument
 
 when I type curl command--curl www.XXX.com, error messages
  will display as below:
 
 curl: (7) Failed to connect to 0.0.0.10: Invalid argument
 
 Does anyone have any ideas to solve it ?
 
 BR!
 
 
  --
  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact 
  listmas...@lists.debian.org
  Archive: 
  http://lists.debian.org/CAAC+c498M1khJD6Nx1x=kgvjbaefc_0gc8myuq_fso9stqi...@mail.gmail.com
 
 
 Hi,
 
 I think the problem cause can be seen in the following line:
 
 Connecting to 10 (10)|0.0.0.10|:8080... failed: Invalid argument
 
 The wget command tries to connect to a proxy located in 0.0.0.10. And
 this is a bizarre IP address to me
 
 Define the http_proxy=your_proxy_ip_address:port variable, then
 execute the wget command again and see what happens
 
 Best regards,
 
 --
 Juan Sierra Pons j...@elsotanillo.net
 Linux User Registered: #257202   http://www.elsotanillo.net
 GPG key = 0xA110F4FE
 Key Fingerprint = DF53 7415 0936 244E 9B00  6E66 E934 3406 A110 F4FE
 --
 
 
 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/CABS=y9tZJKrSA4avk2CizLufNJSTLDgYv4=Wki4fsbrub7f=n...@mail.gmail.com
 
 


Jude jdashiel-at-shellworld-dot-net
http://www.shellworld.net/~jdashiel/nj.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.bsf.2.01.1203210519300.17...@freire1.furyyjbeyq.arg