General NAS-Central Forums

Welcome to the NAS community
It is currently Thu Dec 18, 2014 7:14 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: DownloadDaemon for IX4
PostPosted: Mon Jun 13, 2011 7:44 am 
Offline

Joined: Mon Jun 13, 2011 7:34 am
Posts: 3
DownloadDaemon for IX4

About

I received the IX4 yesterday and decided that I needed something to download properly. So I cross-compiled DownloadDaemon (via Ubuntu).
For feature requests and other stuff, you can go to the project home page. You are welcome there.

Description

DownloadDaemon is a comfortable download-manager with many features like one-click-hoster support, etc. It can be remote-controled in several ways (web/gui/console clients), which makes it perfect for file- and root-servers, as well as for local use.

Features

    * Completely Remote-Controlable with a Console, GUI or Web-Based client
    * Support for Special Hosters (rapidshare.com/uploaded.to/netload.in/youtube.com and more)
    * Download Via HTTP and FTP
    * Easy to Extend with Plugins
    * Plattform-Independent
    * Automatic Reconnects to Bypass IP-Based Bandwidth-Limits
    * Automatic Captcha-Recognition (no recaptcha!!!)

Supported Hoster
*See DownloadDaemon's FAQ

More Information you will get on http://downloaddaemon.sourceforge.net/

Downloads:

https://subversion.assembla.com/svn/downloaddaemon-ix4/



Requirements:
    an IX4 (IX2)
    ipkg
    ipkg install lighttpd php-fcgi

Installation:

Unrar the archive, put it in your /opt folder and run /opt/etc/init.d/S97downloadd

Some big Points in the thread (one at the moment):

If you want to use rapidshare/megaupload/hotfile premium account don't forget to set "direct download ..." in your rapidshare account. If not you will get only small file (about 30kB)

Thanks ;)

First of all, thanks to b3nno who created this application! Finally, thanks to all of the other developers and members!!!


Last edited by boudcallens on Fri Sep 02, 2011 9:04 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Jun 13, 2011 7:53 am 
Offline

Joined: Mon Jun 13, 2011 7:34 am
Posts: 3
I'm not sure how to explain everything, but I'm willing to create a quick guide here:

1)enable ssh. The simplest way to do it is by going to http://192.168.1.4/support.html (where 192.168.1.4 is the IP-adress of your IX4) and enable ssh
2)login to ssh with putty. Login: root, pass:soho. If you changed your pass in the webmanager then your pass should be sohoyourpass, where yourpass is well your password
The next three steps are mandatory, because of working with an svn server now
3)download the ix4.downloadd.rar from the above link
4)unrar it, using winrar or unrar or wathever
5)copy it to your IX4 (e.g. to the public folder)

6)past the following cmd's in your putty
Code:
cat <<EOF > /etc/ipkg.conf
src cross http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/
src cross http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable
EOF

7)do a
Code:
ipkg update

8)install the following packages
Code:
ipkg install lighttpd php-fcgi unrar unzip libtiff svn

9)execute the following command
Code:
/opt/etc/init.d/S80lighttpd restart

10)try if the webserver is running in your browser (192.168.1.4 should be the ip of your ix4)
Code:
http://192.168.1.4:8081/

10a)
Code:
cd /nfs/public && svn co https://subversion.assembla.com/svn/downloaddaemon-ix4/

11)cp everything in the opt folder from the svn to /opt
Code:
cp -r /nfs/public/downloaddaemon-ix4/trunk/* /opt

12)do the following cmd
Code:
nano /etc/profile

13)replace the following:
Code:
if [ "`id -u`" -eq 0 ]; then
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
  PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
fi
To
Code:
if [ "`id -u`" -eq 0 ]; then
  PATH="/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
  PATH="/opt/bin:/usr/local/bin:/usr/bin:/bin:/usr/games"
fi

Update the file with
Code:
CTRL+O
and
Code:
CTRL+X

14)do the following cmd
Code:
nano /etc/init.d/S99optware.sh

Past the following
Code:
# Start all init scripts in /opt/etc/init.d executing them in
# numerical order. (Derived from
# http://trac.nslu2-linux.org/optware/browser/trunk/sources/ipkg-opt/rc.optware
# )
if [ -d "/opt/etc/init.d" ]; then
    for f in /opt/etc/init.d/S??* ; do
        if [ -x "$f" ]; then
            echo "* $f ..."
            $f $1
        else
            echo "* $f inactive"
        fi
    done
fi

Finish with
Code:
CTRL+O
Code:
CTRL+X

Afterwards do the following cmd
Code:
update-rc.d /etc/init.d/S99optware.sh defaults

And
Code:
chmod +x /etc/init.d/S99optware.sh

14b) Run the following cmd
Code:
nano /etc/ld.so.conf.d/opt.conf

and paste the following code lines
Code:
/opt/lib
/opt/usr/lib

Now run
Code:
ldconfig

15)Run the following scripts
Code:
PATH=$PATH:/opt/bin

Code:
EXPORT $PATH

Code:
/opt/etc/init.d/S97downloadd start

16)DownloadDaemon should be up and running
Check using this website (192.168.1.4 is the ip of the IX4)
Code:
http://192.168.1.4:8081/plugins/ddclient-php/
and click login
17)click configure DownloadDaemon and set the download directory alright
The easiest way to do it is:
Code:
mkdir /nfs/public/Download
and set it to /nfs/public/Download
18)Add some premium account and start downloading on your nas IX4


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group