Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:services:network_services:eduroam:linux_wpa_supplicant [2022/04/20 13:35] – [iwd] fketten | en:services:network_services:eduroam:linux_wpa_supplicant [2022/04/20 13:37] (current) – [iwd] fketten | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== eduroam with wpa_supplicant or iwd ====== | ||
+ | |||
+ | |||
+ | =======wpa_supplicant======= | ||
+ | =====Prerequisites===== | ||
+ | The following configuration is for using eduroam without graphical user interfaces. [[https:// | ||
+ | |||
+ | This has been tested with Ubuntu Linux 14.04 LTS, command-line installation. With other distributions paths and using the package manager / package installation may vary. | ||
+ | |||
+ | In order to use WLAN with WPA on the command line at least the packages [[http:// | ||
+ | |||
+ | To be able to connect to the internet after connecting to eduroam you need an active DHCP client. | ||
+ | =====Configuration===== | ||
+ | Add the following //network// block to your wpa_supplcant.conf. | ||
+ | |||
+ | network={ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | You have to enter the following parameters manually: | ||
+ | * ca_cert: the T-Telesec Global Root certificate (For Debian and Ubuntu the Path is "/ | ||
+ | * identity: your username as it can be found [[start# | ||
+ | * password: the corresponding password. | ||
+ | in order to test the wpa_supplicant it can be launched manually as root by | ||
+ | |||
+ | wpa_supplicant -i wlan0 -D wext -c / | ||
+ | |||
+ | " | ||
+ | |||
+ | If no user name and password is supplied in the wpa_supplicant.conf file, " | ||
+ | Enter the following lines to connect to eduroam: | ||
+ | |||
+ | identity 0 < | ||
+ | password 0 < | ||
+ | | ||
+ | =======iwd======= | ||
+ | Please use the following configuration tempate. Replace the identity and password accordingly. | ||
+ | Please note that the path to the certificate may differ by distribution. | ||
+ | |||
+ | |||
+ | [Security] | ||
+ | EAP-Method=PEAP | ||
+ | EAP-Identity=eduroam@gwdg.de | ||
+ | EAP-PEAP-CACert=/ | ||
+ | EAP-PEAP-Phase2-Method=MSCHAPV2 | ||
+ | EAP-PEAP-Phase2-Identity=user-name@uni-goettingen.de | ||
+ | EAP-PEAP-Phase2-Password=password | ||
+ | EAP-PEAP-ServerDomainMask=eduroam.gwdg.de | ||
+ | |||
+ | [Settings] | ||
+ | AutoConnect=True | ||
+ | |||
+ | |||
+ | Take note that - using this configuration - your password is saved in on your system in an unencrypted. You should take the appropriate measures to prevent that from causing any harm (i.e. change the user of the configuration file to root and change the read permissions to root only). |