The Optware

DISCLAIMER: This walkthrough is solely for my reference. If you fuck-up anything doing it, you are on your own ! Love, peace and best wishes.

Back to revival

The Installation

  • Get the bootstrap for the ds106 from here take the script called ds101-bootstrap_1.0-4_powerpc.xsh and copy it to your ds106. Open the explorer enter the string \\<ip-of-your-ds106-nas> as address press enter and you should see your ds106 shares. Copy the script into the public share. Your address bar might contain something like \\<ip-of-your-ds106-nas>\public
  • When the script is there log into your ds106 via ssh. To finnish the next steps you have to have internet connectivity from the ds106.
cd /volume1/public/
./ds101-bootstrap_1.0-4_powerpc.xsh
  • Then you see text coming like this
DS-10x Bootstrap extracting archive... please wait
bootstrap/
bootstrap/bootstrap.ipk
bootstrap/bootstrap.sh
bootstrap/ipkg.ipk
bootstrap/ipkg.sh
bootstrap/openssl.ipk
bootstrap/wget-ssl.ipk
10271+1 records in
10271+1 records out
Creating temporary ipkg repository... success
Installing DS101(g)-bootstrap package...Unpacking bootstrap.ipk...Done.
Configuring bootstrap.ipk...Regenerating dynamic linker cache...
/opt/sbin/ldconfig: /lib/libcom_err.so.2 is not a symbolic link

/opt/sbin/ldconfig: /lib/libuuid.so.1 is not a symbolic link

/opt/sbin/ldconfig: /lib/libss.so.2 is not a symbolic link

/opt/sbin/ldconfig: /lib/libext2fs.so.2 is not a symbolic link

/opt/sbin/ldconfig: /lib/libblkid.so.1 is not a symbolic link

/opt/sbin/ldconfig: /lib/libe2p.so.2 is not a symbolic link

Done.
 success
Installing IPKG package... (Ignore missing md5sum warning)
Unpacking ipkg.ipk...Done.
Configuring ipkg.ipk..../ipkg.sh: ./ipkg.sh: 1170: md5sum: not found
Done.
Removing temporary ipkg repository...
Installing OpenSSL..Installing openssl (0.9.7m-5) to root...
Configuring openssl
Successfully terminated.
 success
Installing wget-SSL...Installing wget-ssl (1.12-2) to root...
Nothing to be done
An error ocurred, return value: 1.
Collected errors:
ERROR: Cannot satisfy the following dependencies for wget-ssl:
     libidn

BusyBox v1.1.0 (2009.09.03-21:49+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Poseidon>
  • All is not lost. As it turns out this is just a minor annoyance. This is helpful. Change the bootstrap.sh script. Add those 3 lines with libidn.
echo -n "Installing OpenSSL.."
/opt/bin/ipkg install openssl.ipk || exit 1
echo " success"

echo -n "Installing libidn.."
/opt/bin/ipkg install libidn.ipk || exit 1
echo " success"

echo -n "Installing wget-SSL..."
/opt/bin/ipkg install wget-ssl.ipk || exit 1
echo " success"
  • Then do the umount and rm stuff in the post above. Keep the bootstrap directory thou.
  • Download a copy of the libidn file
cd ....../bootstrap
wget http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/stable/libidn_1.25-1_powerpc.ipk
mv libidn_1.25-1_powerpc.ipk libidn.ipk
  • Correct your path. Correct it also in the /root/.profile
export PATH=/opt/lib:/opt/bin:/opt/sbin:$PATH
  • Bootstrap again
./bootstrap.sh
  • Then you can continue with the commands ipkg update; ipkg upgrade
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware
Successfully terminated.
Nothing to be done
Successfully terminated.
  • Edit your ipkg.conf file with vi /opt/etc/ipkg.conf
  • Make it like the one below
#Uncomment the following line for native packages feed (if any)
src/gz native http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/stable
src/gz unative http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/unstable
src/gz optware http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/stable
src/gz uoptware http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/unstable
dest /opt/ /
#option verbose-wget
  • run the ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/native
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/unstable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/unstable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/unative
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/unstable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/unstable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/uoptware
Successfully terminated.
  • Thats it. Optware ir ready to be used.

Back to revival

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.