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 now3)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