User Tools

Site Tools


c-services:wlan-c-base-crew-wpasupplicant

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
c-services:wlan-c-base-crew-wpasupplicant [2014/11/11 00:52]
xen created
c-services:wlan-c-base-crew-wpasupplicant [2016/01/14 23:06]
return
Line 1: Line 1:
-Create a file **/etc/wpa_supplicant/c-base-crew.conf** with this content (change $crewname and $password to your crew name and password):+Zertifikat runterladen 
 +<code bash> 
 +wget -O /etc/ssl/certs/​cacert.org.pem https://​www.cacert.org/​certs/​root.crt 
 +</​code>​
  
 +Create a file **/​etc/​wpa_supplicant/​c-base-crew.conf** with this content (change $crewname and $password to your crew name and password):
 +<​code>​
   network={   network={
-      ​ssid="​c-base-crew"​ +    ​ssid="​c-base-crew-5ghz
-      key_mgmt=WPA-EAP +    key_mgmt=WPA-EAP 
-      eap=PEAP +    eap=PEAP 
-      identity="​$crewname"​ +    identity="​$crewname"​ 
-      password="​$password"​ +    password="​$password"​ 
-      ca_cert="/​etc/​ssl/​certs/​cacert.org.pem"​ +    ca_cert="/​etc/​ssl/​certs/​cacert.org.pem"​ 
-      subject_match="​C=DEST=BerlinL=BerlinO=c-base e.V.CN=wlan.cbrp3.c-base.org"​ +    subject_match="​/C=DE/ST=Berlin/L=Berlin/O=c-base e.V./CN=wlan.cbrp3.c-base.org"​ 
-  }+    ​phase2="​auth=MSCHAPV2"​ 
 +}
  
 +</​code>​
 And start it with: And start it with:
  
 +<code bash>
   wpa_supplicant -D wext -i wlan0 -c /​etc/​wpa_supplicant/​c-base-crew.conf   wpa_supplicant -D wext -i wlan0 -c /​etc/​wpa_supplicant/​c-base-crew.conf
 +</​code>​
 +
 +===== Debugging =====
 +<code bash>
 +  wpa_supplicant -D wext -i wlan0 -c /​etc/​wpa_supplicant/​c-base-crew.conf -ddd
 +</​code>​
 +==== Zertifikate Testen ====
 +Die Zeilen **ca_cert** und **subject_match** entfernen oder auskommentieren und das ganze noch einmal probieren. Sollte die Verbindung dann klappen bitte noch einmal prüfen ob man das richtige CaCert Zertifikat heruntergeladen hat. Falls ja an <​uk@c-base.org>​ melden.
c-services/wlan-c-base-crew-wpasupplicant.txt · Last modified: 2021/11/23 20:39 by uk