Customizing iomega StorCenter ix4-200d with ipkg
I have the iomega StorCenter ix4-200d. It is a nice little NAS with a number of decent features including rsync server etc. Unfortunately there were couple things I wanted fixed since for example rsync was at version 2.6.9 which does not support incremental updates. Machine runs a custom Linux distribution so I figured someone must have figured out how to customize it. I found part of the answer here
To enable SSH you need to log in as administrator to your StorCenter then go to https://<storcenterIP>/support.html. Turn on SSH access. StorCenter will reboot. Then you will be able to ssh into the box as root where password is your admin password with soho prepended ie. if your web gui password is secret then root password is sohosecret.
Post has a way to bootstrap Debian on the box however I found an easier solution ie. StorCenter ships with ipkg utility which is similar to apt-get and yum commands. To enable proper repositories I searched and found them here
http://forum.synology.com/enu/viewtopic.php?f=40&t=5823
Easy way to add them is cut and paste following
cat <<EOF > /etc/ipkg.conf src cross http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable src native http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable EOF
Then type
ipkg update
After that you can check the list of available packages by typing
ipkg list | less
To install packages type
ipkg install <package_name>
Please note that packages are installed in /opt so adjust paths properly ie. screen is installed in
/opt/bin/screen
Hope this helps someone
Tags: Linux
May 25th, 2010 at 12:17
hi, i've try your interesting howto for my iomega 200d but when i launch ikpg update i've the following error:
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-HdFzLx http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable/Packages
any ideas ?
thanks very much for your job
teo
May 25th, 2010 at 14:00
Can you try running
wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable/Packages
To see what happens.
June 19th, 2010 at 17:04
Hi,
It seems that i'm unable to write in the fs while trying to install for example screen:
ln: creating symbolic link `/lib/gconv': Read-only file system
mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system
Any of you experiencied the same?
Thank you
July 28th, 2010 at 14:48
I get the same error as Teo when trying to install transmission. I\'m doing this as the built in BT keeps freezing on me, not sure if it is the BT or the webapp
The wget however seems to work
July 28th, 2010 at 15:00
Andy,
did you try and update your iOmega to the latest version ? What version are you on ?
July 28th, 2010 at 16:25
I did a bit of poking around, ran the wget without the -q and discovered that the ipkg2 server is down and it is failing trying to connect to this.
Resolving ipkg2.nslu2-linux.org... failed: Name or service not known.
wget: unable to resolve host address `ipkg2.nslu2-linux.org'
Thanks for getting back to me so fast, much appreciated.
btw, I patched to the latest firmware yesterday: 2.1.30.10908
July 28th, 2010 at 16:39
Something's wrong with your name. It's saying ipkg2 instead of ipkg ie. URL is
http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable/Packages
July 28th, 2010 at 16:53
full transcript to better demonstrate, as it is wget that is cross referencing to ipkg2:
root@homeNAS:/opt# wget --passive-ftp http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/transmission_2.03-1_arm.ipk
--2010-07-28 22:49:20-- http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/transmission_2.03-1_arm.ipk
Resolving ipkg.nslu2-linux.org... 140.211.169.169
Connecting to ipkg.nslu2-linux.org|140.211.169.169|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ipkg.nslu2-linux.org/feeds-redirect.php?f=optware/cs08q1armel/cross/stable/transmission_2.03-1_arm.ipk [following]
--2010-07-28 22:49:20-- http://ipkg.nslu2-linux.org/feeds-redirect.php?f=optware/cs08q1armel/cross/stable/transmission_2.03-1_arm.ipk
Reusing existing connection to ipkg.nslu2-linux.org:80.
HTTP request sent, awaiting response... 302 Found
Location: http://ipkg2.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/transmission_2.03-1_arm.ipk [following]
--2010-07-28 22:49:20-- http://ipkg2.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/transmission_2.03-1_arm.ipk
Resolving ipkg2.nslu2-linux.org... failed: Name or service not known.
wget: unable to resolve host address `ipkg2.nslu2-linux.org'
July 30th, 2010 at 12:49
Yay! It started working - server must be up again
Transmission loaded and running.
December 12th, 2010 at 11:43
Thank you very much for this guide! Very easy to understand. -Jonas
February 6th, 2011 at 13:11
Thanks! This is incredibly useful, there are so many packages for this seemingly simple device, extending the possibilities way beyond what Iomega thought of
April 4th, 2011 at 09:40
Hello,
I tried the ipkg command and when I try to install screen I have the fallowing errors:
# ipkg install screen
Package screen (4.0.3-2) installed in root is up to date.
Configuring apache
mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system
mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system
//opt/ipkg/info/apache.postinst: line 6: /opt/sbin/httpd: No such file or directory
//opt/ipkg/info/apache.postinst: line 7: /opt/sbin/httpd: No such file or directory
postinst script returned status 127
ERROR: apache.postinst returned 127
Configuring e2fsprogs
mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system
mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system
mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system
postinst script returned status 1
ERROR: e2fsprogs.postinst returned 1
Configuring ncurses
mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system
postinst script returned status 1
ERROR: ncurses.postinst returned 1
Configuring psmisc
mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system
mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system
postinst script returned status 1
ERROR: psmisc.postinst returned 1
Nothing to be done
Successfully terminated.
My firmware version is: "Current Device Software Version: 2.1.38.22294"
Thank you
June 14th, 2011 at 12:29
Hi,
Did you find a solution for the mkdir: cannot create directory `/usr/lib/ipkg': Read-only file system ?
Im trying to install sabnzb on my brand new ix4 but no luck yet
September 4th, 2011 at 03:06
Hello,
Copy /mnt/apps folder to /mnt/soho_storage/apps and then
mount --bind /mnt/soho_storage/apps /mnt/apps
This will make /usr writable
Have a nice day