After a significant amount of struggle I managed to connect my Raspberry Pi 3B to my university's WPA2 Enterprise network, UCR-SECURE, in the traditional set-up with a monitor, keyboard, and mouse; however, when I attempted to use the Raspberry Pi in a headless set-up there was no connection to UCR-SECURE. I would prefer to use the Raspberry Pi in a headless set-up, does anyone know why this is happening and how I can fix it?
Note: I connected to my university's WPA2 Enterprise network with the monitor by changing the GUI with network manager which allowed me to select the correct settings for connecting to WPA2 Enterprise:
sudo apt install network-manager network-manager-gnome
Note: Had previously tried multiple renditions of a wpa_supplicant file with no success before moving to the monitor set-up, most lately this one:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="UCR-SECURE"
scan_ssid=1
key_mgmt=WPA-EAP
pairwise=CCMP
group=CCMP
eap=PEAP
identity="MY_USERNAME"
password="MY_PASSWORD"
ca_cert="/etc/certs/UCR-SECURE-CERT.pem"
phase1="peapver=0"
phase2="MSCHAPV2"
}