Skip to content

Instantly share code, notes, and snippets.

@CodeAsm
Forked from Moelf/eduroam.8021x
Last active September 19, 2022 09:00
Show Gist options
  • Save CodeAsm/86d7731d7a02cc26bb12d29c87c2f8ec to your computer and use it in GitHub Desktop.
Save CodeAsm/86d7731d7a02cc26bb12d29c87c2f8ec to your computer and use it in GitHub Desktop.
Hogeschool van Amsterdam Secure and eduroam config for iwd/iwctl
[Security]
EAP-Method=PEAP
[email protected]
EAP-PEAP-CACert=/var/lib/iwd/usertrustrsaca.cer
EAP-PEAP-Phase2-ServerDomainMask=radius.hva.nl
EAP-PEAP-Phase2-Method=MSCHAPV2
EAP-PEAP-Phase2-Identity=[HVA ID]@hva.nl
EAP-PEAP-Phase2-Password=[password]
[Settings]
AutoConnect=true
@CodeAsm
Copy link
Author

CodeAsm commented Sep 19, 2022

  1. go to https://cloud.securew2.com/public/23465/eduroam/?device=Non-specific%20OS

  2. Download .p12 file and put it somewhere not under /home

  3. Download .cer certification file and put it somewhere not under /home

  4. make sure to sudo chmod 600 these two files.

  5. make sure to sudo chown root these two files.

  6. put the above content into sudoedit /var/lib/iwd/hva.8021x

  7. sudo chmod 600 /var/lib/iwd/hva.8021x

  8. sudo chown root /var/lib/iwd/hva.8021x

done:

systemctl restart iwd.service 
iwctl station wlan0 connect hva

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