Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Jun 23, 2018 1:58 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 101 posts ]  Go to page 1 2 3 4 57 Next
Author Message
PostPosted: Wed Jun 25, 2008 9:38 pm 
Offline
Regular Member

Joined: Wed Jul 26, 2006 4:06 pm
Posts: 129
Quick guide for nzbget on a LinkStation Live or Pro.

nzbget is written in C++, so is much faster than sabnzbd or hellanzb (python scripts).

It can max out my 20mbit line while using only 3% RAM and 60% CPU. It's quite happy downloading a 30GB NZB.
In comparison, SABnzbd can barely manage 8mbit/sec, maxes out the CPU and occasionally kills the LSPro overnight (I wake up to beeping and an error).

If you spot any mistakes, let me know.

If you want to format this for the wiki, please do, but give me full credit. Don't pass it off as your own work -- it took me some time to get this working. Thx! :mrgreen:

First: read all of http://nzbget.sourceforge.net/

Code:
ipkg install nzbget lighttpd php php-fcgi


There's a permissions bug with umask in the current optware version, so to enable file deletion from other machines:
Code:
ipkg install http://surfnet.dl.sourceforge.net/sourceforge/nzbget/nzbget-0.4.1-testing-r178-bin-cs05q3armel-arm.ipk


Code:
vi /opt/etc/nzbget.conf


edit as follows:
1. $MAINDIR=/mnt/disk1/share/nzbget
(or wherever you want it)
2. Fill in news server section. 20 connections is no problem for nzbget on a LinkStation Pro!
3. UMask=000
or whatever you want.
4. DirectWrite=yes
5. I turned CRC on and retries for CRC on. Still fast.
6. WriteBufferSize=-1

Download nzbgetweb and put it in /opt/share/www/nzbgetweb/

Code:
/opt/etc/init.d/S80lighttpd stop


Code:
vi /opt/etc/lighttpd/lighttpd.conf


change

# "mod_fastcgi",

into

"mod_fastcgi",

change

url.access-deny = ( "~", ".inc" )

into

url.access-deny = ( "~", ".inc", ".sqlite" )

Code:
vi /opt/share/www/nzbgetweb/settings.php


Settings here are well documented in the file.

Code:
/opt/etc/init.d/S80lighttpd


Find a postprocessing script you like, put it in /mnt/share/nzbget or wherever you want.

Edit nzbget.conf to tell it where you put it.

Code:
chmod a+x /path/scriptname.sh


Code:
nzbget -D


http://LINKSTATION_IP_ADDRESS:8081/nzbgetweb/

Done and done!


Last edited by neilt0 on Fri Jul 11, 2008 7:20 pm, edited 1 time in total.

Top
   
PostPosted: Thu Jun 26, 2008 8:05 am 
Offline
Regular Member

Joined: Fri Sep 28, 2007 8:49 am
Posts: 295
I can confirm the good speed and stability!!

Good to see the guide you wrote for another site has made it here. Couple of small suggestions:

ipkg install nzbget lighttpd php php-fcgi

You don't need PHP as PHP-FCGI installs PHP if needed and you don't need NZBGET as you are installing the later version below?

