Connect to dns313 data partition
to linux pc by usb cable.
mount the partitions in /mnt/p1...4
mount -t ext3 /dev/sdb3 /mnt/p3
mount -t ext2 /dev/sdb4 /mnt/p4
mount -t ntfs /dev/sdb2 /mnt/p2
cd /mnt/p2
wget http://www.inreto.de/dns323/fun-plug/0.5/fun_plug
wget http://www.inreto.de/dns323/fun-plug/0.5/fun_plug.tgz
vi fun_plug
# change FFP_PATH=/mnt/HD_a2/ffp
# by
# FFP_PATH=/mnt/HD_a4/ffp
umount /mnt/p*
restart dns313.
telnet
the first step is to change root password to avoid unautorizate access.
mkdir -p /ffp/home/root
#change shell and home folder of root
usermod -s /ffp/bin/sh root
usermod -d /ffp/home/root root
#The pwconv command creates shadow from passwd and an optionally existing shadow.
pwconv
passwd
The new password most be store in the nas, otherwise it will erase on next reboot.
cd /ffp/sbin
wget http://wolf-u.li/u/172/ -O store-password.sh
store-passwd.sh
#next step enable ssh and disable telnet.
cd /ffp/start
chmod a+x sshd.sh
./sshd.sh start
Generating public/private rsa1 key pair.
Your identification has been saved in /ffp/etc/ssh/ssh_host_key.
Your public key has been saved in /ffp/etc/ssh/ssh_host_key.pub.
The key fingerprint is:
.
.
.
Generating public/private rsa key pair.
Your identification has been saved in /ffp/etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /ffp/etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
#try lo login using ssh
ssh -l root
cd /ffp/start
chmod a-x telnetd.sh
#restart device.
#Next: Install torrent client
#Step for install transmission torrent client
#login to device with ssh
#for fun-plug v0.5 do it
cd wget http://kylek.is-a-geek.org:31337/files/ffp/0.5/curl-7.18.1.tgz wget http://inreto.de/ffp/0.7/arm/packages/curl-7.21.4-arm-1.txz funpkg -i curl-7.18.1.tgz wget http://kylek.is-a-geek.org:31337/files/ffp/0.5/Transmission-2.71-1.tgz funpkg -i Transmission-2.71-1.tgzRun transmission for first time
-w download files to
-a allow connect from
-g config file
-p port for web or RPC interface
-t autentication for web is required
su nobody -c "transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/Downloads -t -u-v -a 127.0.0.1,192.168.1.*"
Use WebBrowser and navigate to
stop transmission client with CTRL-C and restart with
/ffp/start/transmission.sh start
******* unused ***********
user:root
password:11111