Configure Optware

<note>First consider fallowing all the previous steps the WD MyBook World Edition Hacks tutorial</note> This chapter is based on MyBook WE Wiki

$ su -
# wget http://mybookworld.wikidot.com/local--files/optware/setup-optware.sh
# sh setup-optware.sh
# echo "/opt/lib" >>/etc/ld.so.conf
# ldconfig
# /opt/bin/ipkg update
# /opt/bin/ipkg list
# /opt/bin/ipkg list_installed
# /opt/bin/ipkg install <foo> <bar>

setup-optware.sh source

feed=http://ipkg.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable
ipk_name=$(wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}')
wget $feed/$ipk_name
tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
sed -i -e 's|/stable|/unstable|' /opt/etc/ipkg.conf