FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-21-2012, 05:48 AM
严海东
 
Default wget/curl cannot work on debian amd64

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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAAC+c498M1khJD6Nx1x=kGVjbaeFC_0gC8MYUQ_FSo9STqiTd Q@mail.gmail.com">http://lists.debian.org/CAAC+c498M1khJD6Nx1x=kGVjbaeFC_0gC8MYUQ_FSo9STqiTd Q@mail.gmail.com
 
Old 03-21-2012, 05:57 AM
Juan Sierra Pons
 
Default wget/curl cannot work on debian amd64

2012/3/21 严海东 <handlerofmaster@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-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/CAAC+c498M1khJD6Nx1x=kGVjbaeFC_0gC8MYUQ_FSo9STqiTd Q@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_addressort variable, then
execute the wget command again and see what happens

Best regards,

--------------------------------------------------------------------------------------
Juan Sierra Pons juan@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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CABS=y9tZJKrSA4avk2CizLufNJSTLDgYv4=Wki4fsbrub7f=N g@mail.gmail.com">http://lists.debian.org/CABS=y9tZJKrSA4avk2CizLufNJSTLDgYv4=Wki4fsbrub7f=N g@mail.gmail.com
 
Old 03-21-2012, 06:04 AM
Raffaele Morelli
 
Default wget/curl cannot work on debian amd64

2012/3/21 严海东 <handlerofmaster@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
 
Old 03-21-2012, 06:48 AM
严海东
 
Default wget/curl cannot work on debian amd64

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.morelli@gmail.com> 写道:
>
> 2012/3/21 严海东 <handlerofmaster@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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAAC+c4_YU4ySd=uRQjoCbH-qo-2-nS3KkXQvs?pvvT9GTEg@mail.gmail.com
 
Old 03-21-2012, 08:19 AM
Jude DaShiell
 
Default wget/curl cannot work on debian amd64

Why not try aria2c?

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

> 2012/3/21 ??? <handlerofmaster@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-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > Archive: http://lists.debian.org/CAAC+c498M1khJD6Nx1x=kGVjbaeFC_0gC8MYUQ_FSo9STqiTd Q@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_addressort variable, then
> execute the wget command again and see what happens
>
> Best regards,
>
> --------------------------------------------------------------------------------------
> Juan Sierra Pons juan@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-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/CABS=y9tZJKrSA4avk2CizLufNJSTLDgYv4=Wki4fsbrub7f=N g@mail.gmail.com
>
>

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: alpine.BSF.2.01.1203210519300.17601@freire1.furyyj beyq.arg">http://lists.debian.org/alpine.BSF.2.01.1203210519300.17601@freire1.furyyj beyq.arg
 

Thread Tools




All times are GMT. The time now is 01:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org