I'd suggest anyone using this also checks out Ydrol's script (sorry don't have link at work with me) for Post Processing and you'll almost definitely want to install unRAR.

I've not yet done "chmod a+x /path/scriptname.sh" but mine seems to work.

Would be also nice to include how to get your LS to boot up with NZBget running.

_________________
Geeky blog at http://www.methanoid.blogspot.com :D


Top
   
PostPosted: Thu Jun 26, 2008 9:15 am 
Offline
Regular Member

Joined: Wed Jul 26, 2006 4:06 pm
Posts: 129
Methanoid wrote:
I can confirm the good speed and stability!!
I'd suggest anyone using this also checks out Ydrol's script (sorry don't have link at work with me) for Post Processing and you'll almost definitely want to install unRAR.

I've not yet done "chmod a+x /path/scriptname.sh" but mine seems to work.

Would be also nice to include how to get your LS to boot up with NZBget running.


I use the same script. It's a perl program, not a shell script so shouldn't need making executable.
http://www.prodynamic.co.uk/nzbget/nzbget.html

Methanoid wrote:
You don't need PHP as PHP-FCGI installs PHP if needed and you don't need NZBGET as you are installing the later version below?


It's a good idea to "ipkg nzbget" as it will install dependencies as well as itself. Installing the file only won't do that.


Top
   
PostPosted: Mon Sep 01, 2008 7:19 pm 
Offline
Regular Member

Joined: Fri Sep 28, 2007 8:49 am
Posts: 295
You still need to remove the PHP from the install text since PHP-FCGI does the same thing...

Anyway, which version of NZBget are you running right now?

nzbget-0.5.0-testing-r219-bin-cs05q3armel-arm.ipk
OR
nzbget-0.4.1.tar.gz as the one linked to is no longer there....

The IPKG repository version is 0.4.1 so I assume is the same as the one you originally linked to. Have you tried the new one?

_________________
Geeky blog at http://www.methanoid.blogspot.com :D


Top
   
PostPosted: Mon Sep 01, 2008 7:46 pm 
Offline
Regular Member

Joined: Fri Sep 28, 2007 8:49 am
Posts: 295
Neil, could U email your conf file to my username@gmail.com account please (minus passwords of course)... It seems the IPKG in repos has no conf file in it!

_________________
Geeky blog at http://www.methanoid.blogspot.com :D


Top
   
PostPosted: Tue Sep 02, 2008 9:59 am 
Offline
Regular Member

Joined: Wed Jul 26, 2006 4:06 pm
Posts: 129
There's a sample in:

http://sourceforge.net/project/download ... p&37043900

nzbget.conf.example


Top
   
PostPosted: Tue Sep 02, 2008 10:15 am 
Offline
Regular Member

Joined: Wed Jul 26, 2006 4:06 pm
Posts: 129
Methanoid wrote:
Anyway, which version of NZBget are you running right now?

nzbget-0.5.0-testing-r219-bin-cs05q3armel-arm.ipk
OR
nzbget-0.4.1.tar.gz as the one linked to is no longer there....

The IPKG repository version is 0.4.1 so I assume is the same as the one you originally linked to. Have you tried the new one?


Code:
ipkg install http://surfnet.dl.sourceforge.net/sourceforge/nzbget/nzbget-0.5.0-testing-r219-bin-cs05q3armel-arm-debug.ipk


Top
   
PostPosted: Wed Sep 03, 2008 1:54 pm 
Offline
Regular Member

Joined: Fri Sep 28, 2007 8:49 am
Posts: 295
Back on nzbget now... and at last everything (inc script) is working as it should

RESULT: Maxed my 10mbit connection. All PAR and UnRAR done on LS and using 13W of power compared to minimum 60W for a PC. Superb.

Couple of things to fix in the first post (which is "the guide")

ipkg install nzbget lighttpd php php-fcgi

should now read

ipkg install nzbget lighttpd php-fcgi
ipkg install unrar unzip ----- if you intend to unpack on LS

If using Ydrol's script (which to be honest you ought to be!!) then you need to edit it to point to your nzbget.conf file and any other options you want to enable are inside. NB it is Perl so no need to install anything else and no need to change permissions on the script.

You will need to download the sample nzbget.conf as Neil's post a few above says, remove the .sample suffix and edit to your needs (servers etc).

My experience is that I can use my ISP server as main and my pay server as secondary (fill) server. I will look later at whether I can survive on a small allowance fill server and save some cash.

The new versions of nzbget have category sorting in them (not tried) but the "release" does not.

All in, this is a great downloader for a low power Linkstation. I shall miss a few minor options that SABnzbd has but it seems Hugbug (author of nzbget) is now listening and adding some features whilst still keeping the awesome speed of this product. One plus for nzbget is that it uses Lighttpd so you can run a website alongside your nzbget, SABnzbd is less easy to run a website alongside.

I second Neil's recommendation that anyone on a LS using SABnzbd or HellaNZB should switch to nzbget, the speed difference is *HUGE*.

Meth

_________________
Geeky blog at http://www.methanoid.blogspot.com :D


Top
   
PostPosted: Tue Sep 16, 2008 9:54 am 
Offline
Regular Member

Joined: Fri Sep 28, 2007 8:49 am
Posts: 295
Update:

NZBget author is listening to requests. One thing we are testing is a mini Web interface for iPhone and PocketPC usage. Looks good and works well.

NZBget-Housekeeper (also author of Unpak.sh) is also listening. Gave me some help with script issues (there is no AVImerge on Linkstation or Par2verify which causes some errors you can ignore) but is also considering unpack of Zip files, which would be nice.

Summary:
It gets better all the time :biglol:

_________________
Geeky blog at http://www.methanoid.blogspot.com :D


Top
   
PostPosted: Wed Sep 17, 2008 5:44 pm 
Offline
Regular Member

Joined: Mon Oct 01, 2007 11:29 pm
Posts: 79
If anyone finds problem in optware packaging, please send patch to nslu2-linux yahoogroup mailing list. This way users of all optware feeds can benefit. In this particular case, hugbug is the maintainer of optware nzbget package.


Top
   
PostPosted: Thu Sep 25, 2008 11:17 am 
Offline
Total Newbie

Joined: Thu Aug 07, 2008 5:34 pm
Posts: 3
hugbug is currently waiting for the new 0.5.1 build to be compiled into the optware repository.

This should happen over the next few days.


Top
   
PostPosted: Tue Sep 30, 2008 10:11 pm 
Offline
Total Newbie

Joined: Tue Sep 23, 2008 9:10 pm
Posts: 1
How would I get nzbget to start when I power up my OpenStock LS Live?


Top
   
PostPosted: Tue Sep 30, 2008 10:13 pm 
Offline
Regular Member

Joined: Fri Sep 28, 2007 8:49 am
Posts: 295
probably need to add it to one of the rCS files.. buggered if I can remember the name of the file and I havent done it myself. I so rarely switch my LS off I just SSH in and type NZBget -D instead :D

_________________
Geeky blog at http://www.methanoid.blogspot.com :D


Top
   
PostPosted: Tue Oct 21, 2008 1:40 pm 
Offline
Newbie

Joined: Mon Oct 20, 2008 10:12 pm
Posts: 6
Hi All,

I recently purchased a Terastation Live with the intention of replacing the server that I was running at home. So far so good with one exception. I am getting random lock ups with nzbget. I have not figured out what is triggering it. Once it is locked up the entire NAS is hosed. I have to cut power to the box and restart.

Here's what I can tell you.
  • The lock up only occurs while downloading from the newsgroups.
  • I am running nzbget version 0.5.1 from Optware. I have also tried the 0.60-r237 testing release. I am having trouble with both versions. I am running the Linux 2.6.16.16-arm1 kernel.
  • I have tried various configuration settings. (Disabling par, DirectWrite, WriteBufferSize, running as a non-privileged user, etc...)

If anyone has any idea as to what is going on or something to try it would be greatly appreciated. The only other software running on the NAS besides what comes with the stock firmware is MediaTomb and Lighttpd. As long as nzbget isn't downloading something the box is solid.

Thank you,
Josh


Top
   
PostPosted: Tue Oct 21, 2008 2:20 pm 
Offline
Regular Member

Joined: Fri Sep 28, 2007 8:49 am
Posts: 295
Well I cannot tell what kernel I am running (its the 1.03 jtymod firmware) but I wonder if kernel differences could be the issue?

_________________
Geeky blog at http://www.methanoid.blogspot.com :D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 101 posts ]  Go to page 1 2 3 4 57 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 18 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:
cron
Powered by phpBB® Forum Software © phpBB Limited