Skip to content

Instantly share code, notes, and snippets.

@jamesob
Created October 24, 2022 12:22
Show Gist options
  • Save jamesob/c8af9f8912d93b358866f198b7e60855 to your computer and use it in GitHub Desktop.
Save jamesob/c8af9f8912d93b358866f198b7e60855 to your computer and use it in GitHub Desktop.
How to connect to WeWork's 802.1x wifi network (WeWorkWifi) with NetworkManager on Linux
# Go to wifi.we.co to get your credentials first
% nmcli con add con-name wework type wifi ssid WeWorkWiFi
% nmcli con edit wework
nmcli> set ipv4.method auto
nmcli> set 802-1x.eap peap
nmcli> set 802-1x.identity <YOUR_EMAIL>
nmcli> set 802-1x.phase2-auth mschapv2
nmcli> set wifi-sec.key-mgmt wpa-eap
nmcli> set 802-1x.password <YOUR_PASSWORD>
nmcli> save
Connection 'wework' (...) successfully updated.
nmcli> quit
% nmcli c up wework
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment