Root access and ssh is enabled.
OK for chroot it is worth googling and having a read up on it. I liken it to the old dos box in Windows, i.e. you can start a new session within Windows that uses a different set of libraries (or OS even). In our case it allows you run another linux session but using the debain libraries and binaries.
You will also need to check how much disk space you have under sda9 (I think it is sda9 - I don't have my NS2 in front of me) the main partition where you ssh into the wireless space. The sda9 partition under the NS2 is about 841.5M and had about 777.8M free. This was OK for the first install I did but I went back and created another partition later to allow more space - I can check this when I next have access to my NS2 and will post back.
First step is to prepare the debian installation. As you have Ubuntu running under VMWare you can run the following in Ubuntu
sudo debootstrap --arch=armel --foreign squeeze debian
sudo tar cvf debian.tgz debian
You will probably need to install debootstrap first. Next copy debian.tgz to OpenShare on the wireless space.
On the wireless space, ssh in and create root folder for the Debian install. (Do this from the root folder - cd /)
Install the debian files
tar xvf /shares/OpenShare/debian.tgz
Now chroot into Debian - you do this each time to chroot into Debian. When you exit the chroot remember to umount.
mount /proc /debian/proc
mount /sys /debian/sys
mount /oldroot/dev/ /debian/dev
Complete the installation
You should see...
I: Installing core packages...
I: Base system installed successfully.
Bit of cosmetics – bit more obvious when we are in the chroot
echo 'PS1="squeeze:\w# "' >> ~/.bashrc
You can type exit to leave the chroot and return to the lacie linux environment.
Renter chroot – nicer look and feel now with scroll command history on the arrow keys
chroot debian /bin/bash -login
This is all from the poor notes I took when I did the install.
I need to check which version of Squeezebox server I installed. I can't recall if it was 7.5.3 or 7.5.2. One worked the other didn't. To install squeezebox server download and copy squeezeboxserver_7.5.3_all.deb to OpenShare and then run
dpkg -i /shares/OpenShare/squeezeboxserver_7.5.3_all.deb
This should give you enough to be going on with for the moment. Post back how you get on. I can then post the very rough scripts I use to start squeezebox server and how to automatically launch at startup
I have previously fixed Twonky access and enabled Transmission webaccess.
I would recommend turning off Twonky until you get Squeezebox server up and running as they both use port 9000. SB can be easily configured to run on another port later.
Also, is this something I have to do just to be able to install Squeezebox, or is it something that become persistant ?
And if so, does it affect any other functionallity on the Wireless Space ?
The files you install are persistant, but the chroot debian session is only persistant for the squezebox server process. I believe all the other functionality is retained. The web interface is still there. I use the eco settings to power down the box over night. Sometimes I cannot see the shares so I just start and stop ftp services through the web interface and the shares appear once more. Without doubt my scripts could be much better but it all seems to work OK and I have not had any squeezebox server crashes. I can't recall if I had a widget to set time from the internet. If I did it is not there now! There is no reason why the lacie services and debian chroot can't co-exist.