Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
fonz wrote:
Well, I've uploaded funplug-0.3.
Fonz,
outstanding work!
Upgrade went through just fine :-)
Thanks a lot!
Cheers,
Emacs
Offline
Thanks for the new fun_plug fonz!
Btw, why not make this topic a "sticky"?
/MiK
Offline
First I'd like to say a big thank you for this. This linux/unix world is totally alien to me and I need all the help I can get
I have one script which is usually run with "&" at the end of the command line, which I think means it runs as another process, allowing my usual fun_plug to continue to the end. Foolishly I put this in the start directory and it stops the remaining scripts running - mainly telnet
I have now managed to fix this, but is there anyway this can be made to work with this fun_plug ?
Thanks again - Paul
Offline
Panda,
it can ;-)
If you start your program with something like
myprog &
then put this line into a script (text file ending on .sh)
Place it in the start folder
Name it myscript.sh
Now set it to be executable: chmod 755 myscript.sh
Fun plug will now recognize the new script "myscript.sh" as something you want to execute during startup.
The script itself will call myprog and will put it into the background - meaning the rest of the funplug system will continue to run.
Sorry for the poor english - too drunk ;-)
Cheers,
Emacs
Offline
Thanks Fonz.
So, is that release has rc1.d, rc2.d, rc3.d ...? I think it's a good idea to add loading priority to each service like S01mount-disk, S50telnetd
Noodle
Offline
Emacs wrote:
Sorry for the poor english - too drunk ;-)
Cheers,
Emacs
Your drunk English is better than my sober
Thanks for the help - got it sorted now.
Thanks.
Offline
Help, Fonz.
I tried dropbear ssh by install fun_plug.d to the location (/mnt/sys/fun_plug.d in my case) other than default, and modified both fun_plug and fun_plug.d/etc/profile to pointer FUNPLUGDIR to my new location (I changed profile under /mnt/sys/fun_plug.d/etc/, leave the one under /mnt/HD_a2/fun_plug.d/etc/ as is since I want to keep a copy of your fun_plug on HD as backup in case USB drive failed). But every time I log in by ssh, all my setting still point to: /mnt/HD_a2/fun_plug.d. telnet is fine, only ssh. So I did a search on string "/mnt/HD_a2" in dropbear, but only find "/mnt/HD_a2/fun_plug.d/bin/sftp-server", "/mnt/HD_a2/fun_plug.d/etc/dropbear/dropbera_dss_host_key" and "/mnt/HD_a2/fun_plug.d/etc/dropbear/dropbear_rsa_host_key". My dropbear start as environment set to /mnt/sys/fun_plug.d, I'm expecting all the setting also use it in ssh session. Did I missed something? or ssh session is hard coded to use /mnt/HD_a2/fun_plug.d, not configurable or inherited from parent process? What I did wrong?
[edit]
After another try, modify /mnt/HD_a2/fun_plug.d/etc/profile, it works. So it looks like profile had been hard coded as "/mnt/HD_a2/fun_plug.d/etc/profile" in busybox, not from ${ETCDIR}/profile
Thanks
Noodle
Last edited by noodle (2007-07-24 03:14:32)
Offline
noodle wrote:
So it looks like profile had been hard coded as "/mnt/HD_a2/fun_plug.d/etc/profile" in busybox, not from ${ETCDIR}/profile
Yes, it's hardcoded, and so are quite a number of other paths. I don't think running the current funplug from a different location will work reliably. If you really want to, I suggest you recompile the funplug with e.g. /opt as prefix (instead of /mnt/HD_a2/fun_plug.d) and then bind-mount your installation path on /opt.
Offline
fonz, would it be possible to add jhead as a fun_plug addon (for use in Gallery1)?
http://www.sentex.net/~mwandel/jhead/
/MiK
Offline
Fonz, I'm using your busybox binary right now. I've previously compiled my own, but lately been having problems with the config. Would you be so kind as to post your busybox config somewhere? Thanks!
Offline
MiK wrote:
fonz, would it be possible to add jhead as a fun_plug addon (for use in Gallery1)?
Yes, looks like a useful program: http://www.inreto.de/dns323/fun-plug/0.3/jhead-2.7.tgz
Offline
kruzes wrote:
Fonz, I'm using your busybox binary right now. I've previously compiled my own, but lately been having problems with the config. Would you be so kind as to post your busybox config somewhere? Thanks!
Just run:
busybox bbconfig
Offline
noodle wrote:
So, is that release has rc1.d, rc2.d, rc3.d ...?
Ahem, no. These are usually run-level directories - quite unrelated to ordering of scripts.
noodle wrote:
I think it's a good idea to add loading priority to each service like S01mount-disk, S50telnetd
It's ugly. Though it might prevent people from shooting themselves in the foot by putting blocking scripts into start/.
Offline
Yeah, I know rc1.d for run-level, and we don't need it for DNS-323, but order of scripts is useful, sometime those scripts has dependency relationship. Just a guess.
BTW, Fonz, I cannot build funplug_0.3. I found funplug_0.2 source tar file (pretty big), and fun_plug_0.3 source tar file (pretty small). I tried to create /opt/dns323/funplug_0.3, create symbol link "ln -snf funplug_0.3 funplug" and tar jxvf /dist/funplug-src-0.3-2007-07-22.tar.bz2 into it, and run "sh world.sh" under /opt/dns323/funplug, the only thing I got is: "busybox-1.6.1 FAILED". and /opt/dns323/funplug/tmp/busybox.log only contains:
+ set -e
+ source ./functions.sh
+++ pwd
++ CWD=/opt/dns323/funplug
++ . ./config.sh
What could be wrong?
BTW, d-link cross compile built without error.
Offline
noodle wrote:
"busybox-1.6.1 FAILED". and /opt/dns323/funplug/tmp/busybox.log only contains:
+ set -e
+ source ./functions.sh
+++ pwd
++ CWD=/opt/dns323/funplug
++ . ./config.sh
What could be wrong?
maybe it's fakeroot. Do you have fakeroot installed? If not, install it, or set
FAKEROOT=
in config.sh.
To check details, try setting "set -x" at the top of config.sh. Should show where it fails, then.
PS: Also check that the CROSSTOOLS path is correct.
Last edited by fonz (2007-07-24 22:11:48)
Offline
You are right, fonz. I installed fakeroot, and it's building right now.
Thanks
Offline
fonz wrote:
Yes, looks like a useful program: http://www.inreto.de/dns323/fun-plug/0.3/jhead-2.7.tgz
Thanks fonz!
/MiK
Offline
noodle wrote:
BTW, Fonz, I cannot build funplug_0.3. I found funplug_0.2 source tar file (pretty big), and fun_plug_0.3 source tar file (pretty small). I tried to create /opt/dns323/funplug_0.3, create symbol link "ln -snf funplug_0.3 funplug" and tar jxvf /dist/funplug-src-0.3-2007-07-22.tar.bz2 into it, and run "sh world.sh" under /opt/dns323/funplug, the only thing I got is: "busybox-1.6.1 FAILED". and /opt/dns323/funplug/tmp/busybox.log only contains:
+ set -e
+ source ./functions.sh
+++ pwd
++ CWD=/opt/dns323/funplug
++ . ./config.sh
I got the same error:
"busybox-1.6.1 FAILED"
Looking at the log (/opt/dns323/funplug-0.3/tmp/busybox.log) helped me fix my problem. Near the bottom, it said something like "unknown command 'curl'". I installed curl (on Debian: apt-get install curl), re-ran world.sh and the error went away. However, I have a new error:
"dns323-utils-0.7.176 FAILED"
Looking at the log (/opt/dns323/funplug-0.3/tmp/dns323-utils.log) I see this:
"+ install -m 0755 -t /opt/dns323/funplug-0.3/tmp/pkg-dns323-utils-0.7.176/mnt/HD_a2/fun_plug.d/bin dns323-poweroff
install: invalid option -- t
Try `install --help' for more information."
Any ideas for how to fix this one?
Offline
cyboc wrote:
"+ install -m 0755 -t /opt/dns323/funplug-0.3/tmp/pkg-dns323-utils-0.7.176/mnt/HD_a2/fun_plug.d/bin dns323-poweroff
install: invalid option -- t
Try `install --help' for more information."
Any ideas for how to fix this one?
I fixed it. Apparently, I had an old version of coreutils, the package that contains the install command. I upgraded coreutils. In the new version of coretutils, install has a "t" option.
Offline
This is very unlikely caused by fonz's fun_plug.d release, but as that is what I am using I will ask about it here.
I have enabled NFS support and it seems to run fine. I am doing an NFS mount from OS X using "nfs://192.168.1.15/mnt/HD_a2". I have also checked to make sure my uid and gid are that same between my DNS and OS X boxes (502 for each, if it matters). After the NFS mount, it appears to be accessible fine from OS X. I can browse it, create new directories, and read files. The problem is that when I attempt to do a file write it just hangs for a bit and then disconnects the NFS mount.
I haven't had the chance to try it from Linux or Vista (Ultimate) yet. Any ideas why it is disconnecting? I can then remount it but have the same recurring problem.
thanks
Offline
A big thks to Fonz for the nice fun_plug package! I am a linux newbie and I've managed to get telnet and lighttpd started.
I am now trying to get telnet to request for login... looking a tthe telnetd.sh file...
so I change
# use "login" to make telnet ask for a password
LOPT="-l ${BINDIR}/sh"
#LOPT="-l ${BINDIR}/login"
to this ...
# use "login" to make telnet ask for a password
#LOPT="-l ${BINDIR}/sh"
LOPT="-l ${BINDIR}/login"
Then I have to reboot the DNS323 and telnet will ask for a login? But what login do I use? The admin page password?
Thanks!
Offline
Hi Fonz,
I've been using your fun_plug for about 5 weeks now with great success. I greatly appreciate your efforts here, so from me also: many thanks!
I'm using a Conceptronics CH3SNAS device. Today I updated to the new 1.02 beta firmware but I'm afraid I may have made a stupid mistake. I set a root password and stored it to flash memory just like your manuals state to do so and changed the login option in de the telnetd.sh file to require the root password. Sadly I can now no longer log in as Root because the password seems to be lost. I can't change the root password either. So the root is still running stuff like the lighttpd webserver, etc but I can't change anything!
(editing the telnetd.sh file as an other user (which I can log in with) isn't possible; it's write protected)
Help!
Hope you can help me, many thanks,
Regards,
Ed
Offline