Synology Newznab

Setting up an individual NZB index with Newznab. Followed the tutorial here. Using DS112 on DSM 5.0-4458 update 2.

Needs ipkg. I bootstrapped it before, but I think DSM 5.0 might have broken it. Here’s what I did to re-enable it.

cd /volume1/@tmp
wget # Applies to the processor on the DS112, which is the Marvell mv6282. Find yours here.
chmod +x syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
sh syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
rm syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh

(optional) An error message said I had to delete some old optware folders, reboot, and try again.

rm -rf /volume1/@optware

Then I had to fix the install. ipkg works until you reboot, so there are some changes you need to add to make it reboot-proof. Fix taken from here.

vi /etc/rc.local
mount -o bind /volume1/@optware /opt # Make sure this line is added in as shown

vi /root/.profile
PATH=/opt/bin:/opt/sbin:[whatever else was originally there]


Since we’ll be going in and out a lot via SSH, let’s set up passwordless SSH keygen pair login. This thread helped a lot.

ssh-keygen -t dsa # Do this on your computer. Further instructions can be found here.

ssh root@Synology
cd /root
mkdir .ssh
nano .ssh/authorized_keys # Paste your key from into this file, and ensure there are no line breaks.
chmod 755 .ssh
chmod 600 .ssh/authorized_keys

nano /etc/ssh/sshd_config
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no

From there, you can easily follow the tutorial to set up Newznab. For some reason, it tells you to uninstall php via “ipkg remove php -force-depends.” That just broke my Pear, so I reinstalled it. Not sure what effect this will have on my Newznab, but I guess I’ll just see.

From the pre-flight checklist, received a warning that Apache’s mod_rewrite wasn’t loading. No real solution came up on Google, so I just moved on.

Everything else was pretty easy thanks to the tutorial.


Christian. Audio. Technology. Go-Getter. Concise.

Tagged with: , , , , ,
Posted in Hacks, Technology