[comp.sys.att] anonymous ftp setup

doug@.ee.iastate.edu (Doug Jacobson) (05/18/91)

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@isuee1.ee.iastate.edu

davidm@cbmvax.commodore.com (David Miller - CATS) (05/22/91)

In article <doug.674502557@isuee1> doug@.ee.iastate.edu (Doug Jacobson) writes:
|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:

...

|
|Does anyone know how to setup anonymous ftp for the 3b2.
|
|Doug Jacobson
|Iowa State University
|Ames Iowa
|doug@isuee1.ee.iastate.edu

What you're missing is a couple of devices.  I don't remember off hand
which ones, but try these for starters:

/dev/tcp
/dev/null
/dev/zero (if using 3.2.2)

If that doesn't work try adding these, one at a time, 'til it does:

/dev/ip
/dev/icmp
/dev/emd (or /dev/ni depending on version)
/dev/ptmx
/dev/pts...


Let me know how you make out.  SVR4 on the Amiga 3000UX only requires
/dev/tcp and /dev/zero, but your mileage may vary.

DavidM
--
DavidM			CATS - Commodore Applications and Technical Support
+1 215 431 9425		davidm@cbmvax.commodore.com
"Commodore Amiga 3000UX - Born to Run UNIX SVR4"