As many of us know, wpa_supplicant has a bug that afflicts the wpa-enterprise (PEAP - MSCHAPv2) to disconnect frequently.
In my experience the wifi went down and retried to reconnect randomly making me very crazy because I couldn't go online ! I didn't find out if it depend of the wifi driver (I have a ALFA AWUS 1900 with a rtl8814au chipset) or directly from the wpa_supplicant bug.
Anyway, I tried many distro like debian, fedora and so on... But in the last days I tried Ubuntu 14.04.6 on VirtualBox linked directly the usb wifi adapter, and after installed the driver and set up the network I saw the network worked very well without the frequent disconnections. So today I installed the wpa_supplicant package version from Ubuntu trusty (14.04) on my Ubuntu 18.04 and it seems it works as expected. So I need your help to confirm my suppositions and maybe bring the all community to fix that strange behavior.
To try what I did first you need to add the Trusty repository on your machine. To do that you can simply copy and past these lines (that I taken directly from Ubuntu 14.04.6) to a new file on /etc/apt/source.list.d/trusty.list:
then update apt
Now you are able to downgrade the wpa_supplicant package
mark as hold the package to prevent it to upgrade
now you can reboot and try if your network works !
Please let me know if your network problems disappear or are still there !