Created
August 14, 2019 03:30
-
-
Save ackerleytng/e12285e950ffeebc9ae22c49ae46a283 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description='Sample netctl config for Wireless@SGx' | |
Interface=wlp2s0 | |
Connection=wireless | |
Security=wpa-configsection | |
ESSID=Wireless@SGx | |
IP=dhcp | |
WPAConfigSection=( | |
'ssid="Wireless@SGx"' | |
'key_mgmt=WPA-EAP' | |
'eap=PEAP' | |
'identity="<username, like [email protected]>"' | |
'password="<password>"' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're just using wpa_supplicant with systemd-networkd for example, just use the part from
WPAConfigSection
, like - insert this block into/etc/wpa_supplicant/wpa_supplicant-wlp2s0.conf
.Then, trigger this to take effect by restarting
wpa_supplicant
:Check for errors with
wpa_supplicant-<interface>.conf
only allows the use of double quotes for strings (not single quotes)