Re: problem with permanent connection.... (maybe a bug)

2001-10-25 Thread Christian Fraenkel

>
> This is not the case however. You probably have two network interfaces and
> wget seems to pick the "wrong" one by default here,
>
> I can't find how to change that address.

--bind-address=ADDRESS   bind to ADDRESS (hostname or IP) on local host.
does just that, it binds wgets connections to the specified ip address

Christian




Re: problem with permanent connection.... (maybe a bug)

2001-10-24 Thread Daniel Stenberg

On Wed, 24 Oct 2001, Marcelo Taube wrote:

> --> PORT 192,168,1,101,134,250

This is the proof. You're sending a network internal address to the remote
server so it can't find on that.

> I'm not sure what NAT is but I don't need a proxy to download files with
> konqueror, so I suppose I don't need a proxy for wget.

NAT is something that translates your IP address in the packages while going
from your machine to remote hosts.

This is not the case however. You probably have two network interfaces and
wget seems to pick the "wrong" one by default here,

I can't find how to change that address.

> I tried passive mode and now it works but what does passive mode means?
> why do i need that?

PORT tells the server to contact you for the data transfer. When you do PASV
you contact the server instead.

-- 
  Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol




Re: problem with permanent connection.... (maybe a bug)

2001-10-24 Thread Marcelo Taube

> Next time please send the debug output (wget -d ...)

**
[root@localhost Xfree]# wget -d 
ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22/Xf100.tgz
DEBUG output created by Wget 1.7.1-pre1 on linux-gnu.

parseurl 
("ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22/Xf100.tgz";)
 -> host ftp.cs.tu-berlin.de -> ftp_type I -> opath 
pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22/Xf100.tgz -> dir 
pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22 -> file Xf100.tgz -> ndir 
pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22
newpath: /pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22/Xf100.tgz
--22:39:54--  
ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22/Xf100.tgz
   => `Xf100.tgz'
Connecting to ftp.cs.tu-berlin.de:21... Caching ftp.cs.tu-berlin.de <-> 130.149.17.12
Created fd 3.
connected!
Logging in as anonymous ... 220 ftp.cs.tu-berlin.de FTP server ready.

--> USER anonymous

331 Guest login ok, send your complete e-mail address as password.

--> PASS -wget@

230 Guest login ok, access restrictions apply.
Logged in!
==> SYST ...
--> SYST

215 UNIX Type: L8
done.==> PWD ...
--> PWD

257 "/" is current directory.
done.
==> TYPE I ...
--> TYPE I

200 Command okay.
done.  changing working directory
Prepended initial PWD to relative path:
  old: 'pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22'
  new: '/pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22'
==> CWD /pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22 ...
--> CWD /pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22

250 CWD command successful.
done.
==> PORT ... Master socket fd 4 bound.

--> PORT 192,168,1,101,134,250

200 Command okay.
done.==> RETR Xf100.tgz ...
--> RETR Xf100.tgz

150 File status okay; about to open data connection.
done.
**


> Just a guess, but are your new network connection using NAT. And if so
> does the router (or firewall) has a FTP proxy to allow active FTP
> connections through ?
> If not, try using passive mode.
I'm not sure what NAT is but I don't need a proxy to download files with konqueror, so 
I suppose 
I don't need a proxy for wget.

I tried passive mode and now it works but what does passive mode means? why do i need 
that?



Re: problem with permanent connection.... (maybe a bug)

2001-10-24 Thread Hack Kampbjørn

Marcelo Taube wrote:
> 
> wget was working OK with my ppp connection, now I installed a new connection
> throw a NE2000 ETHERNET card, most of the programms work Ok and faster but
> wget (and other programms that depend on it) don't work anymore
> 
> this is what happens when I try to download a file (It happens with other files from 
>other ftp servers as well)...
> **
> [root@localhost /root]# wget 
>ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22/Xf100.tgz

Next time please send the debug output (wget -d ...)

> --14:28:48--  
>ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22/Xf100.tgz
>=> `Xf100.tgz'
> Connecting to ftp.cs.tu-berlin.de:21... connected!
> Logging in as anonymous ... Logged in!
> ==> SYST ... done.==> PWD ... done.
> ==> TYPE I ... done.  ==> CWD /pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22 ... 
>done.
> ==> PORT ... done.==> RETR Xf100.tgz ... done.
> **
> After the last "done" it freezes and doesn't  download a single byte.
> I have already updated to the last version of wget (cvs version) but the problem was 
>not fixed.
> 

Just a guess, but are your new network connection using NAT. And if so
does the router (or firewall) has a FTP proxy to allow active FTP
connections through ?
If not, try using passive mode.

$ wget --help 
GNU Wget 1.7, a non-interactive network retriever.
Usage: wget [OPTION]... [URL]...
[...]
FTP options:
  -nr, --dont-remove-listing   don't remove `.listing' files.
  -g,  --glob=on/off   turn file name globbing on or off.
   --passive-ftp   use the "passive" transfer mode.
   --retr-symlinks when recursing, get linked-to files (not
dirs).


> **
> [root@localhost /root]# wget --version
> GNU Wget 1.7.1-pre1
> 
> Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
> This program is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> GNU General Public License for more details.
> 
> Originally written by Hrvoje Niksic <[EMAIL PROTECTED]>.
> **
> I have no idea of what's causing this...
> Thank you in advance...

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn



problem with permanent connection.... (maybe a bug)

2001-10-24 Thread Marcelo Taube

wget was working OK with my ppp connection, now I installed a new connection 
throw a NE2000 ETHERNET card, most of the programms work Ok and faster but 
wget (and other programms that depend on it) don't work anymore

this is what happens when I try to download a file (It happens with other files from 
other ftp servers as well)...
**
[root@localhost /root]# wget 
ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22/Xf100.tgz
--14:28:48--  
ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22/Xf100.tgz
   => `Xf100.tgz'
Connecting to ftp.cs.tu-berlin.de:21... connected!
Logging in as anonymous ... Logged in!
==> SYST ... done.==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/X/XFree86/4.1.0/binaries/Linux-ix86-glibc22 ... 
done.
==> PORT ... done.==> RETR Xf100.tgz ... done.
**
After the last "done" it freezes and doesn't  download a single byte.
I have already updated to the last version of wget (cvs version) but the problem was 
not fixed.

**
[root@localhost /root]# wget --version
GNU Wget 1.7.1-pre1

Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Originally written by Hrvoje Niksic <[EMAIL PROTECTED]>.
**
I have no idea of what's causing this...
Thank you in advance...