I have been trying to solve this exact problem with "eduroam" since getting my Rasperry Pi 4 and flashing Raspbian Buster for it. This has so far been the only solution I have gotten to work so I'm going to post instructions here and link to this topic from a few other places.
My /etc/wpa_supplicant/wpa_supplicant.conf file contains the following settings:
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="eduroam"
scan_ssid=1
key_mgmt=WPA-EAP
eap=PEAP
identity="*****@*****.edu"
password=hash:**************************************
phase1="peaplabel=auto peapver=auto"
phase2="auth=MSCHAPV2"
}
Take the following steps to install the Stretch version of wpa_supplicant (2:2.4-1+deb9u4):
Create the following apt preference files:
/etc/apt/preferences.d/stretch.pref:
Code: Select all
Package: *
Pin release n=stretch
Pin-Priority: 750
/etc/apt/preferences.d/buster.pref:
Code: Select all
Package: *
Pin release n=buster
Pin-Priority: 900
Create the following apt list file:
/etc/apt/sources.list.d/stretch.list:
Code: Select all
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
Update the apt lists, double check that the stretch version is available, then install the stretch version over the buster version. I don't know if the version number might change for the Stretch release... if so, just copy it from the output of the
apt-cache command and paste it over the version number in the
apt-get install command
Code: Select all
sudo apt-get update
apt-cache policy wpasupplicant
sudo apt-get install wpasupplicant=2:2.4-1+deb9u4 -t stretch
*EDIT*
After installing the Stretch version of wpa_supplicant, you'll also want to put a version hold on it so that it doesn't get updated automatically when you perform other update/upgrade operations. You can do this using the following command:
If you need or want to remove the hold later do so with the similar command:
Code: Select all
sudo apt-mark unhold wpasupplicant
*/EDIT*
The fix involving adding the following entries into the
wpa_supplicant.conf file
DID NOT WORK for me.
Code: Select all
tls_disable_tlsv1_0=1
tls_disable_tlsv1_1=1
openssl_ciphers=DEFAULT@SECLEVEL=2