openBSD configuration
I'm experimenting regularly to setup openBSD as a desktop OS.
Configure wifi
ifconfig iwn0 up ifconfig iwn0 scan ifconfig iwn0 nwid SSID_name wpakey "password" dhclient iwn0 # make it permanent # create /etc/hostname.iwn0 # add more join commands to connect with priority join "SSID" wpakey "password" dhcp inet6 autoconf up powersave
Configure apmd for laptop
rcctl enable apmd rcctl set apmd flags -A rcctl start apmd
Other configurations
# Enable xenodm on startup rcctl enable xenodm # Configure desktop ~/.xsession for xenodm autostart ~/.xinitrc for startx # Configure doas echo 'permit username' > /etc/doas.conf # Touchpad fixes ## /etc/wsconsctl.conf mouse.tp.tapping=1 mouse.reverse_scrolling=1
Updates
syspatch
Mount USB drive
# Mounting USB flash drive sysctl hw.disknames disklabel sd2 mount /dev/sd2i /mnt/usb
Configuration files
- /etc/hostname.iwn0
- /etc/wsconsctl.conf
- ~/.xsession
- ~/.cwm
Resources
- https://www.c0ffee.net/blog/openbsd-on-a-laptop
- https://romanzolotarev.com/openbsd/install.html
- Setup OpenBSD at thinkpad x240 - Jacek Kowalczyk @ IT World
- https://dataswamp.org/~james/openbsd.html
- https://www.openbsdhandbook.com
- https://www.bsdhowto.ch/