Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Has anyone had any success in getting anything to run on the DNS-313? (besides shellscripts...) I understand it has a different architecture, so the binaries are different. How can I get a working toolchain in order to build programs for it?
I have also discovered that it comes with telnetd/busybox preinstalled. It is possible to log in, but I don't get a prompt, only:
BusyBox v1.00-pre1 (2007.08.28-03:13+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands.
Lets share 313 experiences :-)
Offline
Additionally it says:
Linux 2.6.15 (NAS) (0)
According to the paper documentation the following comments should be available:
show w
show c
Google seems to know quite a lot on BusyBox:
http://www.google.com/search?sourceid=n … ;q=busybox
Offline
andrev wrote:
Has anyone had any success in getting anything to run on the DNS-313? (besides shellscripts...) I understand it has a different architecture, so the binaries are different. How can I get a working toolchain in order to build programs for it?
I have also discovered that it comes with telnetd/busybox preinstalled. It is possible to log in, but I don't get a prompt, only:Code:
BusyBox v1.00-pre1 (2007.08.28-03:13+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands.Lets share 313 experiences :-)
enter unlock code "5784468"
that brings you to the command line interface.
Offline
Hello, you can login using "admin" / (the password you set in web administration) or using "root" (password is "11111", at least on my device). You'll the need same unlock code for root.
fun_plug should be supported but it seems it's compiled using ARMv5 instruction set instead of v4. I've compiled a static binary of dropbear and it seems to be working (needs the same unlock code for now, I need to compile a vanilla busybox too it seems).
Offline
Has anyone got rsyncd running in a 313 - if we can do this, we can use the device for what we want, otherwise its not going to be much use to us. Rather disappointed rsyncd wasn't built in 8-(
Offline
smo wrote:
fun_plug should be supported but it seems it's compiled using ARMv5 instruction set instead of v4.
Yes, true. If you want to recompile for the DNS-313, just change this line in config.sh:
BUILD="-Os -mtune=arm9e -march=armv5te -pipe"
If in doubt, remove -mtune and -march switches completely.
Offline
smo wrote:
using "root" (password is "11111", at least on my device). You'll the need same unlock code for root.
Works for me too.
Now, that unlocking didn't work so far though.
Offline
Then, is it possible to install fun_plug on DNS-313 or not? I've seen the distribution for 323 but I don't know if I can install it directly to the 313 just following the steps from the 323 wiki.
By the way, is there any wiki for DNS-313? Might be a good place for explaining this issue. And I'll be very glad to contribute... Besides my knowledge is very limited. :-P
Thank you all.
Offline
Fun.plug is simply the name one gives a script which involves itself with the booting of the system. it's not really something you install. Some kind soul did make a package for Dns-323 which one does install, but it includes programs called by the script which may or may not work with the 313.
Offline
FYI: I've started an experimental 0.5 version of my funplug package. It's no longer compiled for armv5, so it might run on the 313, too. If someone wants to try, I'd be happy to hear about the results.
PS: Experimenting with this version could be 'dangerous' for your data. Please take care! Having a serial connection might help, too.
PPS: http://www.inreto.de/dns323/fun-plug/0.5-experimental/
Offline
Thanks fonz. I have installed your fun_plug package and many of the tgz's. I have to start it manually since I'm using an ext2 filesystem, but it works nice.
Se this post http://dns323.kood.org/forum/t1318-chan … tml#p11630
I have tested the dropbear with the sftp server. It works nice. I relay like that I don't have to type the stupid unlock string when I login to the ssh server, and the bash environment it's much better. I miss the ctrl-r and other shortcuts for the bash history, but that's fine.
I also downloaded the gcc and some libs to do a test build of dcraw. It worked and it's of course very slow, like 6min for a 6mp raw file. But my goal was more to test the fun_plug package.
Thank you very much for the fun_plug.
Offline
Thanks for giving feedback. Don't worry too much about the compiler. At the moment, it's broken anyway. From the other posts I see that it's not exactly simple to install and run the funplug package on the 313. Having NTFS on disk obviously compilcates stuff. Maybe it's possible to create a file with an ext2 filesystem inside, then mount it and run the funplug from there...
Offline
Thanks fonz for this hint.
I reformatted the device. I have now a small /dev/sda2 ntfs file system with only a fun_plug file.
I deleted the /dev/sda4, I think there was a media server or somthing there. I forgot to take a backup.
I then created a new filesystem /dev/sda4 with ext2 that contain the rest of the space on the harddrive. This mounts in the boot process as /mnt/HD_a4
/dev/sda2 funplug
#######
#!/bin/sh
dmesg > /mnt/HD_a2/dmesg.o
/mnt/HD_a4/start.sh&
#######
My /mnt/HD_a4/start.sh
##########
#I'm not sure if the sleep is necessary
sleep 2
umount /mnt/HD_a2
mount /dev/sda4 /mnt/HD_a2
sleep 5
#run fonz fun_plug
/mnt/HD_a2/fun_plug
##############
and the fun_plug is up and running.
Offline
Hi,
I've got the DNS-313 with Fw. 101b11 and only a NTFS Partition.
I have installed your fun_plug script and tgz to my DNS-313 Root. After startup there was a new folder ffp and the tgz deleted. But telnet didn't work. So I edit your Script, so I can reach the console.
The last lines in log says:
**** fun_plug script for DNS-323 (2008-03-09 tp@fonz.de) ****
Thu Mar 20 23:52:51 CET 2008
ln -snf /mnt/HD_a2/ffp /ffp
chmod: /ffp/bin/busybox: Operation not permitted <- Depends on "chmod u+s"
* Running /ffp/etc/rc ...
/mnt/HD_a2/fun_plug: /ffp/etc/rc: No such file or directory
* OK
When I try to fetch the packages with rsync I can't execute the command from your readme.
If I load it manually, i even can not run "funpkg *.tgz". So what shall I do to get it working? Do I have to delete NTFS and use EXT2 instead?
Geetings
Hary
Last edited by harryhopper (2008-03-21 01:13:44)
Offline
harryhopper wrote:
Hi,
I've got the DNS-313 with Fw. 101b11 and only a NTFS Partition.
I have installed your fun_plug script and tgz to my DNS-313 Root. After startup there was a new folder ffp and the tgz deleted. But telnet didn't work. So I edit your Script, so I can reach the console.
The last lines in log says:
**** fun_plug script for DNS-323 (2008-03-09 tp@fonz.de) ****
Thu Mar 20 23:52:51 CET 2008
ln -snf /mnt/HD_a2/ffp /ffp
chmod: /ffp/bin/busybox: Operation not permitted <- Depends on "chmod u+s"
* Running /ffp/etc/rc ...
/mnt/HD_a2/fun_plug: /ffp/etc/rc: No such file or directory
* OK
When I try to fetch the packages with rsync I can't execute the command from your readme.
If I load it manually, i even can not run "funpkg *.tgz". So what shall I do to get it working? Do I have to delete NTFS and use EXT2 instead?
Geetings
Hary
Me, too. Is there any solution??
Please
I've tried it all the night@@
Offline
lt_gustavsen wrote:
the bash environment it's much better. I miss the ctrl-r and other shortcuts for the bash history
They work with a better terminal setting. By default, I get:
# echo $TERM vt102
When I do
/ # TERM=xterm /ffp/bin/bash --login
then C-r etc work in the new shell. TERM could probaly be set from /ffp/etc/profile, but I'm unsure how to detect the correct value.
Offline
I'm getting the same error and no telnet is possible.
**** fun_plug script for DNS-323 (2008-03-09 tp@fonz.de) ****
Thu Mar 20 23:52:51 CET 2008
ln -snf /mnt/HD_a2/ffp /ffp
chmod: /ffp/bin/busybox: Operation not permitted <- Depends on "chmod u+s"
* Running /ffp/etc/rc ...
/mnt/HD_a2/fun_plug: /ffp/etc/rc: No such file or directory
* OK
How did you got this working?
Thanks
Mark
Offline