From bug reports from various forums i concluded that downgrading wpa supplicant might be a solution for my connection problem. I need to downgrade the wpasupplicant (2.10 is the current version) to be able to connect my school network. I am using Kali Linux right now, and don't know how to downgrade wpasupplicant to some older version like 2.9.
https://forum.endeavouros.com/t/cannot-connect-to-wifi-network-after-wpa-supplicant-upgrade/23207/18
https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/1958267
https://bugs.archlinux.org/task/73495?project=1&order=dateopened&sort=desc
I have tried sudo apt install --allow-downgrades wpasupplicant=2:2.10-2
But get an error E: Version '2:2.10-2' for 'wpasupplicant' was not found
Also in another question about this problem(below link) it is said to add the required repositories to downgrade. But again i need help with that part. https://askubuntu.com/questions/1046810/cannot-downgrade-wpa-supplicant-to-fix-wi-fi-connection-to-a-corporate-network
For different versions of wpasupplicant i found
https://repology.org/project/wpa-supplicant/versions But i don't know how to downgrade using these repos.
apt-cache madison <package name>to list available versions in the repo. Why do you pass2:2.10-2if you want to downgrade to 2.9?