anonymous ftp setup

Doug Jacobson doug at .ee.iastate.edu
Sat May 18 03:49:17 AEST 1991


I'm trying to setup an anonymous ftp for a 3B2/1000 running SYSV 3.2.2
and the Win/TCP version 3.2.  The problem I have is when I setup the
ftp HOME directory to be anything but "/" the I get an error
"425  Can't open data socket (0.0.0.0,0)" whenever I try to do an 'ls'
or transfer a file.  I can use cd and pwd and they work.  I have setup
a subdirectory with an etc, bin, shlib, pub, and tmp directories.
bin has ls and pwd in it, etc has passwd and group, shlib has a copy of /shlib.
The directory stucture is given below:

/usr2/ftp/bin:
total 383
-r-xr-xr-x   1 root     other      50254 May 16 14:14 csh
---x--x--x   1 root     other      21392 May 15 07:49 ls
-r-xr-xr-x   1 root     other      19551 May 16 10:51 pwd
-r-xr-xr-x   1 root     other      50254 May 16 13:32 rsh
-r-xr-xr-x   1 root     other      50254 May 16 13:32 sh

/usr2/ftp/etc:
total 38
-rw-r--r--   1 root     other          4 May 16 13:51 HostId
-rw-r--r--   1 root     other         21 May 16 13:51 HostName
-r--r--r--   1 root     other        239 May 15 07:49 group
-r--r--r--   1 root     other        217 May 16 10:59 hosts
-r--r--r--   1 root     other       8751 May 15 07:49 passwd
-r--r--r--   1 root     other        706 May 16 10:59 services

/usr2/ftp/pub:
total 0

/usr2/ftp/shlib:
total 211
-r-xr-xr-x   1 root     other      66626 May 16 10:47 libc_s
-r-xr-xr-x   1 root     other      39859 May 16 10:47 libnsl_s

/usr2/ftp/tmp:
total 0

Does anyone know how to setup anonymous ftp for the 3b2.

Doug Jacobson
Iowa State University
Ames Iowa
doug at isuee1.ee.iastate.edu




More information about the Comp.sys.att mailing list