Because I wanted more space I bought myself a whitelight which arrived the day before yesterday.
Enabling SSH was easy as was disabling Mionet.
Someone (anpe008) already complained my watchdog wasn't working on his system.
As it turned out, it was because of the system not having a full bash.
The system is running busybox and where the bluering has a symbolic link /bin/sh pointing to bash, this whitelight points to busybox.
This also means some commands are hashed on startup and changing $PATH to have /opt/bin:/opt/sbin first doesn't guarantee you'll be running the more enhanced optware versions….
I therefore wrote a script which will install optware on a virgin whitelight and install the necessary packages so you'll end up with a l"Linux box for grown-ups". For this I had the help of Alexx who compiled a bash that didn't depend on optware's bash nor its needed libraries.
Besides installing bash and optware it will also install the necessary packages to run advanced scripts without awkward error messages..
It patches some minor flaws like the group write permission on the /root directory. The ssh-server doesn't like this when you have your ~/.ssh/authorized_keys there. It will also install cron and a directory structure in /etc which will make it easy for you to schedule a script (just place it in the appropriate directory). To minimize clutter in /var/log/messages I chose to run a 15-minute cronjob for cleaning that up. On my bluering I replaced the syslog with syslog-ng to prevent these annoying messages.
Although I took many precautions (most work went into checking if something failed) you are using this script at your own risk.
I ran it many times myself and there are no known issues to my knowledge….
Well….. Here it is…
wget -O prep_whitelight http://wd.mirmana.com/prep_whitelight sh prep_whitelight
PS Some parts are hosted on my own system. Who should I ask to store data here "http://mybookworld.wikidot.com/local--files/optware/"??