Network/802.1X client settings
Network Manager
You can use the following config file:
Please note that some versions of NM are buggy and will only work with 802.1X using MSCHAPv2, or not at all. If that affects you, it may be easiest to use wpa_supplicant.
/etc/NetworkManager/system-connections/emfcamp:
[connection] id=emfcamp uuid=c80101e2-7b99-4511-846b-2388eb86a5ad type=wifi permissions= secondaries= [wifi] mac-address=42:23:42:23:42:23 <- !! Please change this !! mac-address-blacklist= mode=infrastructure seen-bssids= ssid=emfcamp [wifi-security] auth-alg=open group= key-mgmt=wpa-eap pairwise= proto= [802-1x] altsubject-matches=DNS:radius.emf.camp ca-cert=/etc/ssl/certs/StartCom_Certification_Authority.pem eap=ttls; identity=emfcamp password=emfcamp phase2-altsubject-matches= phase2-auth=pap [ipv4] dns-search= method=auto [ipv6] dns-search= method=auto
WICD
You need an additional crypto setting for WiCD. Put this file into /etc/wicd/encryption/templates/eap-ttls (debian systems, might be different with other *nix flavours):
name = EAP-TTLS emfcamp author = Felicitus require identity *Identity password *password ----- ctrl_interface=/var/run/wpa_supplicant network={ ssid="emfcamp" scan_ssid=$_SCAN identity="edward" password="snowden" proto=WPA2 key_mgmt=WPA-EAP group=CCMP pairwise=CCMP eap=TTLS ca_cert="/etc/ssl/certs/StartCom_Certification_Authority.pem" altsubject_match="DNS:radius.emf.camp" anonymous_identity="$_ANONYMOUS_IDENTITY" phase2="auth=PAP" #priority=2 }
Edit /etc/wicd/encryption/templates/active to include the eap-ttls config template. Restart the WiCD daemon, choose the proper encryption (EAP-TTLS emfcamp) and enter a random username/password.
Jolla/connman
/var/lib/connman/emfcampwifi.config :
[service_emfcamp] Type=wifi Name=emfcamp-legacy EAP=ttls Phase2=PAP Identity=edward Passphrase=snowden
wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplicant.conf :
network={ ssid="emfcamp" key_mgmt=WPA-EAP eap=TTLS identity="edward" password="snowden" # ca path on debian 7.x, modify accordingly ca_cert="/etc/ssl/certs/StartCom_Certification_Authority.pem" altsubject_match="DNS:radius.emf.camp" phase2="auth=PAP" }
interfaces
As an alternative, you can specify the wpa_supplicant config options directly in /etc/network/interfaces:
iface wlan0 inet dhcp wpa-ssid emfcamp wpa-identity edward wpa-password snowden wpa-proto WPA2 wpa-key_mgmt WPA-EAP wpa-group CCMP wpa-pairwise CCMP wpa-eap TTLS wpa-phase2 "auth=PAP" wpa-ca_cert "/etc/ssl/certs/StartCom_Certification_Authority.pem" wpa-altsubject_match DNS:radius.emf.camp
netctl
Description='emfcamp secure WPA2 802.1X config' Interface=wls1 Connection=wireless Security=wpa-configsection IP=dhcp ESSID=emfcamp WPAConfigSection=( 'ssid="emfcamp"' 'proto=RSN WPA' 'key_mgmt=WPA-EAP' 'eap=TTLS' 'identity="edward"' 'password="snowden"' 'ca_cert="/etc/ssl/certs/StartCom_Certification_Authority.pem"' 'altsubject_match="DNS:radius.emf.camp"' 'phase2="auth=PAP"' )
Apple MacOS / iOS
You can use one of these profiles for the correct WiFi-settings for Apple MacOS / iOS:
- [emfcamp] (5GHz only)
- [emfcamp-legacy] (2.4GHz only)
Windows
Import one of these profiles for the correct WiFi-settings for Windows
- [emfcamp] (5GHz only)
- [emfcamp-legacy)] (2.4GHz only)
To import and connect follow these steps:
- Open a command prompt and execute (or emfcamp-legacy.xml): netsh wlan add profile filename=emfcamp.xml
- Connect to the emfcamp or emfcamp-legacy network; use "emfcamp/emfcamp" as the username/password when prompted.