From 1adedea41224b0ceb12bb6d05c94d7793c768ac4 Mon Sep 17 00:00:00 2001 From: bt Date: Wed, 10 Apr 2024 12:27:06 -0500 Subject: --- wiki/openbsd/installation.mdwn | 11 +++++------ 1 file 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. -- cgit v1.2.3-54-g00ecf