The wireless network needs some sort of firmware which I downloaded from the net and saved on an USB stick. See
man bwi for the location. Anyway, now I needed to get the package from the stick onto the laptop.
I don’t understand why i is relevant, but this  worked:
mount -t msdos /dev/sd0i /mnt/stick
I kept trying sd0a…
I added the following line to
/dev/sd0i /mnt/stick msdos rw,noauto 0 0
mount /mnt/stick will work from now on.
Back to the network! With
pkg_add bwi-firmware-1.4.tgz finally available I installed the firmware for the Airport wireless card in my old iBook.
ifconfig to verify that bwi0 is your wireless interface. Use
ifconfig bwi0 scan to list the networks available and find yours.
Now the WPA stuff for my Schroeder network…
ifconfig bwi0 nwid Schroeder wpa wpapsk `wpa-psk Schroeder "*secret*"` ifconfig bwi0 up dhclient bwi0
And it seems to work. I can
ping www.google.com – win!
Thus, I removed any
/etc/hostname.* files that didn’t work and created a single
/etc/hostname.bwi0 file containing the following line:
dhcp nwid Schroeder wpa wpapsk `wpa-psk Schroeder "*secret*"`
I’m surprised it works!
kbd -llists de and others, but no Swiss German layout → update Apparently sg stands for Swiss German!
Luckily I’ve used US keyboards before, and I’ve used vi before.
echo sg > /etc/kbdtype – apparently I can use wsconsctl to remap more keys.
Apparently there are no virtual terminals because there’s no VGA card, but there’s an alternative to GNU screen: tmux.
I realized that there are two levels of packages: 1. binary packages 2. the ports system. I started by setting
PKG_PATH=ftp://mirror.switch.ch/pub/OpenBSD/4.6/packages/`machine -a`/:ftp://ftp.wu-wien.ac.at/pub/OpenBSD/4.6/packages/`machine -a`/:ftp://ftp.OpenBSD.org/pub/OpenBSD/4.6/packages/`machine -a`/ in my
In order to test this, I decided to run
sudo pkg_add -v mutt.
At the same time I feel like setting up the ports system by downloading
Need Firefox and Emacs!