![]() |
HowTo.SABnzbd HistoryHide minor edits - Show changes to markup October 08, 2008, at 06:33 PM
by -- Update for version 0.4.4
Added lines 114-122:
This works great, but to get version 0.4.4 working I needed to install these files too. ipkg install py25-cheetah June 21, 2008, at 05:07 AM
by --
Changed lines 7-17 from:
to:
ipkg update ipkg upgrade ipkg install coreutils ipkg install python ipkg install py-cheetah ipkg install py-cherrypy ipkg install py-elementtree ipkg install py-yenc ipkg install unrar ipkg install par2cmdline Changed lines 20-21 from:
Edit the /etc/passwd file, my guest line looks like: to:
Edit the Changed lines 24-25 from:
To test the guest user, use su guest. If it doesn't work make sure the home dir exists (in the passwd file) and set the right properties. I have chmod 777 -R, chgrp everyone -R and chown guest -R the home dir. to:
To test the guest user, use Changed lines 36-37 from:
Set up a S99SABnzbd file in /opt/etc/init.d to:
Set up a S99SABnzbd file in May 06, 2008, at 07:27 PM
by --
Added line 51:
Changed lines 53-54 from:
Thanx to BrianZhou? who did the initial job. to:
May 04, 2008, at 08:07 PM
by --
Changed lines 58-70 from:
to:
ipkg update Deleted line 71:
Changed lines 78-81 from:
The default guest user has no shell defined which gives a /dev/null permission denied error. to:
The default guest user has no shell defined which gives a Changed lines 84-85 from:
Download and unpack SABnzbd-0.3.4.tar.gz to \\nslu2\DISK 2\ from a PC. to:
Download and unpack Changed lines 92-95 from:
Modify the configuration settings in /home/user/guest/.sabnzbd/sabnzbd.ini. to:
Modify the configuration settings in Changed line 112 from:
Check the web interface at: http://192.168.1.77:8080/sabnzbd to:
Check the web interface at: May 04, 2008, at 07:57 PM
by --
Deleted line 68:
Deleted line 107:
Deleted line 110:
May 04, 2008, at 07:55 PM
by --
Deleted line 83:
Deleted line 90:
Changed line 94 from:
Modify the configuration settings in /home/user/guest/.sabnzbd/sabnzbd.ini\\ to:
Modify the configuration settings in /home/user/guest/.sabnzbd/sabnzbd.ini.\\ Changed lines 96-99 from:
Fill in IP (default 192.168.1.77) and port 8080 Exit the user guest and become root again to:
Fill in IP (default 192.168.1.77) and port 8080. Exit the user guest and become root again. Changed lines 108-109 from:
Save the script. to:
Save the script and apply correct permissions. May 04, 2008, at 07:53 PM
by --
Changed lines 102-103 from:
vi /opt/etc/init.d/S99SABnzbd?\\
to:
vi /opt/etc/init.d/S99SABnzbd?
Changed line 110 from:
Save the script.\\ to:
Save the script. Changed lines 113-114 from:
Restart SABnzbd using the new settings:\\ to:
Restart SABnzbd using the new settings: May 04, 2008, at 07:50 PM
by --
Changed lines 72-73 from:
Because a guest home directory does not exist we make one:\\ to:
Because a guest home directory does not exist we make one: Changed lines 83-86 from:
>> Don’t use the –l or –m option because this will give the wrong $HOME or $PATH to:
>> Don’t use the –l or –m option because this will give the wrong $HOME or $PATH whoami Download and unpack SABnzbd-0.3.4.tar.gz to \\nslu2\DISK 2\ from a PC. Changed lines 91-92 from:
to:
May 04, 2008, at 07:46 PM
by --
Changed lines 56-57 from:
Make SSH connection with NSLU2.\\ to:
Make SSH connection with NSLU2. Changed lines 73-78 from:
mkdir /home/user to:
mkdir /home/user Changed lines 83-84 from:
whoami to:
whoami Changed lines 86-87 from:
to:
Changed line 89 from:
python /sabnzbd/SABnzbd.py\\ to:
python /sabnzbd/SABnzbd.py\\
Changed lines 98-100 from:
vi /opt/etc/init.d/S99SABnzbd? to:
vi /opt/etc/init.d/S99SABnzbd? Changed lines 102-104 from:
fi to:
fi Changed lines 106-107 from:
chmod 755 /opt/etc/init.d/S99SABnzbd? to:
chmod 755 /opt/etc/init.d/S99SABnzbd?
Changed lines 109-110 from:
/opt/etc/init.d/S99SABnzbd? to:
/opt/etc/init.d/S99SABnzbd?
May 04, 2008, at 07:35 PM
by --
Changed lines 52-53 from:
Thanx to BrianZhou? who did the initial job. Somehow it didn't work out well on my fresh unslung NSLU2 (V2.3R63-uNSLUng-6.10-beta) with a disk on port DISK2?. to:
Thanx to BrianZhou? who did the initial job. Changed lines 56-75 from:
Make ssh connection with NSLU2 ipkg update ipkg install coreutils ipkg install python ipkg install py24-cheetah ipkg install py24-cherrypy ipkg install py24-elementtree ipkg install py24-celementtree ipkg install py24-yenc ipkg install unrar ipkg install unzip ipkg install par2cmdline ipkg install libpar2 ipkg install perl Because a guest home directory does not exist we make one: mkdir /home/user mkdir /home/user/guest chmod 777 –R /home/user chgrp everyone –R /home/user to:
Make SSH connection with NSLU2.
Because a guest home directory does not exist we make one: Changed lines 78-84 from:
The default guest user has no shell defined which gives a /dev/null error. vi /etc/passwd and change /dev/null into /bin/sh for the guest account. Test the guest account with /opt/bin/su guest >> Don’t use the –l or –m option because this will give the wrong $HOME or $PATH whoami Download and unpack SABnzbd-0.3.4.tar.gz to \\nslu2\DISK 2\ from a PC. to:
The default guest user has no shell defined which gives a /dev/null permission denied error. Changed lines 87-88 from:
to:
Changed lines 91-92 from:
Modify the configuration settings in /home/user/guest/.sabnzbd/sabnzbd.ini Change the paths to a location /share/flash/data/public/ to make the results accessable from your PC. to:
Modify the configuration settings in /home/user/guest/.sabnzbd/sabnzbd.ini Changed line 97 from:
vi /opt/etc/init.d/S99SABnzbd? to:
vi /opt/etc/init.d/S99SABnzbd?\\ Changed lines 99-104 from:
if [ -n "`pidof python`" ]; then /bin/killall python 2>/dev/null fi /opt/bin/su guest -c "/usr/bin/python /sabnzbd/SABnzbd.py –f /home/user/guest/.sabnzbd/sabnzbd.ini -d" Save the script. to:
if [ -n "`pidof python`" ]; then Changed line 107 from:
Restart SABnzbd using the new settings: to:
Restart SABnzbd using the new settings:\\ Deleted lines 110-111:
Maybe someone can help me with the layout of this contribution. A lot of CR's are missing. May 04, 2008, at 12:48 PM
by --
Added line 112:
Maybe someone can help me with the layout of this contribution. A lot of CR's are missing. May 04, 2008, at 12:43 PM
by --
Changed lines 57-60 from:
ipkg update ipkg install coreutils ipkg install python ipkg install py24-cheetah to:
ipkg update ipkg install coreutils ipkg install python ipkg install py24-cheetah Changed line 65 from:
ipkg install unrar to:
ipkg install unrar Changed line 67 from:
ipkg install par2cmdline to:
ipkg install par2cmdline May 04, 2008, at 12:41 PM
by -- Alternative SABnzbd setup
Changed lines 50-111 from:
To see progress use http://[slug ip]:8080/sabnzbd/ to:
To see progress use http://[slug ip]:8080/sabnzbd/ Thanx to BrianZhou? who did the initial job. Somehow it didn't work out well on my fresh unslung NSLU2 (V2.3R63-uNSLUng-6.10-beta) with a disk on port DISK2?. This is my procedure to make it work. Make ssh connection with NSLU2 ipkg update ipkg install coreutils ipkg install python ipkg install py24-cheetah ipkg install py24-cherrypy ipkg install py24-elementtree ipkg install py24-celementtree ipkg install py24-yenc ipkg install unrar ipkg install unzip ipkg install par2cmdline ipkg install libpar2 ipkg install perl Because a guest home directory does not exist we make one: mkdir /home/user mkdir /home/user/guest chmod 777 –R /home/user chgrp everyone –R /home/user chown guest –R /home/user The default guest user has no shell defined which gives a /dev/null error. vi /etc/passwd and change /dev/null into /bin/sh for the guest account. Test the guest account with /opt/bin/su guest >> Don’t use the –l or –m option because this will give the wrong $HOME or $PATH whoami Download and unpack SABnzbd-0.3.4.tar.gz to \\nslu2\DISK 2\ from a PC. mv /share/flash/data/public/SABn?* /share/flash/data/sabnzbd Test SABnzbd using: python /sabnzbd/SABnzbd.py A default configuration will be created. Modify the configuration settings in /home/user/guest/.sabnzbd/sabnzbd.ini Change the paths to a location /share/flash/data/public/ to make the results accessable from your PC. Fill in IP (default 192.168.1.77) and port 8080 Exit the user guest and become root again vi /opt/etc/init.d/S99SABnzbd?
if [ -n "`pidof python`" ]; then /bin/killall python 2>/dev/null fi /opt/bin/su guest -c "/usr/bin/python /sabnzbd/SABnzbd.py –f /home/user/guest/.sabnzbd/sabnzbd.ini -d" Save the script. chmod 755 /opt/etc/init.d/S99SABnzbd? Restart SABnzbd using the new settings: /opt/etc/init.d/S99SABnzbd? Check the web interface at: http://192.168.1.77:8080/sabnzbd December 02, 2007, at 05:11 PM
by -- sabnzbd in optware feed
Added lines 1-2:
Now that sabnzbd is in optware feed, should the instruction below be simplified/adjusted? December 01, 2007, at 06:03 PM
by --
Changed lines 30-31 from:
Then edit the SABnzbd.ini (in the unpack dir you just used) file and set it up to your liking. Make sure all dirs exists and are owned by guest. to:
Then edit the SABnzbd.ini (in the unpack dir you just used) file and set it up to your liking. Make sure all dirs exists and are owned by guest. It is best to specify the entire path instead of relative paths. If you run into errors starting SABnzbd (especially through a script) this is most likely why. December 01, 2007, at 12:10 AM
by -- additional packages
Changed lines 12-15 from:
to:
October 14, 2007, at 01:26 AM
by -- fixed false wikilinks
Changed lines 37-38 from:
su -l guest -c "/usr/bin/python /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.py -f /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.ini -d"
to:
su -l guest -c "/usr/bin/python /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.py -f /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.ini -d" Changed lines 41-42 from:
sh /opt/etc/init.d/S99SABnzbd?.
to:
sh /opt/etc/init.d/S99SABnzbd October 14, 2007, at 01:25 AM
by -- fixed false wikilinks
Changed lines 31-32 from:
Set up a S99SABnzbd? file in /opt/etc/init.d to:
Set up a S99SABnzbd file in /opt/etc/init.d October 14, 2007, at 01:25 AM
by -- fixed false wikilinks
Changed lines 21-22 from:
Use the following to untar the SABnzbd-0.2.4 download: to:
Use the following to untar the SABnzbd-0.2.4 download: Changed line 24 from:
tar -xvzf SABnzbd-0.2.4.tar.gz [dir you like]
to:
tar -xvzf SABnzbd-0.2.4.tar.gz [dir you like] Changed lines 27-28 from:
Then edit the SABnzbd.ini (in the unpack dir you just used) file and set it up to your liking. Make sure all dirs exists and are owned by guest. to:
Then edit the SABnzbd.ini (in the unpack dir you just used) file and set it up to your liking. Make sure all dirs exists and are owned by guest. Changed lines 37-38 from:
su -l guest -c "/usr/bin/python /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.py -f /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.ini -d" to:
su -l guest -c "/usr/bin/python /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.py -f /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.ini -d"
Changed line 45 from:
To see progress use http://[slug ip]:8080/sabnzbd/ to:
To see progress use http://[slug ip]:8080/sabnzbd/ October 13, 2007, at 10:32 AM
by --
Changed lines 17-18 from:
guest:scBiQ2b1qfa3E:2000:501::/home/user:/bin/sh to:
guest:scBiQ2b1qfa3E:2000:501::/home/user:/bin/sh Changed lines 23-28 from:
su guest tar -xvzf SABnzbd-0.2.4.tar.gz [dir you like] exit Then edit the SABnzbd.ini file and set it up to your liking. Make sure all dirs exists and are owned by guest. to:
su guest
tar -xvzf SABnzbd-0.2.4.tar.gz [dir you like]
exit
Then edit the SABnzbd.ini (in the unpack dir you just used) file and set it up to your liking. Make sure all dirs exists and are owned by guest. Changed lines 39-40 from:
Test it using sh /opt/etc/init.d/S99SABnzbd?. to:
Test it using sh /opt/etc/init.d/S99SABnzbd?.
October 13, 2007, at 10:31 AM
by --
Changed lines 33-38 from:
if [ -n "`pidof python`" ]; then /bin/killall python 2>/dev/null fi su -l guest -c "/usr/bin/python /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.py -f /opt/local/sabnzbd/SABnzbd-0.2.4/SABnzbd.ini -d" to:
October 13, 2007, at 10:25 AM
by --
Changed lines 19-22 from:
To test the guest user, use su guest. You need a guest account to 'own' the python process. to:
To test the guest user, use su guest. If it doesn't work make sure the home dir exists (in the passwd file) and set the right properties. I have chmod 777 -R, chgrp everyone -R and chown guest -R the home dir. Use the following to untar the SABnzbd-0.2.4 download: su guest tar -xvzf SABnzbd-0.2.4.tar.gz [dir you like] exit Then edit the SABnzbd.ini file and set it up to your liking. Make sure all dirs exists and are owned by guest. You need a guest account to 'own' the python process, because thats the process that will create the download/temp/log files. Changed lines 39-43 from:
to:
Test it using sh /opt/etc/init.d/S99SABnzbd?. Then your off, download a nzb file and put it in the appropriate dir. To see progress use http://[slug ip]:8080/sabnzbd/ October 13, 2007, at 10:18 AM
by -- October 13, 2007, at 10:17 AM
by --
Added lines 17-24:
guest:scBiQ2b1qfa3E:2000:501::/home/user:/bin/sh To test the guest user, use su guest. You need a guest account to 'own' the python process. Set up a S99SABnzbd? file in /opt/etc/init.d October 13, 2007, at 10:12 AM
by --
Added lines 15-23:
October 13, 2007, at 10:11 AM
by --
Added lines 1-2:
I've got this working with the help of http://www.ed-x.demon.nl/sabnzbd.html and the help of John at http://tech.groups.yahoo.com/group/nslu2-linux. Changed lines 6-12 from:
- ipkg upgrade - ipkg install coreutils - ipkg install python - ipkg install py-cheetah - ipkg install py-cherrypy - ipkg install py-elementtree to:
October 13, 2007, at 10:09 AM
by --
Changed lines 3-4 from:
- ipkg update to:
October 13, 2007, at 10:09 AM
by --
Added line 4:
October 13, 2007, at 10:08 AM
by --
Changed lines 3-10 from:
ipkg update ipkg upgrade ipkg install coreutils ipkg install python ipkg install py-cheetah ipkg install py-cherrypy ipkg install py-elementtree to:
- ipkg update - ipkg upgrade - ipkg install coreutils - ipkg install python - ipkg install py-cheetah - ipkg install py-cherrypy - ipkg install py-elementtree October 13, 2007, at 10:07 AM
by -- How to SABnzbd
Added lines 1-12:
Firstly install ipkg update ipkg upgrade ipkg install coreutils ipkg install python ipkg install py-cheetah ipkg install py-cherrypy ipkg install py-elementtree Set up a guest account using the webinterface.
view ·
edit ·
print ·
history ·
Last edited by Rob Maas.
Based on work by Darek Sliwa, Pelders, BrianZhou, DigitalChaos, fcarolo, and Marco Schellings. Originally by Marco Schellings. Page last modified on October 08, 2008, at 06:33 PM
|