diff options
author | bt <bt@web> | 2024-04-10 06:53:53 -0500 |
---|---|---|
committer | IkiWiki <ikiwiki.info> | 2024-04-10 06:53:53 -0500 |
commit | 9042a3cad4cf7bd69cf9e658406c6a7548d5c046 (patch) | |
tree | 38c72a335c957e6fb421c270873087c6b8c3593f | |
parent | fede4b707f904f3e11a3b0c95e62f3c259f9e545 (diff) |
-rw-r--r-- | wiki/openbsd/installation.mdwn | 40 |
1 files changed, 40 insertions, 0 deletions
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 |