Install Freenas On Iomega Storcenter Ix2
This tutorial uses unsupported features of the IOMEGA Storcenter ix4-200d. It worked for me but use it at your own risk! It should work (again, it is unsupported) on the ix2 Storcenter as well. Tutorial tested on IOMEGA Storcenter ix4-200d firmware 3.1.14.995 The aim of the tutorial is to be able to add programs to you NAS without having to go too deep in the system. This is also helpful to compile natively on the NAS without needing to cross compile for your architecture.
I am trying to put additional software on my Networked Attached Storage. Install custom software on Iomega PX4-300D NAS. It will be easier to just install a. Hello, does it possible to setup rsync from freenas to iomega ix2-200? I managed to setup the rsync between 2 freenas but having trouble with the.
SSH into your NAS See my other post: 2. Directory Structure on the NAS The Lifeline OS (Iomega's OS) does put most of the root file system in read only mode. It is not much use to try to put stuff there anyway because the partitition is very small You can type: df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 45548 12% / /dev/root.old 6613 2119 4494 33% /initrd none 45548 12% / /dev/md0vg/BFDlv 41 16% /boot /dev/loop0 524 6953 99% /mnt/apps /dev/loop1 4959 2230 2473 48% /etc /dev/loop2 216 216 0 100% /oem tmpfs 255748 0 255748 0% /mnt/apps/lib/init/rw tmpfs 255748 0 255748 0% /dev/shm /dev/mapper/md0vg-vol1 16774 20% /mnt/system /dev/mapper/2602b0cevg-lv43ec31bd 41% /mnt/pools/A/A0 to see the partitions and their mountpoint. The idea seems to be that third party programs should be installed in the /opt/ directory, which has ample storage (16GB) whereas root (/) only has 50MB. Use ipkg ipkg is intalled by default in the Iomega storcenter. We just need to specify the right place to find the packages: vi /etc/ipkg.conf src cross src cross Then type: ipkg update to build the list of available packages.
The problem of this setup is that you won't be able to install some packages because installation will fail because part of the filesystem is readonly. Thanks to ipkg, there is an easy fix: ipkg install ipkg-opt This installs the binary /opt/bin/ipkg-opt.
The idea is then to use this binary instead of the regular ipkg: as a result all packages will be installed in /opt/ and you won't run into problems with the read only filesystem. The only drawback is that /opt/bin/ is not in your path. There is a simple remedy for that: PATH=/opt/bin:$PATH Note: this is not persistent (if you start another shell, you will need to do that again).
Also, as a one time persistent thing, I recommand to do vi /etc/ld.so.conf and add /opt/lib/ at the end. That's the main problem with /opt installed software: you might end up to get duplicated libraries between /lib and /opt/lib (ldd and ldconfig are your friends). You also need to do: mv /opt/etc/ipkg.conf /opt/etc/ipkg.conf.old ln -s /etc/ipkg.conf /opt/etc/ipkg.conf so that you config in /etc/ipkg.conf remains useable with /opt/bin/ipkg and /opt/bin/ipkg-opt Then type: /opt/bin/ipkg update to setup the list of available packages for /opt/bin/ipkg /opt/bin/ipkg-opt 4. Install utilities and optware-devel First install the utilities you miss to do some actual linux stuff: ipkg-opt install zip unzip bzip2 gzip If you want a full gcc toolchain to compile your own applications from source. Ipkg-opt install optware-devel The compilation can be slow but this allows you to natively compile on your NAS (I think it is simpler because there is no need to set up cross compiling on another box). Install armel/debian compiled software Unfortunately, you will soon discover that some of the packages you want are not available for ipkg.
You can then either compile your own software (see next point) or get some ready-made debian archives. In this case, I suggest to use the following command (for example for libsigc-2.0-dev): cd /opt/tmp/ wget dpkg -instdir=/opt/ -admindir=/opt/dpkg/ -i libsigc-2.0-dev2.0.18-2armel.deb Note: do not use /tmp/ as the space available there is very small. Note2: be careful to choose packages compiled for your architecture (armel in my case)! The above command will install your soft as if /opt/ was the root directory (you will end up with /opt/usr/lib directories and the like). As a result, you might need to add stuff in your PATH or edit /etc/ld.so.conf.
Be careful not to make a mess of your system or you will soon end up with several times the same library (with different versions) at different locations. You will need to sort this manually(ln, rm.) 6. Compile from source For example, a very classic install for libnfnetlink: cd /opt/tmp/ wget tar -xvf libnfnetlink-1.0.0.tar.bz2 cd libnfnetlink-1.0.0 PATH=$PATH:/opt/bin./configure -prefix=/opt/ make make install Note: to get bzip2 to work I had to do before the tar -xvf: ln -s /opt/bin/bzip2-bzip2 /opt/bin/bzip2 Another example using svn cd /opt/tmp/ PAH=/opt/bin:$PATH svn checkout xmlrpc-c cd xmlrpc-c/./configure -prefix=/opt make make install Don't forget the -prefix=/opt to specifiy you want to install your package. When compiling from source, you run into the usual complation problems you can get with linux (libraries/includes not found etc.). It gets even more annoying because default stuff does not work well anymore (package manager is not where expected etc), and sometimes you end up having to specify the complie flags yourself.
3.4 Add Demo Support Cmd for tiff deskew Support Select All Support Import and Export Support Command Line Support TIF/TIFF files. 3.3 Add Demo Support Cmd for tiff deskew Support Select All Support Import and Export Support Command Line Support TIF/TIFF files. A pdf deskew keygen torrent.
For example, I recently had to edit the configure script of a source tarball to add: sigcLIBS='-L/opt/lib/ -lsigc-2.0 -L/lib/' sigcCFLAGS='-I/opt/usr/include/sigc-2.0/ -I/opt/usr/lib/sigc-2.0/include -I/opt/include/ncurses' libcurlLIBS='-L/opt/lib/ -lcurl' libcurlCFLAGS='-I/opt/include/' libtorrentLIBS='-L/opt/lib/ -ltorrent' libtorrentCFLAGS='-I/opt/include/' -dev packages can be difficult to find with ipkg, this is where you often need to get a.deb package or compile the library from source just to get the header files right. Conclusion As you noticed, it is just a matter of using the tools (and using them right). It just gets a little bit more complicated because the usual package manager does not work out of the box, the procedure is unsupported by the hardware vendor and precompiled packages can be difficult to find for armel. Actually, I may have an interest in the package so I looked into it a bit.
In this case, you can run: /opt/bin/ipkg-opt files sabnzbdplus after installing. You'll see that the soft is in: /opt/share/SABnzbd# do cd /opt/share/SABnzbd./SABnzbd.py -s 0.0.0.0:8080 to start you need to put 0.0.0.0 so that the web service can be accessed from other computers (it is just accessible locally otherwise). Then, point your browser to or even you might want to look at: for the startup scripts and Sickbeard/Couchpotato install.
Johan wget -passive-ftp -P /tmp/ -2012-05-18 14:52:00- Resolving ipkg.nslu2-linux.org. 140.211.169.161 Connecting to ipkg.nslu2-linux.org 140.211.169.161 :80. HTTP request sent, awaiting response. 200 OK Length: 517504 (505K) text/plain Saving to: `/tmp/Packages' 100% 517,504 387K/s in 1.3s 2012-05-18 14:52:03 (387 KB/s) - `/tmp/Packages' saved 504 Johan. I suppose you have an IOMEGA storcenter. Did you look at my tutorial:? You need to add your command to /opt/init-opt.sh to have it start automatically at boot.
Rc2.d is not run at boot in an IOMEGA storcenter. All the config files have to be in /opt: most of the file system is cleaned/refreshed on reboot.
Where were the files that are gone? Are you saying that /opt/bin/unzip is gone? If you are just typing unzip at the invite, make sure /opt/bin is in the PATH (to do that, PATH=$PATH:/opt/bin). I don't have unrar on my system, but I guess the problem is the same. Anonymous Thanks, another problem occured after the tut.
Iomega Storcenter Ix2 Software
From 1) after editing the sohoprocs the ix4 wont but up anymore and hangs on 75%. I can restore from usb stick and it wil work again. Tried it several times now als i with other firmware but stil crashes at 75%. 3) where exactly do i put the path command? If i do this in cosole and i close the console, the patch is gone after reboot.
2)if the path is set, the programs wil work. But settings still wont be saved. The files are in /opt/.
I'am just looking into linux the past 2 days, its al new to me. Finally i decided what i want to do with my ix2, but i am somehow stuck. I am trying to set up a mysql server. So far i have been able to install it and i copied the startup-script to /etc/init.d/mysql.server update-rc.d mysql.server defaults created the correct symlinks, calling the script manually /etc/init.d/mysql.server start starts the server just fine, but booting won't. /opt/bin is not added to PATH either, but the script should do it by PATH=/sbin:/usr/sbin:/bin:/usr/bin:/opt/bin:$PATH Any ideas what causes this? Starting the Server manually works, but doing so manually everyday (tiny appartement, NAS is shut down over night) can't be the only solution.
Anonymous Hi Vince, Please can you help me? I'm trying to install openjdk-6-jre-headless, openjdk-6-jre, openjdk-6-jdk following your clue but I'm receiving the following error: root@ix2-200:/var/cache/apt/archives# dpkg -instdir=/opt/ -admindir=/opt/dpkg/ -i openjdk-6-jre6b18-1.8.13-0+squeeze2armel.deb (Reading database. Dpkg: serious warning: files list file for package `openjdk-6-jre-headless' missing, assuming package has no files currently installed. Dpkg: serious warning: files list file for package `openjdk-6-jre' missing, assuming package has no files currently installed. 24210 files and directories currently installed.) Preparing to replace openjdk-6-jre 6b18-1.8.13-0+squeeze2 (using openjdk-6-jre6b18-1.8.13-0+squeeze2armel.deb). Dpkg (subprocess): unable to execute new pre-installation script: No such file or directory dpkg: error processing openjdk-6-jre6b18-1.8.13-0+squeeze2armel.deb (-install): subprocess pre-installation script returned error exit status 2 dpkg (subprocess): unable to execute new post-removal script: No such file or directory dpkg: error while cleaning up: subprocess post-removal script returned error exit status 2 Errors were encountered while processing: openjdk-6-jre6b18-1.8.13-0+squeeze2armel.deb Regards, Pierre.
I can't get past the last part of step 3. I don't have the cloud edition.
Its a problem with libidn.so.11? Can I install this manually? Root@NAS:/# /opt/bin/ipkg update Downloading wget: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory An error ocurred, return value: 1. Collected errors: ipkgdownload: ERROR: Command failed with return value 127: `wget -passive-ftp -q -P /opt/ipkg-ExgmfJ root@NAS:/# ipkg-opt install optware-devel Installing optware-devel (6.8-10) to root.
Downloading wget: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory Nothing to be done An error ocurred, return value: 22. Collected errors: ipkgdownload: ERROR: Command failed with return value 127: `wget -passive-ftp -q -P /opt/ipkg-o9cx3g Failed to download optware-devel.
Perhaps you need to run 'ipkg update'? Anonymous hi guy, I have a similar problem that: AQuablogMarch 30, 2013 at 6:57 PM at the stage: '4.
Install utilities and optware-devel'. An error ocurred, return value: 22. Collected errors: ipkgdownload: ERROR: Command failed with return value 127: `wget -passive-ftp -q -P /opt/ipkg-zA0d3x Failed to download libidn. Perhaps you need to run 'ipkg update'? - I try to fixe it with: ipkg install libidn but it doesn't work: root@storage:/# ipkg install libidn Installing libidn (1.25-1) to root. Downloading wget: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory Nothing to be done An error ocurred, return value: 22. Collected errors: ipkgdownload: ERROR: Command failed with return value 127: `wget -passive-ftp -q -P /opt/ipkg-qWMRlA Failed to download libidn.
Perhaps you need to run 'ipkg update'? Root@storage:/# do you have an idea?
Have a nice day.