Skip to content

Instantly share code, notes, and snippets.

@fluffy
Created March 13, 2019 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fluffy/e2a202a0816299d519dabf7bbed2f7bb to your computer and use it in GitHub Desktop.
Save fluffy/e2a202a0816299d519dabf7bbed2f7bb to your computer and use it in GitHub Desktop.
Example Netplan.io config file for wired 802.1x
network:
version: 2
renderer: networkd
ethernets:
enp4s0:
auth:
key-management: 802.1x
method: ttls
identity: fluffy@example.com
password: hash:83...b11
dhcp4: true
@fluffy
Copy link
Author

fluffy commented Mar 13, 2019

For this file to work, you need to fix a bug in netplan.io in how it generates the password but if you change the password to one that is not hashed like "MySecret" then it will work with a current version of netplan but not the version shipped with Ubuntu 18.04.02 on March 13, 2019.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment