Click here to go to the forum index Click here for the home page
 
Author Message

<  Computer connections  ~  ftpd-topfield 0.7.7n

Page 3 of 4
Goto page Previous  1, 2, 3, 4  Next
Fraser67
Posted: Mon Feb 28, 2011 10:39 am Reply with quote
Regular contributor Joined: 02 Sep 2005 Posts: 42
I have now moved to using DD-WRT on an ASUS WL500W router and I am much happier than using Open-wrt for which I did eventually get 0.7.7n to compile.
However I have an issue with version 0.7.7 from the repositories in that if I stop a file transfer from the toppy to the PC the ftpd interface stops working and a router and toppy re-boot are required. I had a go at using Birdman?s mips complied version and puppy works and ftpd sort of works i.e. will give me a version number but crashes when used to actually transfer a file. Has any more work been done a version for Asus routers?

_________________
TF5800, IA On, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvEzPePfUUuUx
TAPs: TAP Commander 1.31; MyStuff 6.3; EPG2MEI v0.96; Extend v1.7; Font Manager 1.0d; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyInfo B5.5; Jukebox 2.1d;
Sig generated by MyInfo on 2/2/11
View user's profile Send private message
Geoff Bacon
Posted: Mon Feb 28, 2011 3:17 pm Reply with quote
Frequent contributor Joined: 12 Jan 2007 Posts: 4416
You may be able to avoid rebooting the toppy if you run the USBReset tap (when you would have rebooted)

Geoff

_________________
TopManager program
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvEzPfUUuZ
TAPs: PcControl B1.4; StopExit v1.01; PruneEPG 1.0; fsSave 1.1; QuickJump 1.72; SecCache (UK) v0.4; EIT Sub (Game) v0.6; EPG2MEI v0.96; MyStuff 6.6; Bookmark 3.0; Extend v1.7; Font Manager 1.0d; MyInfo B5.6; MHEG On/Off A3;
Sig generated by EMJB's MyInfo.tap on 29/12/18
View user's profile Send private message Visit poster's website
birdman
Posted: Tue Mar 01, 2011 1:54 am Reply with quote
Frequent contributor Joined: 13 Dec 2006 Posts: 1765 Location: Hitchin, HERTS Tx: Sandy Heath
Fraser67 wrote:
I had a go at using Birdman?s mips complied version and puppy works and ftpd sort of works i.e. will give me a version number but crashes when used to actually transfer a file. Has any more work been done a version for Asus routers?
Do you have the usbfs mounted on /proc/bus/usb or /sys/bus/usb? (what does "mount" show?

_________________

Toppy: TF5800PVR/250 - Black, now 1TB WD10EURX
F/W: MS6 Recommended F/W 12/9/2009 -FmVrXp+BmC0CbFsIPsUUuWfZXl,
Loader: C5.14, Hardware: 1.01
TAPs: SecCache (UK) v0.4; EPG2MEI v0.96; FontManager 1.0d; QuickJump 1.71; MhegOnOff(Now1) A3; EIT Sub v0.6; MyStuff 6.6
USB connected: SheevaPlug with Debian wheezy
Sig mostly from MyInfo on 26/10/09
View user's profile Send private message
Fraser67
Posted: Fri Mar 04, 2011 8:53 pm Reply with quote
Regular contributor Joined: 02 Sep 2005 Posts: 42
root@Toppy-DD-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /mnt type ext3 (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
/dev/discs/disc0/part1 on /opt type ext3 (rw)

So it it is using /proc/bus/usb. What is the difference?

_________________
TF5800, IA On, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvEzPePfUUuUx
TAPs: TAP Commander 1.31; MyStuff 6.3; EPG2MEI v0.96; Extend v1.7; Font Manager 1.0d; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyInfo B5.5; Jukebox 2.1d;
Sig generated by MyInfo on 2/2/11
View user's profile Send private message
birdman
Posted: Sat Mar 05, 2011 2:20 am Reply with quote
Frequent contributor Joined: 13 Dec 2006 Posts: 1765 Location: Hitchin, HERTS Tx: Sandy Heath
Fraser67 wrote:
So it it is using /proc/bus/usb. What is the difference?
Do you have libusb version 0.1.x install;ed?

_________________

Toppy: TF5800PVR/250 - Black, now 1TB WD10EURX
F/W: MS6 Recommended F/W 12/9/2009 -FmVrXp+BmC0CbFsIPsUUuWfZXl,
Loader: C5.14, Hardware: 1.01
TAPs: SecCache (UK) v0.4; EPG2MEI v0.96; FontManager 1.0d; QuickJump 1.71; MhegOnOff(Now1) A3; EIT Sub v0.6; MyStuff 6.6
USB connected: SheevaPlug with Debian wheezy
Sig mostly from MyInfo on 26/10/09
View user's profile Send private message
Fraser67
Posted: Sat Mar 05, 2011 5:53 pm Reply with quote
Regular contributor Joined: 02 Sep 2005 Posts: 42
libusb - 0.1.12-2 - Library for interfacing to the USB subsystem.

_________________
TF5800, IA On, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvEzPePfUUuUx
TAPs: TAP Commander 1.31; MyStuff 6.3; EPG2MEI v0.96; Extend v1.7; Font Manager 1.0d; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyInfo B5.5; Jukebox 2.1d;
Sig generated by MyInfo on 2/2/11
View user's profile Send private message
birdman
Posted: Sat Mar 05, 2011 6:26 pm Reply with quote
Frequent contributor Joined: 13 Dec 2006 Posts: 1765 Location: Hitchin, HERTS Tx: Sandy Heath
OK. Then try downloading and running the version mentioned in this link. I still haven't had time to work through a tidy up of the code and build for all systems.
It won't affect the problem of interrupting a transfer, though. Sometimes the Toppy just gets "stuck" afterwards

_________________

Toppy: TF5800PVR/250 - Black, now 1TB WD10EURX
F/W: MS6 Recommended F/W 12/9/2009 -FmVrXp+BmC0CbFsIPsUUuWfZXl,
Loader: C5.14, Hardware: 1.01
TAPs: SecCache (UK) v0.4; EPG2MEI v0.96; FontManager 1.0d; QuickJump 1.71; MhegOnOff(Now1) A3; EIT Sub v0.6; MyStuff 6.6
USB connected: SheevaPlug with Debian wheezy
Sig mostly from MyInfo on 26/10/09
View user's profile Send private message
Fraser67
Posted: Mon Mar 07, 2011 12:17 am Reply with quote
Regular contributor Joined: 02 Sep 2005 Posts: 42
In the link I found a file called ftpd-test. When I copied that file to the router, it works! What ever the difference is, it has done the tick. The toppy USB stability seemed to be better when I canceled a few transfers. However it did crash when I quit FileZilla and then re-started FileZiila (USBreset tap work however). But as you say that is a different problem. Anyways thank for the help.

_________________
TF5800, IA On, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvEzPePfUUuUx
TAPs: TAP Commander 1.31; MyStuff 6.3; EPG2MEI v0.96; Extend v1.7; Font Manager 1.0d; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyInfo B5.5; Jukebox 2.1d;
Sig generated by MyInfo on 2/2/11
View user's profile Send private message
birdman
Posted: Tue Mar 08, 2011 2:13 am Reply with quote
Frequent contributor Joined: 13 Dec 2006 Posts: 1765 Location: Hitchin, HERTS Tx: Sandy Heath
Fraser67 wrote:
In the link I found a file called ftpd-test. When I copied that file to the router, it works!
It's a code edit to avoid symbol conflicts between the ftpd-topfield code and libusb. In the process I also had to edit the libusb code to work with gcc4.4, and I've been working on adding options to the Makefile so you can specify static libusb builds, and where they happen to be (useful when you've just build a "private" libusb that you've installed to some "arbitrary" location).
Basically done (well - puppy is, and ftpd-topfield is really just more of the same) so I hope to get an updated set of sources and build onto the web site in teh next few days.

_________________

Toppy: TF5800PVR/250 - Black, now 1TB WD10EURX
F/W: MS6 Recommended F/W 12/9/2009 -FmVrXp+BmC0CbFsIPsUUuWfZXl,
Loader: C5.14, Hardware: 1.01
TAPs: SecCache (UK) v0.4; EPG2MEI v0.96; FontManager 1.0d; QuickJump 1.71; MhegOnOff(Now1) A3; EIT Sub v0.6; MyStuff 6.6
USB connected: SheevaPlug with Debian wheezy
Sig mostly from MyInfo on 26/10/09
View user's profile Send private message
birdman
Posted: Mon Mar 21, 2011 2:55 am Reply with quote
Frequent contributor Joined: 13 Dec 2006 Posts: 1765 Location: Hitchin, HERTS Tx: Sandy Heath
I've now removed the symbol name clashes from the code, and there are download versions statically-linked against libusb there now.
All at the same place as before.

_________________

Toppy: TF5800PVR/250 - Black, now 1TB WD10EURX
F/W: MS6 Recommended F/W 12/9/2009 -FmVrXp+BmC0CbFsIPsUUuWfZXl,
Loader: C5.14, Hardware: 1.01
TAPs: SecCache (UK) v0.4; EPG2MEI v0.96; FontManager 1.0d; QuickJump 1.71; MhegOnOff(Now1) A3; EIT Sub v0.6; MyStuff 6.6
USB connected: SheevaPlug with Debian wheezy
Sig mostly from MyInfo on 26/10/09
View user's profile Send private message
mstombs
Posted: Mon Mar 21, 2011 10:09 am Reply with quote
Frequent contributor Joined: 31 Dec 2006 Posts: 938
Great, thanks will test on nslu2 again when I can.

One small typo on your site in the last link to original sources "cources/puppy_1.14_src.tar.bz2"
View user's profile Send private message TF5800
Fraser67
Posted: Tue Mar 22, 2011 9:21 pm Reply with quote
Regular contributor Joined: 02 Sep 2005 Posts: 42
I think i must have had finger trouble before when I tested with ftpd-test as non of the new version work on my ASUS WL500W with optware on DD-WRT.

I went back and used ftpd-test again and that did not work either. I am sorry to stay I must have my versions wrong when renaming the files. Sorry.

This the error I get in filezilla

Status: Connecting to 192.168.2.7:21...
Status: Connection established, waiting for welcome message...
Response: 220 Toppy-DD-WRT FTP server (Topfield ftpd 0.7.7p) ready.
Command: USER anonymous
Error: Could not connect to server
Status: Waiting to retry...


Version 0.7.7 from nslu2 works

Status: Connecting to 192.168.2.7:21...
Status: Connection established, waiting for welcome message...
Response: 220 Toppy-DD-WRT FTP server (Topfield ftpd 0.7.7) ready.
Command: USER anonymous
Response: 331 Guest login ok, type your name as password.
Command: PASS **************
Response: 230 Guest login ok, access restrictions apply.
Command: SYST
Response: 215 UNIX Type: L8 Version: Linux 2.4.37
Command: FEAT
Response: 500 'FEAT': command not understood.
Status: Connected
Status: Retrieving directory listing...
Command: CWD /DataFiles

_________________
TF5800, IA On, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvEzPePfUUuUx
TAPs: TAP Commander 1.31; MyStuff 6.3; EPG2MEI v0.96; Extend v1.7; Font Manager 1.0d; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyInfo B5.5; Jukebox 2.1d;
Sig generated by MyInfo on 2/2/11
View user's profile Send private message
Fraser67
Posted: Tue Mar 22, 2011 9:52 pm Reply with quote
Regular contributor Joined: 02 Sep 2005 Posts: 42
I had a go at not running in the background and it reports the following if it helps

root@Toppy-DD-WRT:/opt/sbin# ./ftpd-topfield -D -d -P 21
ftpd-topfield[28359]: <--- 220
ftpd-topfield[28359]: Toppy-DD-WRT FTP server (Topfield ftpd 0.7.7p) ready.
ftpd-topfield[28359]: command: USER anonymous
./ftpd-topfield: can't resolve symbol '__ctype_b_loc'

_________________
TF5800, IA On, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+EvEzPePfUUuUx
TAPs: TAP Commander 1.31; MyStuff 6.3; EPG2MEI v0.96; Extend v1.7; Font Manager 1.0d; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyInfo B5.5; Jukebox 2.1d;
Sig generated by MyInfo on 2/2/11
View user's profile Send private message
birdman
Posted: Wed Mar 23, 2011 2:09 am Reply with quote
Frequent contributor Joined: 13 Dec 2006 Posts: 1765 Location: Hitchin, HERTS Tx: Sandy Heath
Fraser67 wrote:

./ftpd-topfield: can't resolve symbol '__ctype_b_loc'
Hmmm...seems that WRT has a somewhat older uClibc library than Oleg's.
Options include:
    I create a totally static build (much larger - libc is all included)
    You building it on your system (not difficult if you have a working gcc).

_________________

Toppy: TF5800PVR/250 - Black, now 1TB WD10EURX
F/W: MS6 Recommended F/W 12/9/2009 -FmVrXp+BmC0CbFsIPsUUuWfZXl,
Loader: C5.14, Hardware: 1.01
TAPs: SecCache (UK) v0.4; EPG2MEI v0.96; FontManager 1.0d; QuickJump 1.71; MhegOnOff(Now1) A3; EIT Sub v0.6; MyStuff 6.6
USB connected: SheevaPlug with Debian wheezy
Sig mostly from MyInfo on 26/10/09
View user's profile Send private message
birdman
Posted: Thu Mar 24, 2011 1:15 am Reply with quote
Frequent contributor Joined: 13 Dec 2006 Posts: 1765 Location: Hitchin, HERTS Tx: Sandy Heath
Fraser67 wrote:
./ftpd-topfield: can't resolve symbol '__ctype_b_loc'

You are not alone. There are some notes there about using the nslu2 ipkg set, rather than wl500g (no longer updated) and upgrading uClibc - which might cure the problem if you can do it.

_________________

Toppy: TF5800PVR/250 - Black, now 1TB WD10EURX
F/W: MS6 Recommended F/W 12/9/2009 -FmVrXp+BmC0CbFsIPsUUuWfZXl,
Loader: C5.14, Hardware: 1.01
TAPs: SecCache (UK) v0.4; EPG2MEI v0.96; FontManager 1.0d; QuickJump 1.71; MhegOnOff(Now1) A3; EIT Sub v0.6; MyStuff 6.6
USB connected: SheevaPlug with Debian wheezy
Sig mostly from MyInfo on 26/10/09
View user's profile Send private message

Display posts from previous:  

All times are GMT + 1 Hour
Page 3 of 4
Goto page Previous  1, 2, 3, 4  Next

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum