Thursday, September 09, 2010

optware Installation on TS-101

With optware installed on the turbostation you can manage additional packages easily.
This post follows the post from glomde but add some corrections while doing it at the same time.

1. Change /opt location

a. create a /mnt/HDA_ROOT/opt directory
mkdir /mnt/HDA_ROOT/opt

b. edit your autorun.sh (see previous post for that) and add the following lines
if [ -d /opt ]; then rmdir /opt; fi
if [ -e /opt ]; then true; else ln -sf /mnt/HDA_ROOT/opt /opt

c. reboot your TS

2. Get and install latest ipkg. Currently the below is latest
a. find the name of the lattest version

cd /tmp
wget http://ipkg.nslu2-linux.org/feeds/optware/ts101/cross/unstable
grep "ipkg-opt" index.html | grep "powerpc\.ipk"

at the time of this post, the result was ipkg-opt_0.99.163-10_powerpc.ipk

b. download it
wget http://ipkg.nslu2-linux.org/feeds/optware/ts101/cross/unstable/ipkg-opt_0.99.163-10_powerpc.ipk
tar -zxOf ipkg-opt_0.99.163-10_powerpc.ipk ./data.tar.gz | tar -zx -C /

c. Configure it

echo src ts101a http://sources.nslu2-linux.org/feeds/optware/ts101/cross/stable/ >> /opt/etc/ipkg.conf
echo src ts101b http://ipkg.nslu2-linux.org/feeds/optware/ts101/cross/unstable >> /opt/etc/ipkg.conf

3. Backitup
cd /share/Public
tar -cf backup.tar /opt

0 Comments:

Post a Comment

<< Home