[GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
unirox
Newbie
Newbie
Posts: 13
Joined: June 23rd, 2011, 11:20 am

[GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by unirox »

Writes this together a little guide how I proceeded to get the SABnzbd+ 0.5.6 running on a D-Link DNS-325. I myself am a newbie when it comes to Linux commands. So there have been lots of google hours and more helpful people on various forums. So I take absolutely no credit for this but compiles only what I've done to hopefully help others who want to get SABnzbd+ running on the DNS-325 NAS.

Image

This installation is based on my gear DNS-325 2x2TB drives in RAID 0.
The installations are made to the default directory, as variations can certainly occur.
Be careful, I'm not responsible if you are bricking your device!




install the following programs at your NAS
  • fun_plug as guide on the NAS-tweaks.net here.
  • optware as guide on the NAS-tweaks.net here.
  • nano this is optional if you aren't familiar to VI editor which are quite hard to handle for a newbie here.

install the following ipkg programs
  • SABnzbd+ (0.5.6 in time of writing)

Code: Select all

ipkg install sabnzbdplus
  • unrar

Code: Select all

ipkg install unrar
  • unzip

Code: Select all

ipkg install unzip
  • par2

Code: Select all

ipkg install par2cmdline
  • SSL

Code: Select all

ipkg install py25-openssl
  • nice

Code: Select all

ipkg install coreutils
  • ionice

Code: Select all

ipkg install util-linux-ng
Installing the coreutils and util-linux-ng packages will install lots of files you don't need.
What you can do is to rename the nice and ionice files and then uninstall this packages and then rename back the files again.
These files are located in the /ffp/opt/optware/bin/ directory.


edit this files at your NAS
fun_plug (to get SABnzbd+ autostart on reboot.)  in the topmost directory of Volume_1 of your NAS using a texteditor and put following line at the very end of the file. (use parameters of your own choise found here.)

Code: Select all

/ffp/opt/optware/share/SABnzbd/SABnzbd.py -s:8080 -d -f /ffp/opt/optware/share/SABnzbd/sabnzbd.ini


fun_plug.init in the /ffp/etc/fun_plug.init directory using nano or vi editor.

Code: Select all

nano /ffp/etc/fun_plug.init
and add following lines at the very end of the file.

Code: Select all

# Create symbolic link /mnt/HD_a2 to point to /mnt/HD/HD_a2
ln -snf /mnt/HD/HD_a2 /mnt/HD_a2

#par2 symbolic links for opt/sabnzbd
ln -snf /opt/bin/par2 /bin/par2
ln -snf /opt/bin/unrar /bin/unrar
ln -snf /opt/bin/unzip /bin/unzip
ln -snf /opt/bin/nice /bin/nice
ln -snf /opt/bin/ionice /bin/ionice 

Reboot your device.

Code: Select all

reboot
After start, check your logfile that everything is started and running and make your SABnzbd settings at http://<your.NAS.IP> with your favorit browser.

Credits goes to.. 8)
shypike SABnzbd developer for a great program and great support!
Uli for creating very great guides att NAS-tweaks.net
Nasp at NAS-tweaks.net for great support.
Last edited by unirox on July 9th, 2011, 5:34 am, edited 3 times in total.
danny0085
Newbie
Newbie
Posts: 1
Joined: July 3rd, 2011, 3:28 pm

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by danny0085 »

Here you can check out the most used linux commands .
unirox
Newbie
Newbie
Posts: 13
Joined: June 23rd, 2011, 11:20 am

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by unirox »

I'll need some help to install/config openVPN on the DNS-325.
I have installed the package but I can't get it to run. I have setting files from my provider Anonine and trying like this..

Code: Select all

openvpn --client --config /ffp/etc/openvpn/anonine.ovpn --ca /ffp/etc/openvpn/anonine.ca.crt
crfsa
Newbie
Newbie
Posts: 1
Joined: October 22nd, 2011, 5:14 am

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by crfsa »

Hi, great job!

I have had some problems though. First the link for nano does not work, I don't know why. Second, you wrote that we should include this command line "/ffp/opt/optware/share/SABnzbd/SABnzbd.py -s:8080 -d -f /ffp/opt/optware/share/SABnzbd/sabnzbd.ini" but it is not clear which file I should edit to include this, so everytime I start my DNS-325 I have to enter this line manually. Third, SABNZD is running and I have been able to use my news service to download a file, the problem is where? The path that supposedly used by SABNZD does no exist in my drive, maybe it is hidden. Being a really newbie in Linux I don't know how change directory privileges for me to create a download folder inside \ffp\opt\optware\share\SABnzbd. Can you help? Specially with the third and second problems? Thanx!
unirox
Newbie
Newbie
Posts: 13
Joined: June 23rd, 2011, 11:20 am

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by unirox »

crfsa wrote:Hi, great job!

I have had some problems though. First the link for nano does not work, I don't know why. Second, you wrote that we should include this command line "/ffp/opt/optware/share/SABnzbd/SABnzbd.py -s:8080 -d -f /ffp/opt/optware/share/SABnzbd/sabnzbd.ini" but it is not clear which file I should edit to include this, so everytime I start my DNS-325 I have to enter this line manually. Third, SABNZD is running and I have been able to use my news service to download a file, the problem is where? The path that supposedly used by SABNZD does no exist in my drive, maybe it is hidden. Being a really newbie in Linux I don't know how change directory privileges for me to create a download folder inside \ffp\opt\optware\share\SABnzbd. Can you help? Specially with the third and second problems? Thanx!
1. the link works for me..
2. the file you should edit is named fun_plug
3. download settings are made in SABnzbd+

Hope this is clearing some out.. :)
danfozzy
Jr. Member
Jr. Member
Posts: 77
Joined: November 25th, 2011, 5:32 am

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by danfozzy »

