summaryrefslogtreecommitdiff
path: root/wiki/openbsd
diff options
context:
space:
mode:
authorbt <bt@web>2024-04-10 12:27:06 -0500
committerIkiWiki <ikiwiki.info>2024-04-10 12:27:06 -0500
commit1adedea41224b0ceb12bb6d05c94d7793c768ac4 (patch)
tree165a93a65ac784490a26ac2e94458d4c5a8e8c35 /wiki/openbsd
parent32f0e8fba456714663d07ab4e71b30802ac45513 (diff)
Diffstat (limited to 'wiki/openbsd')
-rw-r--r--wiki/openbsd/installation.mdwn11
1 files changed, 5 insertions, 6 deletions
diff --git a/wiki/openbsd/installation.mdwn b/wiki/openbsd/installation.mdwn
index ca0957e..30ea13a 100644
--- a/wiki/openbsd/installation.mdwn
+++ b/wiki/openbsd/installation.mdwn
@@ -65,13 +65,12 @@ Simply run the command: `fw_update`
To enable wifi on your device, run the following command (filling in the proper details where need be)
- ifconfig iwn0 nwid ID wpakey PASSPHRASE
+ echo "join WIFI-NAME wpakey PASSPHRASE" >> /etc/hostname.iwn0
+ echo "dhcp" >> /etc/hostname.iwn0
+ echo "inet6 autoconf" >> /etc/hostname.iwn0
+ echo "up powersave" >> /etc/hostname.iwn0
-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.
+Take note of the `iwn0`, as this might differ on your machine. (You can check this my running `ifconfig`)
You might also need to run `doas sh /etc/netstart` after.