DownloadDaemon for IX4

Post Reply
boudcallens
Posts: 3
Joined: Mon Jun 13, 2011 7:34 am

DownloadDaemon for IX4

Post by boudcallens » Mon Jun 13, 2011 7:44 am

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.

boudcallens
Posts: 3
Joined: Mon Jun 13, 2011 7:34 am

Re: DownloadDaemon for IX4

Post by boudcallens » Mon Jun 13, 2011 7:53 am

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: Select all

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: Select all

ipkg update
8)install the following packages

Code: Select all

ipkg install lighttpd php-fcgi unrar unzip libtiff svn
9)execute the following command

Code: Select all

/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: Select all

http://192.168.1.4:8081/
10a)

Code: Select all

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: Select all

cp -r /nfs/public/downloaddaemon-ix4/trunk/* /opt
12)do the following cmd

Code: Select all

nano /etc/profile
13)replace the following:

Code: Select all

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: Select all

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: Select all

CTRL+O
and

Code: Select all

CTRL+X
14)do the following cmd

Code: Select all

nano /etc/init.d/S99optware.sh
Past the following

Code: Select all

# 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: Select all

CTRL+O

Code: Select all

CTRL+X
Afterwards do the following cmd

Code: Select all

update-rc.d /etc/init.d/S99optware.sh defaults
And

Code: Select all

chmod +x /etc/init.d/S99optware.sh
14b) Run the following cmd

Code: Select all

nano /etc/ld.so.conf.d/opt.conf
and paste the following code lines

Code: Select all

/opt/lib
/opt/usr/lib
Now run

Code: Select all

ldconfig
15)Run the following scripts

Code: Select all

PATH=$PATH:/opt/bin

Code: Select all

EXPORT $PATH

Code: Select all

/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: Select all

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: Select all

mkdir /nfs/public/Download
and set it to /nfs/public/Download
18)Add some premium account and start downloading on your nas IX4

Post Reply