From 9042a3cad4cf7bd69cf9e658406c6a7548d5c046 Mon Sep 17 00:00:00 2001 From: bt Date: Wed, 10 Apr 2024 06:53:53 -0500 Subject: --- wiki/openbsd/installation.mdwn | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/wiki/openbsd/installation.mdwn b/wiki/openbsd/installation.mdwn index f3a800a..649bdc6 100644 --- a/wiki/openbsd/installation.mdwn +++ b/wiki/openbsd/installation.mdwn @@ -43,3 +43,43 @@ Make sure you have the latest OpenBSD image formatted on your USB device and tha 27. Location of sets? `done` 28. Congrats! 29. Reboot and remove USB device + +## First Boot Tweaks + +### User Permissions + +Before we do anything, we should give our main user full access via `doas`. Login as `root` and run the following: + + echo "permit nopass :wheel" >> /etc/doas.conf + +Now you can logout or reboot the machine. + +### Firmware + +Once your machine reboots, login as your created user. The next steps will help you ensure you have the latest firmware. + +Simply run the command: `fw_update` + + +### WiFi + +To enable wifi on your device, run the following command (filling in the proper details where need be) + + ifconfig iwn0 nwid ID wpakey PASSPHRASE + +An example for reference: + + ifconfig iwn0 nwid wifi_name wpakey my_secure_password + +Take note of the `iwn0`, as this might differ on your machine. + +You might also need to run `doas sh /etc/netstart` after. + + +### Performance Boost + +This step is optional and targeted towards devices with batteries (obviously). Properly setup apmd: + + rcctl enable apmd + rcctl set apmd flags -A + rcctl start apmd -- cgit v1.2.3-54-g00ecf