PDA

Bekijk de volledige versie : wl500g deluxe - ftpd-topfield



Reinder
18-04-2005, 11:29
I have a topfield 5000 and the asus wl500g deluxe, now will i connect the topfield to the asus with ftpd-topfield (bin file).
Will this work on the asus deluxe ?, it works on a wl500g.


I have the newest oleg firmware, bootloader patched.

Reinder
19-04-2005, 19:33
Ok i have try is and its works, but i have a problem

when i wil save the file

.........
flashfs save
flashfs commit
telnet say: file is to big <102949, max 65536>
what can i do ?????

Antiloop
19-04-2005, 19:43
be more clear please,

I have no idea where or what you are talking about :confused:

Reinder
19-04-2005, 19:51
I will start ftpd-topfield automatic, and I type this in mij router wl500g deluxe with telnet.

mkdir /usr/local/root/bin
mkdir /usr/local/sbin/
cp /tmp/harddisk/ftpd-topfield /usr/local/root/bin
chmod a+x /usr/local/root/bin/ftpd-topfield
echo “/usr/local/root/bin/ftpd-topfield -D -P 2021 -t 60 -p /tmp/ftpd-topfield.pid --turbo -–noeplf” >> /usr/local/sbin/post-boot
flashfs save
flashfs commit

and after i have type: flashfs commit, telnet say file is to big <102949, max 65536>

The ftpd-topfield file is 189.540 kb

barsju
19-04-2005, 20:42
You can leave the binary on harddisk and run from there, but instead of putting startup command in post-boot put it in post-mount.



mkdir -p /usr/local/sbin/
echo “/tmp/harddisk/ftpd-topfield -D -P 2021 -t 60 -p /tmp/ftpd-topfield.pid --turbo -–noeplf” >> /usr/local/sbin/post-mount
flashfs save
flashfs commit

B.

Reinder
19-04-2005, 20:54
Ok thanks I try it.

One question how can i remove the old post-boot from the asus.

barsju
19-04-2005, 21:48
rm /usr/local/sbin/post-boot

saturn
28-07-2005, 13:34
Hi,

I've just recently bought a WL500g to go with my topfield 5800.

I just have a few questions about setting up the ftpd-topfield app.

Question 1

I have run through all the processes to get the app running, this all works fine.

But when I ftp to it I get a blank file list unless I ftp using Firefox.

I have tested 2 ftp clients (flashfxp & smartftp) both do the same thing.

From reading this post I thought it was to do with the "list -al" command, but setting that to only be "list" made no difference.

I also know the data is there as it is displayed by running the view raw directory command which works in both apps.

Any ideas on what I am doing wrong?

Question 2

What do the "flashfs save" and "flushfs commit" commands actually do?

I thought they would save the directories and files I had created (ie the /usr/local/sbin folder and the post-mount file), but when I reboot the WL500g I loose all those files and folders.

Is this normal behavior?

piezomotor
25-01-2008, 15:49
I looks like my ftpd-topfield is running-

root]$ ps
194 root 160 S /opt/sbin/ftpd-topfield -D -P 21

here is the lines in post-firewall:

iptables -D INPUT -j DROP
iptables -A INPUT -p tcp --dport 21 -j ACCEPT
iptables -A INPUT -j DROP


But when I try to access it from WAN I have such error:

http://i135.photobucket.com/albums/q155/sonice2006/Topfielderror.jpg

I just would like to make ftpd-topfield work...

What is the root of this problem?