Quantcast

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

www.krausam.de/?p=33

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:

14 Responses to “Customizing iomega StorCenter ix4-200d with ipkg”

  1. teo Says:

    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

  2. admin Says:

    Can you try running

    wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable/Packages

    To see what happens.

  3. Luis Says:

    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

  4. Andy Says:

    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

  5. admin Says:

    Andy,

    did you try and update your iOmega to the latest version ? What version are you on ?

  6. Andy Says:

    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

  7. admin Says:

    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

  8. Andy Says:

    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'

  9. Andy Says:

    Yay! It started working - server must be up again :-) Transmission loaded and running.

  10. Jonas Says:

    Thank you very much for this guide! Very easy to understand. -Jonas

  11. Wladimir Says:

    Thanks! This is incredibly useful, there are so many packages for this seemingly simple device, extending the possibilities way beyond what Iomega thought of :)

  12. Marius Says:

    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

  13. lens0l Says:

    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 :(

  14. marius Says:

    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

Leave a Reply


Switch to our mobile site