summaryrefslogtreecommitdiff
path: root/wiki/openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'wiki/openbsd')
-rw-r--r--wiki/openbsd/installation.mdwn40
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