Installing Transmission and Other Apps

Post Reply
User avatar
Posts: 3
Joined: Wed Sep 11, 2013 11:38 am

Installing Transmission and Other Apps

Post by Scramble » Fri Sep 13, 2013 1:11 am

I recently bought a ix4-300d to store my media and manage torrent downloads. To say the built in torrent client is a total disappointment is a bit of an understatement. I was also left unhappy with the lack of downloadable modules available as I assumed transmission server was only a click away. So, I had to do it the hard way. A bit of research and some translation and debugging resulted in success. As well as transmission, I was able to install a few other utilities that I am still figuring out. I am posting what I did here so that anybody with a basic grasp of linux can easily get as far as me. Don't expect me to answer too many queries, I am often away from home in areas with little or no internet for long periods of time hence setting up the server at home to be accesed remotely. I will refer to accessing the NAS as 'http://nas' but you will need to substitute the IP address or hostname you have chosen. Once completed you will have the following modules installed:

Transmission http://nas:9091/
SABnzbd http://nas:8080/sabnzbd/
Sick-Beard http://nas:8081/home/
CouchPotatoServer http://nas:5050/
Headphones http://nas:8181/home/
AutoSub http://nas:8083/home/

Please be aware that mistakes can lead to bricking your server and that installing the modules and getting them running is just the beginning, each one will require some fine tuning in the settings and that some settings can only be changed by editing the respective config file.

Note: AutoSub currently isn't working for me and I have no clue why. It is not important to me either as I don't need subtitles.

To get up and running, the folowing steps were taken.
1. Create a downloads share
2. Enable SSH
3. Create a folder to place the apps and settings, Install IPKG, Install transmission + dependencies and apps
4. Create a startup script to run the apps and test them
5. Add the startup script to the boot process

1. Create a downloads share:
Go to http://nas/manage/shares.html and add a share named 'Downloads' (note capital 'D')

2. Enabling SSH:
http://nas/manage/diagnostics.html or http://nas/diagnostics.html will get you to the page to do this. Enable SSH, choose a root password and apply. Download putty or some other SSH client and open an SSH terminal as root (use NAS hostname or IP and port 22). Password=soho+password of your choice. Once logged in enter the 'passwd' command to change the password to something that doesn't have 'soho' in it.

3. Setting up folders and installing apps
I created a script to set everything up.

Code: Select all

nano /opt/
Paste the following:

Code: Select all

ipk_name=$(wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}')
mkdir $apps
mkdir $apps/_config
mkdir $apps/_config/autosub
mkdir $apps/_config/couchpotato
mkdir $apps/_config/headphones
mkdir $apps/_config/transmission
mkdir $dload/_watch
mkdir $dload/_incomplete
wget $feed/$ipk_name
tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
mkdir -p /opt/etc/ipkg
echo "src cross" >> /opt/etc/ipkg/armel-feed.conf
echo "src native" >> /opt/etc/ipkg/armel-feed.conf
rm ipkg*.ipk
/opt/bin/ipkg update
/opt/bin/ipkg install python26 py26-cheetah py26-openssl par2cmdline unrar unzip git gcc transmission
cd $apps
/opt/bin/git clone
/opt/bin/git clone Sick-Beard
/opt/bin/git clone
/opt/bin/git clone
tar zxvf yenc-0.4.0.tar.gz
cd yenc-0.4.0
$python build
$python install
cd ..
rm -rf yenc-0.4*
CTRL-X to exit nano (save changes) Then make the script executable and run it.

Code: Select all

chmod +x /opt/
4. Now for the startup script

Code: Select all

nano /opt/
Paste the following

Code: Select all

rm $logfile
echo "Last bootup:" >> $logfile
date >> $logfile
echo "Wait one minute for storage to be mounted" >> $logfile
sleep 1m
echo "Adding /opt/bin to $PATH" >> $logfile
echo "Starting transmission-daemon" >> $logfile
transmission-daemon -g /mnt/pools/A/A0/apps/_config/transmission --allowed *.*.*.*
echo "Starting SABnzbd" >> $logfile
$python $apps/sabnzbd/ -f/mnt/pools/A/A0/apps/_config/sabnzbd/sabnzbd.ini --server --daemon
echo "Starting SickBeard" >> $logfile
$python $apps/Sick-Beard/ --config /mnt/pools/A/A0/apps/_config/sickbeard/config.ini --daemon
echo "Starting Headphones" >> $logfile
$python $apps/headphones/ -d --config /mnt/pools/A/A0/apps/_config/headphones/config.ini
echo "Starting CouchPotatoServer" >> $logfile
$python $apps/CouchPotatoServer/ --data_dir /mnt/pools/A/A0/apps/_config/couchpotato/ --daemon
echo "Starting AutoSub" >> $logfile
$python $apps/auto-sub/ -d -c/mnt/pools/A/A0/apps/_config/autosub/
echo "I will reboot after 365 days..." >> $logfile
sleep 365d
CTRL-X to exit nano (save changes) Then make the script executable.

Code: Select all

chmod +x /opt/
You can start all the modules by entering

Code: Select all

You can then check each app and once you are happy that everything is running, you can make them run automatically when rebooting.

5. Adding the startup script to the boot process
In order to do this we need to create a script to edit the NAS boot script sohoProcs.xml.

Code: Select all

nano /opt/
Paste the folllowing:

Code: Select all

mknod -m0660 /dev/loop3 b 7 3
chown root.disk /dev/loop3
mkdir /tmp/apps
mount -o loop /boot/images/apps /tmp/apps
nano /tmp/apps/usr/local/cfg/sohoProcs.xml
sleep 1
umount /tmp/apps
rm /dev/loop3
Make executable and run.

Code: Select all

chmod +x /opt/
Find the line <Group Level="1"> and then scroll down carefully until you come to a line that reads </Group>. Just above this line, insert the following:

Code: Select all

<Program Name="" Path="/opt/">
  <SysOption Restart="-1"/>
CTRL X and exit nano saving the changes. Now the modules should startup on every reboot. Note that some patience will be required, it takes about 4 minutes to boot my NAS and yours could take longer. The sohoProcs.xml file will get overwritten after a firmware update so be prepared to repeat the last step. is a good source for a blocklist.
Have Fun!
Iomega StorCenter ix4-300d
Instantly get 20GB of cloud storage

Posts: 2
Joined: Fri Oct 18, 2013 10:25 pm

Re: Installing Transmission and Other Apps

Post by navigator666 » Fri Oct 18, 2013 10:28 pm

Thank you for a great manual!
What is the right way to clean everything? I mean return IX to the state it was before the installation of all the apps/
Thank you in advance

Posts: 1
Joined: Tue Feb 04, 2014 7:20 pm

Re: Installing Transmission and Other Apps

Post by jobdrb » Tue Feb 04, 2014 7:30 pm


I am new to Iomega NAS,

I had one PX6-300d, which I found is very similar to others.

I need to make changes in sohoProcs.xml,
I use the scritp for that, but, I receive "readonly filesystem", and cant write.

Theres something that I can do to solve this?


Job Diogenes

Post Reply