OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: pengunassasin on May 08, 2007, 01:17:12 pm

Title: Re-enable Ftp Sync On V3 Rom
Post by: pengunassasin on May 08, 2007, 01:17:12 pm
ok. im running Cacko/crow (that malovsky points to) on an sl-5500
it is obviously a v3 rom because there is no doctab, but a files tab.
I want to use FTP to let Qtopia Desktop sync over a LAN.
HOWEVER, the v3 rom removed the ftpd.  
I have installed troll-ftpd and can ftp into the Z on port 21. how do I (without alot of work) set troll-ftpd to run on port 4242, or have port 4242 connections REALLY connect to port 21.
Im using QTopia Desktop 2.n from QTopia's FTP server.  
Title: Re-enable Ftp Sync On V3 Rom
Post by: pengunassasin on May 09, 2007, 05:32:09 pm
OK. there is a way to do this. simply do this at a terminal
Code: [Select]
su
echo "checking if we can get the initial port 21:"
nc localhost 21
echo "forwarding port 21 to port 4242 via netcat tunneling"
nc -l -p 4242 | nc localhost 21

this should allow you to access your Z via FTP on Port 4242 (the FTP sync port) on v3 roms with the troll-ftpd package (or any other ftp daemon that can run / as /home/documents/Zaurus/)