Install from scratch - setup
- get bad .TGZ files
- get INSTALL and regular kernels for z50
- partition card (Disk Utility, not through an iPod) 70mb MSDOS, the rest unused
- put the 0911.exe and kernels on the MSDOS partition
- put BASE, ETC, GAMES, TEXT, MAN TGZ files onto the MSDOS partition
- boot up z50 Hold shift down to prevent the setup wizard from running
- plug CF card in right slot
- run 0911.exe - "Storage Card/INSTALL" kernel, ibm Workpad z50 framebuffer
- installer will run
- Add a single NETBSD partition, consuming the rest of the CF card
- Change the swap size from 128mb to 64mb
- in the disklabel, make sure that the BSD partition is there, should be wd0a
- in the disklabel, make sure that MSDOS is there, should be wd0e
Install from scratch - file copying
- jump out to a shell - (e) Utility Menu, (a) run /bin/sh
- mount /dev/wd0a /mnt
- mount /dev/wd0e /mnt2
- cd /mnt
- tar zxvf /mnt2/BASE.TGZ (base install)
- tar zxvf /mnt2/ETC.TGZ (config files)
- tar zxvf /mnt2/GAMES.TGZ (games)
- tar zxvf /mnt2/TEXT.TGZ (text tools)
tar zxvf /mnt2/MAN.TGZ (second largest)
tar zxvf /mnt2/COMP.TGZ (compiler)
for other packages, do the same.
MISC.TGZ
XBASE, XCOMP, XETC, XFONT, XSERVER
- bare minimum: BASE, ETC, KERNEL
- or: BASE, ETC, KERNEL, MAN
restart. (sync, sync, sync, halt, press power button to turn off, press again)
- run 0911.exe again, pick "Storage Card/NETBSD" for the kernel
- might need to mount -f / to remount the root filesystem read-write
- cd /dev/
- ./MAKEDEV all
second boot
msdos partitions
- vi /etc/fstab
- make two entries for the right and left slots
- /dev/wd0e /mnt/msdosr msdos rw,noauto 0 0
- /dev/wd1e /mnt/msdosl msdos rw,noauto 0 0
- mkdir /mnt/msdosr /mnt/msdosl
- NOTE: if you have a card in the left slot on boot up, that will be wd0. eject media from the left slot on reboots!
make your user account
- mkdir /home
- adduser -m YOURUSERNAME
- passwd YOURUSERNAME
tweak tmp
- rm -r tmp
- ln -s var/tmp
- chmod 777 /var/tmp
hostname and such
- vi /etc/rc.conf
- rc_configured = YES
- no_swap="YES"
- hostname="YOURHOSTNAME"
- vi /etc/hosts
- add your hostname on the lines for ::1 and 127.0.0.1
misc
- vi ~/.cshrc
- alias x startx -- -dev /dev/ttyE0
- vi ~/.login
- x() { n startx -- -dev /dev/ttyE0 n }
pruning
- some unnecessary man pages were installed, remove them?
- /user/share/man/cat4/AMIGA/ etc
drives
It seems that if you have a cf card in the left slot, that becomes wd0, storage card 1, and the right slot becomes wd1, storage card 2
Turning on the network
Find which network to connect to
wiconfig wi0 -D
Connect to a specific SSID(NETWORKNAME)/Password(NETWORKKEY)
ifconfig wi0 ssid NETWORKNAME nwkey NETWORKKEY
ifconfig wi0 192.168.1.244
ifconfig wi0 up
Check the route tables
route -n show
If you need the default route;
route add default 192.168.1.1
Turn off wifi
ifconfig wi0 down
Or, configure DHCP like this
NetBSD package stuff
Once the network is up;
% export PACKAGEROOT=ftp://ftp.netbsd.org
% pkg_add -v -r package name