Index of /dns323/fun-plug/0.4/
FUN-PLUG 0.4
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
This funplug package for the DNS-323 includes the following programs and libraries:
busybox-1.8.1
dns323-utils-0.7.176
uclibc-utils-0.9.28
zlib-1.2.3
pcre-7.4
tcp_wrappers-7.6
strace-4.5.16
file-4.21
e2fsprogs-1.40.2
Available add-ons are:
NFS:
portmap-6.0
unfs3-0.9.18 (user-space NFS daemon)
nfs-utils-1.1.0 (kernel NFS daemon, needs kernel support!)
SSH+SFTP:
dropbear-0.50
openssh-sftp-4.6p1
HTTP:
lighttpd-1.4.18
NTP:
ntp-4.2.4p4
RSYNC:
rsync-2.6.9
Use the funpkg.sh script to install add-on packages.
The 0.4 version comes with fewer addons, but most addons from
0.3 should still work with this version.
-- Installation --
Unpack funplug-0.4.tar.gz to the root of the first volume. It
contains two files: fun_plug and fun_plug.tar. Reboot and wait a
minute.
The telnet server will start automatically.
NOTE: Do not use WinZip, it will corrupt the fun_plug script.
-- Start scripts --
The directory /mnt/HD_a2/fun_plug.d/start/ contains scripts to start,
stop, and restart services. After installation, only telnet is
enabled. To manually start a service, e.g. the Dropbear SSH server,
do:
telnet bob
sh /mnt/HD_a2/fun_plug.d/start/dropbear.sh start
To stop it, do:
sh /mnt/HD_a2/fun_plug.d/start/dropbear.sh stop
Scripts that have their executable bit set, will be run automatically
by the fun_plug script on boot. To set the executable bit of, e.g.
dropbear.sh, do:
telnet bob
chmod a+x /mnt/HD_a2/fun_plug.d/start/dropbear.sh
To remove the bit, do:
chmod a-x /mnt/HD_a2/fun_plug.d/start/dropbear.sh
-- Upgrade --
First, rename the old fun_plug script and fun_plug.d directory:
telnet bob
cd /mnt/HD_a2
mv fun_plug fun_plug.bak
mv fun_plug.d fun_plug.d.bak
Then, unpack the new fun_plug and fun_plug.tar files and
reboot. After the new funplug has started, restore old config files
and re-enable start scripts. E.g.:
telnet bob
cd /mnt/HD_a2/fun_plug.d.bak/etc
cp -a lighttpd.conf /mnt/HD_a2/fun_plug.d/etc/
cp -aR dropbear /mnt/HD_a2/fun_plug.d/etc/
...
cd /mnt/HD_a2/fun_plug.d/start
chmod a+x unfsd.sh
sh unfsd.sh
sh lighttpd.sh
sh dropbear.sh
...
Finally, remove the backup files:
cd /mnt/HD_a2
rm fun_plug.bak
rm -rf fun_plug.d.bak
-- Deinstallation --
If you want to remove the funplug, just remove all files and reboot:
telnet bob
cd /mnt/HD_a2
rm -rf fun_plug fun_plug.d
reboot
-- More Information --
More information can be found in the forum at:
http://forum.dsmg600.info/index.php
There's also an IRC channel #funplug on irc.freenode.org.
Lighttpd: http://forum.dsmg600.info/p2730-20070426-095009.html#p2730
Have fun,
tp at fonz.de, Nov 2007