OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Cxx0 General discussions => Topic started by: dietmar on November 19, 2004, 02:55:29 am

Title: FTP - how does it work?
Post by: dietmar on November 19, 2004, 02:55:29 am
hallo,

there is an issue I'd like to ask you for help about.

FTP is always answered with failure. looks like this:

[home Linux box]# ftp zaurus
Connected to zaurus (192.168.37.99).
421 Service not available, remote server has closed connection
ftp>

If I telnet from win or Linux to my C860/SharpROM via WLAN it works fine (quotes are copypasted from the session with zaurus).

In /home/etc/inetd.conf I already told ftp to work and even lately released the "Without tcpd". In vain. Quote:
### With tcpd (TCP Wrapper) ###
#
ftp   stream   tcp   nowait   root   /usr/sbin/tcpd   in.ftpd -l -a
telnet   stream  tcp    nowait  root    /usr/sbin/tcpd   in.telnetd
### Without tcpd (TCP Wrapper) ###
ftp   stream   tcp   nowait   root   /usr/sbin/in.ftpd -l -a
#telnet   stream  tcp    nowait  root    /usr/sbin/in.telnetd

Since telnet and ping etc. work fine and even surfing with the Z by WLAN is fine I assume it's a config issue.


What may help?

/Dietmar


C860 Sharp 1.40JP  2.4.18-rmk7
Title: FTP - how does it work?
Post by: lardman on November 19, 2004, 06:42:44 am
I don't think the ftp binary exists on the later Sharp ROMs, check it by running it from the terminal.

You could always use samba (built in), or install ftp or ssh/sfpt.


Si
Title: FTP - how does it work?
Post by: dietmar on November 20, 2004, 06:44:45 am
Thanks a lot for the swift answers.

looks like FTP is an issue. well, I did not manage to get samba working as supposed. particularly not from linux to linux. sorry, I was never really educated in computer sciences....

Meanwhile I achieved to get the desired FTP access from my Linux home box to the Z:
1) Install pureFTP (http://www.pureftpd.org/) available from killefiz (http://www.killefiz.de/zaurus/search.php?q=pureftp&x=0&y=0)
Now you need to start pure-ftpd as root. And it fails due to blocked (used) port or so. did not figure out completely.
2) Comment (!) the ftp lines in the /home/etc/inetd.conf and restart the inetd.
Works for me. User is zaurus and passphrase was zaurus, too.

Probable irritation for connection via USB or the sync (fails anyway :-((  )

Have FUN!
Title: FTP - how does it work?
Post by: tumnus on December 03, 2004, 08:02:49 pm
See the following FAQs for more information:

http://www.zaurususergroup.com/modules.php...&parent_id=0#94 (http://www.zaurususergroup.com/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=12&categories=Networking&parent_id=0#94)
http://www.zaurususergroup.com/modules.php...parent_id=0#372 (http://www.zaurususergroup.com/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=12&categories=Networking&parent_id=0#372)