Posts Tagged ‘nzbget’
Do not use this howto if you are using fun_plug or nzbget already! [updated 01-03-2010]
this howto is a first test for me to see if I can write a howto out of experience and without the need to do a complete install myself (No NAS available to do it).
updated: 17-11-2009
Enjoy!, This howto should be working now.
(more…)
Today busy with the nzbget config. Since version 0.7.x it’s possible to have the history saved. In my nzbget.cfg.example I had the setting not available or not made active ..
Fixed that one .. Will also update nzbgetter to version 1.1.a still seeking for an postprocessing script more suitable for integration with nzbget and it’s new parameters …
update package v31Â can be found here
Today I release a new complete package for the Conceptronic CH3SNAS & CH3MNAS (2 different binaries)
before you use my package make sure you use
fun_plug, PHP5 with curl support, have installed unrar and installed the lighttpd module as well
the newsbin package you can download here
It contains:
- - nzbget version 0.7.0-testing-r357
- - nzbgetweb version v 1.4 (testing-5)
- - nzbgetter version 1.0
- - modified unpak.sh script
in short how to install:
put the correct file into the root of the Harddisk of the NAS, this is /mnt/HD_a2
untar the tgz file with tar -xvzf newsbinch3mnas-v3.tgz or tar -xvzf newsbinch3snas-v3.tgz, a folder newsbin will be created
Than there are a few files you have to copy manually into the correct folders
go into the newsbin folder with ‘cd newsbin’
than copy the 2 shell script files (extension SH) to the startup folder of Fun_Plug
‘cp *.sh /ffp/start’
with next reboot nzbget will be started automatically.
optional you can copy from /conf/editcron.sh the cronfile into /ffp/start as well to have nzbgetter auto-download your nzb files, it is possible you already installed it, so do not copy it cause your old crontab file will be overwritten.
if you do not reboot you have to make sure you start the two shell scripts manually.
cd /ffp/start
sh startnzbget.sh start
sh startweb.sh start
the first script starts nzbget for downloading from usenet, the 2nd script will run lighttpd with the correct configurations
upload your nzbfiles manually into /mnt/HD_a2/newsbin/nzb or use nzbgetter.
to access nzbgetweb interface: http://[ip-of-nas]:8000
to access nzbgetter web interface: http://[ip-of-nas]:8000/nzbgetter or access it through the nzbgetweb interface
Please make sure you configure nzbget with your usenet account and password
the unpak.sh script will make sure that downloaded stuff will be put in the correct folder after download.
this short how-to is far from perfect and a quick reference next to the normal manual of the various tools
if you want to upgrade
copy the binary from the /bin/ folder
copy the /web/ folder to your /web folder
copy the /nzbgetter folder to a new created /web folder
optional: copy from the /conf/ folder the editcron.sh to /ffp/start
Enjoy.
This weekend I try to update the nzbgetweb and nzbget with the latest versions of 27 september 2009.
keep this weblog in your F5 sequence ;-)

