F2 nzbget
From FON Wiki Beta
FON will not provide any help to follow these guidelines.
This documentation was provided by the community. It is distributed
as-is with no warranty. Follow these instruction at your own risk.
This documentation was provided by the community. It is distributed
as-is with no warranty. Follow these instruction at your own risk.
Contents |
Description
- The FON devteam is working at Torrent & RapidShare/MegaDownload plugins, but some people requested also on how to download from newsgroup services like Eweka, Giganews, ...
- Alternative newsgroup support : You can also look at NNTPGRAB here
Source
precondition
- an stick ext2/3 formatted with at least 4mbyte of free space
installation
- cd /tmp/mounts/Disc-A1
- mkdir nzbget
- cd nzbget
- wget http://downloads.openwrt.org/kamikaze/8.09/atheros/packages/libsigcxx_2.2.3-1_mips.ipk
- tar xzvf libsigcxx_2.2.3-1_mips.ipk
- tar xzvf data.tar.gz
- wget http://downloads.openwrt.org/kamikaze/8.09/atheros/packages/uclibcxx_0.2.2-1_mips.ipk
- tar xzvf uclibcxx_0.2.2-1_mips.ipk
- tar xzvf data.tar.gz
- wget http://downloads.openwrt.org/kamikaze/8.09/atheros/packages/libxml2_2.7.2-3_mips.ipk
- tar xzvf libxml2_2.7.2-3_mips.ipk
- tar xzvf data.tar.gz
- wget http://downloads.openwrt.org/kamikaze/8.09/atheros/packages/zlib_1.2.3-5_mips.ipk
- tar xzvf zlib_1.2.3-5_mips.ipk
- tar xzvf data.tar.gz
- wget http://downloads.openwrt.org/kamikaze/8.09/atheros/packages/libstdcpp_4.1.2-14_mips.ipk
- tar xzvf libstdcpp_4.1.2-14_mips.ipk
- tar xzvf data.tar.gz
- wget ftp://artekw.cerbero.pl/openwrt/_old/fonera_trunk_nzbget/packages/libpar2_0.2-2_mips.ipk
- tar xzvf libpar2_0.2-2_mips.ipk
- tar xzvf data.tar.gz
- wget ftp://artekw.cerbero.pl/openwrt/_old/fonera_trunk_nzbget/packages/nzbget_0.6.0-testing-1_mips.ipk
- tar xzvf nzbget_0.6.0-testing-1_mips.ipk
- tar xzvf data.tar.gz
- wget http://www.aroundmyroom.com/ch3snas-funplug/nzbget.conf.new
- cp nzbget.conf.new nzbget.conf
- vi nzbget
#!/bin/sh
NZBGET=/tmp/mounts/Disc-A1/nzbget
PATH=$NZBGET/usr/sbin:$PATH
export LD_LIBRARY_PATH=$NZBGET/lib:$NZBGET/usr/lib:$LD_LIBRARY_PATH
case "$1" in
start)
set backup=$HOME
export HOME=$NZBGET
$NZBGET/usr/sbin/nzbget -s
export HOME=$backup
;;
stop)
killall nzbget
;;
debug)
set backup=$HOME
export HOME=$NZBGET
$NZBGET/usr/sbin/nzbget -D
export HOME=$backup
;;
*)
echo "Usage: $0 (start|stop)"
exit 1
;;
esac
- make this script executable
chmod +x nzbget
- vi nzbget.conf
$MAINDIR=/tmp/mounts/Disc_A1/nzbget
DestDir=${MAINDIR}/download
NzbDir=${MAINDIR}/nzb
QueueDir=${MAINDIR}/queue
TempDir=${MAINDIR}/tmp
LockFile=/tmp/nzbget.lock
LogFile=${MAINDIR}/nzbget.log
Server1.Level=0
Server1.Host=news.skynet.be
Server1.Port=119
Server1.Username=anonymous
Server1.Password=anonymous
Server1.JoinGroup=yes
Server1.Encryption=no
Server1.Connections=4
DaemonUserName=root
UMask=0000
AppendCategoryDir=yes
AppendNzbDir=yes
NzbDirInterval=5
NzbDirFileAge=20
MergeNzb=yes
NzbProcess=
DupeCheck=yes
SaveQueue=yes
ReloadQueue=yes
ReloadPostQueue=yes
ContinuePartial=yes
RenameBroken=no
Decode=yes
DirectWrite=no
CrcCheck=yes
Retries=4
RetryInterval=10
RetryOnCrcError=no
ConnectionTimeout=60
TerminateTimeout=600
ThreadLimit=100
DownloadRate=0
WriteBufferSize=0
DiskSpace=250
DeleteCleanupDisk=yes
CreateLog=yes
ResetLog=no
ErrorTarget=both
WarningTarget=both
InfoTarget=both
DetailTarget=both
DebugTarget=none
ProcessLogKind=detail
LogBufferSize=1000
CreateBrokenLog=yes
DumpCore=yes
OutputMode=loggable
CursesNzbName=yes
CursesGroup=no
CursesTime=no
UpdateInterval=200
ServerIp=127.0.0.1
ServerPort=6789
ServerPassword=tegbzn6789
LoadPars=all
ParCheck=no
ParRepair=no
StrictParName=yes
ParTimeLimit=0
ParPauseQueue=yes
ParCleanupQueue=yes
NzbCleanupDisk=yes
PostProcess=/ffp/etc/unpak.sh
AllowReProcess=no
PostPauseQueue=no
- The idea is to create also a secondary server credentials; one to a paid server to cope with the "missing" bits on your ISP's newsserver. It needs a user/password and will probably using encryption on a non default port.
Server2.Level=0 Server2.Host=news.eweka.nl Server2.Port=119 Server2.Username=anonymous Server2.Password=anonymous Server2.JoinGroup=yes Server2.Encryption=no Server2.Connections=4
- create the necessary subfolders
mkdir queue mkdir download mkdir nzb mkdir tmp
- Now start up nzbget :
./nzbget start
Status
root@Fonera:~/run/mountd/sda1/nzbget# ./nzbget start FATAL ERROR: Parsing NZB-document /tmp/run/mountd/sda1/nzbget/backup=/root failed!!
- ... an error ...
Manual
nzbget -s : console modus
NZBGetWeb
tbd


