Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
i am new to this.
is it posible to flash the dns 343 with custom firmware to make it work with bit torrent.
Offline
You don't have to use custom firmware.
You can funplug it and install transmission on it or compile a bittorrent client.
I compiled rTorrent on my NAS and put a Web GUI on it.
If you like I can put my full instructions on the forums.
Last edited by Smallstack (2009-06-13 12:24:24)
Offline
Would you mind sending me your info?
Smallstack wrote:
You don't have to use custom firmware.
You can funplug it and install transmission on it or compile a bittorrent client.
I compiled rTorrent on my NAS and put a Web GUI on it.
If you like I can put my full instructions on the forums.
Offline
hi smallstack, please do include your guide. I just purchased a 343 and a total newbie to compilation. THanks in advance!
Offline
I've been on holiday but here is the guide.
I haven't changed any of the folder paths etc from my setup in this guide.
1. Put fun_plug.tgz and fun_plug.sh on Volume_1 2. telnet to NAS 3. Setup SSH pwconv passwd usermod -s /ffp/bin/sh root pwck grpck store-passwd.sh cd /ffp/start sh sshd.sh start TEST SSH CONNECTION BEFORE DISABLING TELNET chmod a-x telnetd.sh chmod a+x sshd.sh 4. Get all the fun_plug packages cd /mnt/HD_a2 mkdir files cd /mnt/HD_a2/files rsync -av inreto.de::dns323/fun-plug/0.5 . 5. Install the packages cd files funpkg -i packages/*.tgz funpkg -i extra-packages/All/curl-7.19.4-1.tgz 6. Setup lighttp with php cd /mnt/HD_a2 mkdir -p www/logs www/pages cd /mnt/HD_a2/files funpkg -i extra-packages/All/php-5.2.9-1.tgz cd /ffp/etc cp examples/lighttpd.conf-with-php lighttpd.conf sh /ffp/start/lighttpd.sh start 8. Configure PHP cd /ffp/etc cp examples/php.ini-recommended php.ini 7. Configure lighttp for port 80 cd /ffp/etc vi lighttpd.conf - Find server.port and modify it to be 80 - Disable the following dir-listing.activate and dir-listing.show-readme - change server.upload-dirs to /mnt/HD_a2/www/tmp cd /ffp/start chmod a+x kickwebs.sh lighttpd.sh sh kickwebs.sh start sh lighttpd.sh restart 8. Test php configuration cd /mnt/HD_a2/www/pages vi test.php - Insert the following <?php phpinfo(); ?> 9. Check the configuration http://<IP_Address>/test.php - Find "cURL support" and make sure it is enabled cd /mnt/HD_a2/www/pages rm test.php 11. Compile rTorrent cd /mnt/HD_a2/files mkdir sources svn co svn://rakshasa.no/libtorrent/trunk/ rtorrent funpkg -i extra-packages/All/libsigc++-2.0.18-1.tgz funpkg -i extra-packages/All/xmlrpc-c-1.16.6.tar -- Have to get this from some where else (shadowandy or compile it) funpkg -i /mnt/HD_a2/files/extra-packages/perl/perl-*.tgz cd rtorrent/trunk svn up cd libtorrent ./autogen.sh --libdir=/ffp/lib --prefix=/ffp ./configure --libdir=/ffp/lib --prefix=/ffp make make install cd ../rtorrent ./autogen.sh --libdir=/ffp/lib --prefix=/ffp ./configure --with-xmlrpc-c --libdir=/ffp/lib --prefix=/ffp make make install 12. Configure rTorrent Download sample rtorrent.rc, modify it http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc#latest cp rtorrent.rc /ffp/etc/ 13. Create start up script cd /ffp/start vi rtorrent.sh - Following content #!/ffp/bin/sh # PROVIDES: rtorrent . /ffp/etc/ffp.subr user=bhavik name="rtorrent" command="/ffp/bin/$name -n -o import=/ffp/etc/rtorrent.rc" start_cmd="rtorrent_start" stop_cmd="rtorrent_stop" rtorrent_start() { echo "Starting $name" su $user -c "screen -d -m $command" } rtorrent_stop() { echo "Stopping $name" killall $name } run_rc_command "$1" chmod a+x rtorrent.sh sh rtorrent.sh start 14. Install wTorrent cd /mnt/HD_a2/files/sources svn co svn://wtorrent-project.org/repos/trunk/wtorrent/ wtorrent cp -r wtorrent /mnt/HD_a2/www/pages/ cd /mnt/HD_a2/www/pages/wtorrent find . -name "*.svn" -exec rm -rf {} \; 15. Configure php for wTorrent vi /ffp/etc/php.ini - find extension_dir and put /ffp/lib/php/extensions/no-debug-non-zts-20060613 - find dynamic extensions and put the following: extension=zlib.so extension=tokenizer.so extension=sqlite.so extension=pdo_sqlite.so extension=pdo_mysql.so extension=pdo.so extension=mysql.so extension=mbstring.so extension=gd.so extension=ftp.so extension=ctype.so extension=calendar.so 16. Configure lighttp for wTorrent vi /ffp/etc/lighttpd.conf - Under server.modules add "mod_scgi" - Add the following at the end scgi.server = ( "/RPC2" => # RT_DIR ( "127.0.0.1" => ( "host" => "127.0.0.1", # Ip where rtorrent is listening "port" => 5000, # Port specified in .rtorrent.rc "check-local" => "disable" ) ) ) - Modify url.access-deny. Add the following: url.access-deny = ("~", ".inc", ".db", ".tpl.php", ".cls.php",) sh /ffp/start/lighttpd.sh restart 17. Access wTorrent via Web GUI http://<IP_Address>/wtorrent/install.php Language: en Database file: db/database.db rTorrent scgi host: localhost rTorrent scgi port: 80 rTorrent scgi folder: /RPC2 Enable auth for the scgi folder: False rTorrent scgi user: rTorrent scgi password: Don't user multicall: True User scriptaculous effects: True Folder to save uploaded torrents: /mnt/HD_a2/bittorrent/torrents/ Folder where wTorrent is: /mnt/HD_a2/www/pages/wtorrent/ Default folder to save torrent data: /mnt/HD_a2/public/download User: <YOUR_USER> Password: <YOUR_PASSWORD> rm /mnt/HD_a2/www/pages/wtorrent/install.php If you are not using default directories. Modify the following file: vi /mnt/HD_a2/www/pages/wtorrent/wt/cls/AddT.cls.php Remove DIR_EXEC .
Last edited by Smallstack (2009-07-04 16:17:48)
Offline
Thanks for taking the time to write this up!
Keith
Offline
Smallstack wrote:
I've been on holiday but here is the guide.
I haven't changed any of the folder paths etc from my setup in this guide.Code:
1. Put fun_plug.tgz and fun_plug.sh on Volume_1 2. telnet to NAS 3. Setup SSH pwconv passwd usermod -s /ffp/bin/sh root pwck grpck store-passwd.sh cd /ffp/start sh sshd.sh start TEST SSH CONNECTION BEFORE DISABLING TELNET chmod a-x telnetd.sh chmod a+x sshd.sh 4. Get all the fun_plug packages cd /mnt/HD_a2 mkdir files cd /mnt/HD_a2/files rsync -av inreto.de::dns323/fun-plug/0.5 . 5. Install the packages cd files funpkg -i packages/*.tgz funpkg -i extra-packages/All/curl-7.19.4-1.tgz 6. Setup lighttp with php cd /mnt/HD_a2 mkdir -p www/logs www/pages cd /mnt/HD_a2/files funpkg -i extra-packages/All/php-5.2.9-1.tgz cd /ffp/etc cp examples/lighttpd.conf-with-php lighttpd.conf sh /ffp/start/lighttpd.sh start 8. Configure PHP cd /ffp/etc cp examples/php.ini-recommended php.ini 7. Configure lighttp for port 80 cd /ffp/etc vi lighttpd.conf - Find server.port and modify it to be 80 - Disable the following dir-listing.activate and dir-listing.show-readme - change server.upload-dirs to /mnt/HD_a2/www/tmp cd /ffp/start chmod a+x kickwebs.sh lighttpd.sh sh kickwebs.sh start sh lighttpd.sh restart 8. Test php configuration cd /mnt/HD_a2/www/pages vi test.php - Insert the following <?php phpinfo(); ?> 9. Check the configuration http://<IP_Address>/test.php - Find "cURL support" and make sure it is enabled cd /mnt/HD_a2/www/pages rm test.php 11. Compile rTorrent cd /mnt/HD_a2/files mkdir sources svn co svn://rakshasa.no/libtorrent/trunk/ rtorrent funpkg -i extra-packages/All/libsigc++-2.0.18-1.tgz funpkg -i extra-packages/All/xmlrpc-c-1.16.6.tar -- Have to get this from some where else (shadowandy or compile it) funpkg -i /mnt/HD_a2/files/extra-packages/perl/perl-*.tgz cd rtorrent/trunk svn up cd libtorrent ./autogen.sh --libdir=/ffp/lib --prefix=/ffp ./configure --libdir=/ffp/lib --prefix=/ffp make make install cd ../rtorrent ./autogen.sh --libdir=/ffp/lib --prefix=/ffp ./configure --with-xmlrpc-c --libdir=/ffp/lib --prefix=/ffp make make install 12. Configure rTorrent Download sample rtorrent.rc, modify it http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc#latest cp rtorrent.rc /ffp/etc/ 13. Create start up script cd /ffp/start vi rtorrent.sh - Following content #!/ffp/bin/sh # PROVIDES: rtorrent . /ffp/etc/ffp.subr user=bhavik name="rtorrent" command="/ffp/bin/$name -n -o import=/ffp/etc/rtorrent.rc" start_cmd="rtorrent_start" stop_cmd="rtorrent_stop" rtorrent_start() { echo "Starting $name" su $user -c "screen -d -m $command" } rtorrent_stop() { echo "Stopping $name" killall $name } run_rc_command "$1" chmod a+x rtorrent.sh sh rtorrent.sh start 14. Install wTorrent cd /mnt/HD_a2/files/sources svn co svn://wtorrent-project.org/repos/trunk/wtorrent/ wtorrent cp -r wtorrent /mnt/HD_a2/www/pages/ cd /mnt/HD_a2/www/pages/wtorrent find . -name "*.svn" -exec rm -rf {} \; 15. Configure php for wTorrent vi /ffp/etc/php.ini - find extension_dir and put /ffp/lib/php/extensions/no-debug-non-zts-20060613 - find dynamic extensions and put the following: extension=zlib.so extension=tokenizer.so extension=sqlite.so extension=pdo_sqlite.so extension=pdo_mysql.so extension=pdo.so extension=mysql.so extension=mbstring.so extension=gd.so extension=ftp.so extension=ctype.so extension=calendar.so 16. Configure lighttp for wTorrent vi /ffp/etc/lighttpd.conf - Under server.modules add "mod_scgi" - Add the following at the end scgi.server = ( "/RPC2" => # RT_DIR ( "127.0.0.1" => ( "host" => "127.0.0.1", # Ip where rtorrent is listening "port" => 5000, # Port specified in .rtorrent.rc "check-local" => "disable" ) ) ) - Modify url.access-deny. Add the following: url.access-deny = ("~", ".inc", ".db", ".tpl.php", ".cls.php",) sh /ffp/start/lighttpd.sh restart 17. Access wTorrent via Web GUI http://<IP_Address>/wtorrent/install.php Language: en Database file: db/database.db rTorrent scgi host: localhost rTorrent scgi port: 80 rTorrent scgi folder: /RPC2 Enable auth for the scgi folder: False rTorrent scgi user: rTorrent scgi password: Don't user multicall: True User scriptaculous effects: True Folder to save uploaded torrents: /mnt/HD_a2/bittorrent/torrents/ Folder where wTorrent is: /mnt/HD_a2/www/pages/wtorrent/ Default folder to save torrent data: /mnt/HD_a2/public/download User: <YOUR_USER> Password: <YOUR_PASSWORD> rm /mnt/HD_a2/www/pages/wtorrent/install.php If you are not using default directories. Modify the following file: vi /mnt/HD_a2/www/pages/wtorrent/wt/cls/AddT.cls.php Remove DIR_EXEC .
what version of gcc did you compile this with? I use 4.1.3 and it failed for "make install" for libtorrent on a DNS-323.
Offline
My latest build I've done I used 4.1.3
/ # gcc -v Using built-in specs. Target: arm-unknown-linux-uclibc Configured with: /mnt/HD_a2/home/bob/funplug/work/gcc-4.1/gcc-4_1-branch/configure --enable-languages=c,c++ --enable-__cxa_atexit --with-local-prefix=/ffp --disable-multilib --disable-libssp --disable-libgomp --disable-libmudflap --disable-tls --with-float=soft --disable-bootstrap Thread model: posix gcc version 4.1.3 20080414 (prerelease)
Last edited by Smallstack (2009-08-22 05:22:55)
Offline