Customisation of OpenZaurus 3.5.1
This page covers the things I have changed/altered from the default
OpenZaurus 3.5.1 install to suit my own needs. I've jotted this down
mostly to aid my own faltering memory, but others might find the odd
useful morsel here and there.
For the NetGear MA701 CF Wifi card, add the following to /etc/pcmcia/hostap_cs.conf:
card "NETGEAR" "MA701 Wireless CF Card"
manfid 0xd601, 0x0002
Change the root password to something stronger than rootme
Add the following to /root/.profile:
# This makes backspace work in Vi:
stty erase ^?
# These are just 'cause I'm lazy...
alias d='ls -aF'
alias da='ls -alF'
Get the ssh keys onto it for easier access (yes, these are my public keys)
mv agittins.pub authorized_keys
Make sure Opie is dead and the SD mounted, then create this script and run it to move
some things onto SD.
echo "Moving /home and /opt to your SD card..."
echo "Archiving /home and /opt to the SD card, this will take a while..."
rm -rf /mnt/card/system
rm -f /mnt/card/home.tar
rm -rf /mnt/card/opt.tar
tar cf /mnt/card/home.tar home
tar cf /mnt/card/opt.tar opt
echo "Unpacking files into SD, this will take a while..."
tar xf ../home.tar
tar xf ../opt.tar
echo "Replacing /home and /opt, this will take a while..."
rm -rf home; ln -sf /mnt/card/system/home
rm -rf opt; ln -sf /mnt/card/system/opt
(This script came courtesy of
Do Not reboot yet - there's a bug that will wipe the library symlinks...
Whack these lines into /etc/ipkg.conf
src opie-feed http://openzaurus.org/official/unstable/3.5.1/feed
src opie-updates http://openzaurus.org/official/unstable/3.5.1/upgrades
option http_proxy http://cancerman:3128
And issue an "ipkg update" to get the latest feed listings.
Do an ipkg upgrade to get the latest and greatest of all things. Note that busybox fails, will take care of that in a tick. The update of sd-sdmmc-support should have fixed the symlink/lib issue now, so probably safe to reboot, but let's make sure busybox, makedevs and modutils are going to play nice first - getting this wrong send you straight back to go, do not collect 200 bricks, reflash.
Busybox (as of this writing, 2004/10/14) installs some files that conflict with modutils and makedevs. As such we need to forcibly install busybox, then forcibly re-install the other two if we hope to avoid bricksville on the next reboot.
ipkg -force-overwrite upgrade
ipkg -force-overwrite -force-reinstall install modutils
ipkg -force-overwrite -force-reinstall install makedevs
Modutils will complain about linking to an existing file (/etc/rcS.d/S20modutils) which is fine, and other
than that you should not get any errors there. If so, you are probably safe to reboot now.
Next is to sort out gui package management - for now the opie one is not quite production quality, so I prefer to
revert back to the old one.
ipkg remove opie-packagemanager
ipkg install opie-aqpkg
This will also pull down dependency libstdc++6 if you haven't got it already. From here on it you can use the gui package manager if you feel more comfortable with it.
Copy across /usr/share/timezone/Australia/Brisbane for apps like
citytime and ntp. Do the same for any other locales you might care for.
The files can come from any other Linux box. Then you might want to:
Install the timezones package - ipkg install timezones, then...
ln -s /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
Good place to reboot and play for a bit
Some packages I install first off - this is a good time to set the destination to SD rather than root :-)
- opie-keypebble (vnc client)
- opie-mail (for imap)
- opie-tetrix (of course!)
- opie-wellenreiter - this app has gone leaps and bounds since OZ3.2, for sure try it - better than kismet on Z
(tip from oz list, may be useful for opera if you don't get icons). Haven't
done/tried/needed this myself just yet:
ln -sfn /opt/QtPalmtop/opera /usr/share/
2004/11/24: Another tip from the Oz list. I was getting lockups/hangs on every second resume (!#@$!). Removing opie-wirelessapplet seems to have fixed that now. This was causing major MAJOR issues for me (read - not useful as a PDA) so hopefully life will be better organised now :-)