Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 6063  / 1 Year ago, wed, february 1, 2023, 2:35:45

I have two Ubuntu laptops next to each other at work at my university. I just upgraded one from 21.10 to 22.04. After upgrade, the WPA2 for my university refuses my password / refuses to connect. I can still connect to unsecured wifi networks.
My settings / authentication / certificates / etc are (a) correct and (b) identical to those of the other laptop, sitting next to it, which connects no problem.


I've updated, rebooted, quadruple-checked, etc.


Here's a similar-sounding very old problem: Can't connect to WPA Enterprise wifi after upgrading from 15.10 to 16.04 but that was more than half a decade ago.


Can anyone tell me the problem or how to troubleshoot? I've gone through the kind of advice here: https://help.ubuntu.com/stable/ubuntu-help/net-wireless-noconnection.html.en


More From » networking

 Answers
3

Here are instructions for a workaround from launchpad. It solved my problem, but it sounds insecure / temporary. It also sounds like a proper patch/bug fix will be issued soon.


(UPDATE: A fix from Ubuntu has been completed and should filter out rapidly now: https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/1958267 In the mean time, the procedure below may tide you over).


1. create openssl.cnf for wpa_supplicant
- sudo cp /etc/ssl/openssl.cnf /etc/wpa_supplicant/
- modify /etc/wpa_supplicant/openssl.cnf by adding the lines below which are marked with a "+".
*** /etc/ssl/openssl.cnf Fri Apr 22 14:54:42 2022
--- /etc/wpa_supplicant/openssl.cnf Fri Apr 22 14:55:22 2022
***************
*** 52,57 ****
--- 52,64 ----

[openssl_init]
providers = provider_sect
+ ssl_conf = ssl_sect
+
+ [ssl_sect]
+ system_default = system_default_sect
+
+ [system_default_sect]
+ Options = UnsafeLegacyRenegotiation

# List of providers to load
2. modify /usr/lib/systemd/system/wpa_supplicant.service
***************
*** 8,13 ****
--- 8,14 ----
[Service]
Type=dbus
BusName=fi.w1.wpa_supplicant1
+ Environment="OPENSSL_CONF=/etc/wpa_supplicant/openssl.cnf"
ExecStart=/sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
ExecReload=/bin/kill -HUP $MAINPID
3. restart wpa_supplicant
sudo systemctl daemon-reload
sudo systemctl restart wpa_supplicant.service

[#625] Friday, February 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cupwire

Total Points: 365
Total Questions: 126
Total Answers: 125

Location: Malaysia
Member since Thu, Feb 16, 2023
1 Year ago
cupwire questions
Fri, Jan 20, 23, 07:19, 1 Year ago
Fri, Jul 8, 22, 16:11, 2 Years ago
Sun, May 15, 22, 08:53, 2 Years ago
;