summaryrefslogtreecommitdiff
path: root/cs/Gentoo/wpa_supplicant.md
diff options
context:
space:
mode:
Diffstat (limited to 'cs/Gentoo/wpa_supplicant.md')
-rw-r--r--cs/Gentoo/wpa_supplicant.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/cs/Gentoo/wpa_supplicant.md b/cs/Gentoo/wpa_supplicant.md
new file mode 100644
index 0000000..2ba6ebd
--- /dev/null
+++ b/cs/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