summaryrefslogtreecommitdiff
path: root/Technology/Gentoo/wpa_supplicant.md
diff options
context:
space:
mode:
authornic <ra@afu.re>2024-07-12 13:58:52 -0400
committernic <ra@afu.re>2024-07-12 13:58:52 -0400
commitd9457a3aa4ca86be1b7db164537210f152d8eb1b (patch)
tree679684f19c0bcb62c753c789d12777d5dbea3f86 /Technology/Gentoo/wpa_supplicant.md
Initial commit
Diffstat (limited to 'Technology/Gentoo/wpa_supplicant.md')
-rw-r--r--Technology/Gentoo/wpa_supplicant.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/Technology/Gentoo/wpa_supplicant.md b/Technology/Gentoo/wpa_supplicant.md
new file mode 100644
index 0000000..2ba6ebd
--- /dev/null
+++ b/Technology/Gentoo/wpa_supplicant.md
@@ -0,0 +1,20 @@
+first figure out name of wifi device
+
+wlp2s0
+
+vim /etc/wpa_supplicant/wpa_supplicant-wlp2s0.conf
+>>
+# Allow users in the 'wheel' group to control wpa_supplicant
+ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
+
+# Make this file writable for wpa_gui / wpa_cli
+update_config=1
+
+SYSTEMESD
+
+wpa_passphrase $NAME_WIFI $PASSWORD >> /etc/wpa_supplicant/wpa_supplicant-wlp2s0.conf
+
+sudo sh -c 'wpa_passphrase "SYSTEMESD" "4506550808" >> /etc/wpa_supplicant/wpa_supplicant-wlp2s0.conf'
+
+
+wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant-wlp2s0.conf