I run the latest beta release of nzbget: release 342, especially to have it crash on certain nzb files. But ‘unfortunately’ after 18 days and more than 500GB of download: it is still running as it should
WOW .. this version is stable.. complete siterips, many mp3’s and movies, tv series are downloaded and the script is still working fine even where the nas reaches over 60 degrees celcius. Still in need for someone like to do some scripting to make the unpak script more easy to use and make fun of the unpak of stuff ..
user Bearxor had problems with using nzbget on his fun_plugged device. After some chatting in the comments he told that he is using the DNS-321 and not the CH3SNAS or DNS-323, these devices do have different toolchain and need to be compiled differently.
So for users with the Conceptronic CH3MNAS or D-LINK DNS-321 who want to have a 5 to 10 minutes installation of nzbget: download it here and get the ch3mnas-nzbget.tgz file for the installation instructions:
get the instructions here
Compiling NZBGET at CH3SNAS with Fun_Plug 0.5 with libpar2 & libsigc++ (make sure you have installed all the Fun_Plug packages for compiling programs (gcc / uclibc)
Download svn onto CH3SNAS use for configure: (check nzbget.sourceforge.net)
./configure –disable-tls –without-tlslib –with-libpar2-libraries=/ffp/lib –with-libsigc-libraries=/ffp/bin
TLS seems not to able to compile due to missing library (check this!) therefore disable it in configure. Configure line must be correct otherwise somewhere during the make you get a segmentation fault (ParChecker.o)
libpar2 and libsigc needs to be statically compiled cause on not every system the tools are available (make it easy). I am lucky to have the tools installed on one device ;-)
after the configure you can use the command ‘make’
If you want the packages: libpar2Â & libsigc++Â install with funpkg -i [package-name] than you can compile it yourself as well (statically or dynamically is possible if you download the 2 packages)
Finally after the make you must use the following command to statically put the 2 libraries into the nzbget binary
g++ -g -Wall -lxml2 -L/ffp/lib -L/ffp/lib -rdynamic -o nzbget ArticleDownloader.o BinRpc.o ColoredFrontend.o Connection.o Decoder.o DiskState.o DownloadInfo.o Frontend.o Log.o LoggableFrontend.o NCursesFrontend.o NNTPConnection.o NZBFile.o NetAddress.o NewsServer.o Observer.o Options.o ParChecker.o PrePostProcessor.o QueueCoordinator.o QueueEditor.o RemoteClient.o RemoteServer.o Scheduler.o ScriptController.o ServerPool.o Thread.o Util.o XmlRpc.o nzbget.o svn_version.o -lncurses -lpthread /ffp/lib/libpar2.a /ffp/lib/libsigc-2.0.a
if using tls above g++ line must be getting ‘TLS.o’ and -lgnutls
Ready set and go and do not forget to use the updated nzbget.conf.example as well.
– end of message to self
I’ve updated the nzbget + nzbgetweb +unpak.sh script with latest versions for the Conceptronic CH3SNAS:
- NZBGet: NZBGet version 0.7.0-testing-r317
- NZBGet Web Interface v 1.4 (testing-2)
the unpak script is little modified to fit the CH3SNAS configuration and has been changed to fit the config in NZBget Web when using the version 1.4 (testing-2).
Little How-To
Install Fun_Plug 0.5 of Fonz
Note: if you already run lighttpd you must make own adjustments to your lighttpd configuration and websettings
install the PHP package (needed for lighttpd).
- Download with wget http://www.aroundmyroom.com/ch3snas-funplug/php-5.2.6-3.tgz the PHP package (temporary from my server) as the new updated PHP version of Fonz seems to break something. Install PHP with ‘funpkg -i php-5.2.6-3.tgz’
Update: after consulting Fonz (Tobias) I learned that the new version of PHP is compiled with CURL support. So it’s necessary to install the curl package as well
- Download with wget http://www.aroundymyroom.com/ch3snas-funplug/unrar-3.7.8-1.tgz the UNRAR package. Install with ‘funpkg -i unrar-3.7.8-1.tgz’
- Download with wget http://www.aroundmyroom.com/ch3snas-funplug/nzbget-zeroday-web.tgz the NZBGet +NZBGet Web + Unpak package
put the tgz file in /mnt/HD_a2/ and untar this with tar -xvzf nzbget-zeroday-web.tgz and the files will be extracted to /mnt/HD_a2/newsbin/
start the webserver and nzbget with
- sh /mnt/HD_a2/newsbin/startweb.sh start
- sh /mnt/HD_a2/newsbin/startnzbget.sh start
The whole setup should not be accessible through http://Your-CH3SNAS:8000
Do not forget to configure your usenet server, username and password !!!
http://Your-CH3SNAS:8000/config.php?section=S-NEWS-SERVERS
If you want to upload nzb’s through the webinterface make sure that in the PHP.INI
upload_tmp_dir = /mnt/HD_a2/tmp
is enabled, and that the maximum allowed size for uploaded files is big enough.
upload_max_filesize = 256M
You can copy with
cp /ffp/etc/examples/php.ini-recommended /ffp/etc/php.ini
the correct php.ini into the correct folder
rev1.
find here nzbget + nzbgetweb (latest beta release) in a ‘Zeroday’ installation package
it 98% complete. Missing some documentation only.
Here the quick guide:
What do you need? You need to download the PHP package of FONZ and install it with funpkg -i php-5.2.9-1.tgz (UPDATED 22-05-09)
Important note: PHP 5.2.9-1 NEEDS also the CURL package to be installed ! Otherwise lighttpd cannot be started!
http://www.inreto.de/dns323/fun-plug/0.5/PACKAGES.html#curl
and you need to install the unrar package which you can download here and install also with funpkg -i unrar-3.7.8-1.tgz
Make sure you put the newsbin_zeroday-rc1.tar into /mnt/HD_a2
in telnet use the command: tar -xvf newsbin_zeroday-rc1.tar and it will create a folder newsbin
cd /mnt/HD_a2/newsbin/conf/
cp php.ini /ffp/etc/
this will copy some specific php settings to be used by lighttpd when started
Please make sure that there is NO lighttpd already running as we are using our own configuration
after unpacking and copying the php.ini file we are almost ready
cd /mnt/HD_a2/newsbin/
sh startweb.sh start
sh startnzbget.sh start
go to your browser and enter http://ch3snas:8000
nzbgetweb is shown and you can now press config and in the NZBGET-SERVER part you select: NEWS-SERVERS and here you enter your News-Server Server1.Host, username & Password
Save this and you are ready
Upload your NZB files into the /mnt/HD_a2/newsbin/nzb folder (or Volume_1/newsbin/nzb)
best way is to create 2 shares in the webconfiguration of the CH3SNAS to /Volume_1/Newsbin/nzb to have a direct shortcut to the NZB folder within Windows and to create a direct share to /Volume_2/Newsbin/usenet where the files will be downloaded to and extracted
Try it. comments are open for discussion ;’-)
I’m busy with a new installation of nzbget. My test environment is now running NZBGet version 0.7.0-testing-r308.
I decided to put all standard functions in 1 folder to make it possible to create an archive and have it extracted and with some minor adjustments have it working fine on the CH3SNAS or any other device with /mnt/HD_a2 as root
I also configured nzbget that newzbin can be used. This needed the php.ini to load the zlib.so extension after some debugging and testing it was functional.
Older Posts »