this is obsolete doc -- see http://doc.nethence.com/ instead

Setting up NetBSD for desktop use 

 

Setting up WPA encrypted wireless network 

vi /etc/wpa_supplicant.conf 

network={ 

ssid="SSID_HERE" 

psk="WPA_KEY_HERE" 

vi /etc/rc.conf 

wpa_supplicant=YES 

wpa_supplicant_flags="-B -i wpi0 -c /etc/wpa_supplicant.conf" 

dhclient=YES 

dhclient_flags="-nw wpi0" 

 

Setting up Xorg 

cd /etc/X11 

Xorg -configure 

mv /root/xorg.conf.new xorg.conf 

vi xorg.conf 

[...] 

Section "InputDevice" 

Identifier "Keyboard0" 

Driver "kbd" 

option "xkblayout" "fr" 

EndSection 

[...] 

Section "InputDevice" 

Identifier "Mouse0" 

Driver "mouse" 

Option "Protocol" "wsmouse" 

Option "Device" "/dev/wsmouse" 

Option "ZAxisMapping" "4 5 6 7" 

EndSection 

Note. no need to change perms on /dev/wsmouse* since Xorg is suid root.