have you come across a more up to date version of sabnzbd, seen as ive come across 2 NAS drives that have the latest update (6.10), but i dont think that there installed with funplug?

http://forum.qnap.com/viewtopic.php?p=160566

and

http://www.readynas.com/forum/viewtopic ... 36&t=58586

would love to get up to date from 5.6!
foolsrwe
Newbie
Newbie
Posts: 2
Joined: February 1st, 2012, 4:00 am

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by foolsrwe »

Does anyone have any idea how I can update my SABnzbd on DNS-325.

Thanks for the guide I successfully got it installed and tested, it's working fine.

I only ran into problems with my download folder not showing up but I ran chown -R 777 downloads and ficed it.
66sprite
Newbie
Newbie
Posts: 3
Joined: February 10th, 2012, 10:56 pm

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by 66sprite »

Thank you for the tutorial on install SAB on my NAS, it is up and running great. I was wondering if anyone had found a way to update to a newer version of SAB.
danfozzy
Jr. Member
Jr. Member
Posts: 77
Joined: November 25th, 2011, 5:32 am

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by danfozzy »

yeh, ive found a way, but you have to install debian squeeze for the 325 or 320 (which ever u have) from dlink, full guide is here:

http://forum.dsmg600.info/viewtopic.php?pid=45292

bear in mind that links to the 320 debian squeeze install!
danfozzy
Jr. Member
Jr. Member
Posts: 77
Joined: November 25th, 2011, 5:32 am

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by danfozzy »

or an even better guide that i used after i installed debian squeeze on my nas :

https://sourceforge.net/apps/phpbb/open ... ?f=5&t=183
66sprite
Newbie
Newbie
Posts: 3
Joined: February 10th, 2012, 10:56 pm

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by 66sprite »

Thanks Danfozzy
foolsrwe
Newbie
Newbie
Posts: 2
Joined: February 1st, 2012, 4:00 am

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by foolsrwe »

I am confused.

I have a d'link DNS-325 and followed the above tutorial from original poster.

do I just install the debian squeeze and continue as described or what?

What happens to the existing installation fo sabnzbd?

Where is the debian squeeze .zip for the DNS-325?

Your help would be appreciated.
ocdan
Newbie
Newbie
Posts: 1
Joined: March 19th, 2012, 3:17 pm

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by ocdan »

Firstly great guide worked a treat!

Just a quick question, I am using Windows primarily and I have mapped a drive for my downloads. However, I cannot see the folders or the files in windows, they can be seen no problem within SSH.

Any pointers as to how I can view them in windows (either natively or otherwise)

p.s. I think this is the same problem the guy above was asking when he was asking where the downloads go!
nrupalp
Newbie
Newbie
Posts: 7
Joined: March 29th, 2012, 8:34 pm

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by nrupalp »

I successfully (i think) insatalled sabnzbd on my DNS-325 but where does it store files? I looked under \\NAS\Volume_1\ffp\opt\optware\share\SABnzbd but I do not see a download folder. I did a search on the drive and there is no Download folder located on it at all. Can someone please help me with this?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [GUIDE] install SABnzbd+ on D-Link DNS-325 [NAS]

Post by shypike »

The Config->Folders page tells you where things are stored.
It lists the base folder and the subfolders.
Post Reply