Comment 127 for bug 272185

Revision history for this message
Jan Van Besien (janvanbesien) wrote :

I compared my working wpa_supplicant file with the config that networkmanager generates (according to the log) like suggested in comment 101. There are a lot of differences, but I was able to pinpoint on the "phase2" property. My working wpa_supplicant file looks like this (password changed):

ctrl_interface=/var/run/wpa_supplicant
network={
      ssid="NEWTEC_CORP"
      mode=managed
      proto=WPA
      key_mgmt=WPA-EAP
      auth_alg=OPEN
      pairwise=TKIP
      eap=PEAP
      phase2="auth=EAP-GTC"
      identity="jvb"
      password="mypassword"
}

When I add the phase2 value like networkmanager generates it, it no longer works:

ctrl_interface=/var/run/wpa_supplicant
network={
      ssid="NEWTEC_CORP"
      mode=managed
      proto=WPA
      key_mgmt=WPA-EAP
      auth_alg=OPEN
      pairwise=TKIP
      eap=PEAP
      phase2="auth=EAP-GTC"
      identity="jvb"
      password="mypassword"
      phase2="auth=MSCHAPV2"
}

auth=MD5 doesn't work either.

Attached is the log of wpa_supplicant with the config file that doesn't work (with phase2 parameter)