You are not logged in.

#1 2016-10-29 16:40:38

karlospv94
Member
Registered: 2016-10-12
Posts: 101

Wpa_supplicant version 2.1 doesn't work

Had someone gotten the wpa_supplicant version 2.1 work well? I must use it but when I do the downgrade it doesn't connect to the wifi (neither after reboot)

Offline

#2 2016-10-29 16:49:50

onslow77
Member
Registered: 2014-09-21
Posts: 283

Re: Wpa_supplicant version 2.1 doesn't work

karlospv94 wrote:

Had someone gotten the wpa_supplicant version 2.1 work well? I must use it but when I do the downgrade it doesn't connect to the wifi (neither after reboot)

Hello!

Why must you use a such old version of wpa_supplicant? If you really do, then what is the console/journal output when you try to connect?

Regards
Martin

Last edited by onslow77 (2016-10-29 16:50:24)

Offline

#3 2016-10-29 19:54:13

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Wpa_supplicant version 2.1 doesn't work

We don't provide support for outdated versions of packages, do a full system update and try again, if it doesn't work come back again with logs and anything else that might help debug the problem.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2016-10-30 12:17:22

karlospv94
Member
Registered: 2016-10-12
Posts: 101

Re: Wpa_supplicant version 2.1 doesn't work

I need the version 2.1 because it is needed to connect to the University's Wifi. I can't find the logs of the wpa_supplicant and they are not in /var/logs
I really need this version instead of being outdated.

Offline

#5 2016-10-30 13:48:57

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Wpa_supplicant version 2.1 doesn't work

What's so special about version 2.1 that doesn't work with more modern versions?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2016-10-30 15:53:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Wpa_supplicant version 2.1 doesn't work

I really need this version instead of being outdated.

You're getting this wrong (it seems) - 2.6 is currently shipped by Arch, 2.1 is the outdated one.
And in case "instead" was meant to be "despite" - "What's so special about version 2.1 that doesn't work with more modern versions?" smile

Offline

#7 2016-10-30 16:06:33

onslow77
Member
Registered: 2014-09-21
Posts: 283

Re: Wpa_supplicant version 2.1 doesn't work

karlospv94 wrote:

I need the version 2.1 because it is needed to connect to the University's Wifi. I can't find the logs of the wpa_supplicant and they are not in /var/logs
I really need this version instead of being outdated.

You are being outdated if you use version 2.1 of wpa_supplicant. the latest version is this one.

Your University has proberly tested that version 2.1 of wpa_supplicant works to connect with to their network, that however does not meen a later version can not be used. Unless as a temporary fix, you are most likley ending up with unnecessary problems if you downgrade packages on a rolling release like Arch linux.

The logs for wpa_supplicant can be found in your journal, see example below:

 journalctl --since="2016-10-20" | grep wpa_supplicant

Regards
Martin

Offline

#8 2016-10-30 16:43:27

karlospv94
Member
Registered: 2016-10-12
Posts: 101

Re: Wpa_supplicant version 2.1 doesn't work

onslow77 wrote:
karlospv94 wrote:

I need the version 2.1 because it is needed to connect to the University's Wifi. I can't find the logs of the wpa_supplicant and they are not in /var/logs
I really need this version instead of being outdated.

You are being outdated if you use version 2.1 of wpa_supplicant. the latest version is this one.

Your University has proberly tested that version 2.1 of wpa_supplicant works to connect with to their network, that however does not meen a later version can not be used. Unless as a temporary fix, you are most likley ending up with unnecessary problems if you downgrade packages on a rolling release like Arch linux.

The logs for wpa_supplicant can be found in your journal, see example below:

 journalctl --since="2016-10-20" | grep wpa_supplicant

Regards
Martin

I know I am outdated, but without the version 2.1 I cannot connect to the Wifi of the University.

Here is the journal of the wpa_supplicant when I downgrade it to the version 2.1 and reboot the laptop:

oct 30 17:27:56 turing wpa_supplicant[432]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=c4:3d:c7:40:d2:98 reason=3 locally_generated=1
oct 30 17:28:00 turing wpa_supplicant[432]: nl80211: deinit ifname=p2p-dev-wlp3s0 disabled_11b_rates=0
oct 30 17:28:00 turing wpa_supplicant[432]: p2p-dev-wlp3s0: CTRL-EVENT-TERMINATING
oct 30 17:28:00 turing wpa_supplicant[432]: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
oct 30 17:28:00 turing wpa_supplicant[432]: wlp3s0: CTRL-EVENT-TERMINATING
oct 30 17:28:22 turing dbus[405]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service'
oct 30 17:28:22 turing dbus[405]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
oct 30 17:28:22 turing NetworkManager[406]: <info>  [1477844902.1604] supplicant: wpa_supplicant running
oct 30 17:29:04 turing wpa_supplicant[425]: Successfully initialized wpa_supplicant
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: CTRL-EVENT-SCAN-STARTED
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: Reject scan trigger since one is already pending
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: CTRL-EVENT-SCAN-STARTED
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: Reject scan trigger since one is already pending
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: Failed to initiate AP scan
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: Reject scan trigger since one is already pending
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: Reject scan trigger since one is already pending
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: Failed to initiate AP scan
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: Reject scan trigger since one is already pending
oct 30 17:29:04 turing wpa_supplicant[425]: wlp3s0: Failed to initiate AP scan

Offline

#9 2016-10-30 16:57:56

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Wpa_supplicant version 2.1 doesn't work

What is the reason you cannot connect to your University network with a version later than 2.1.  You also appear to be saying that 2.1 does not work either.  Can you clarify the actual problems please.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#10 2016-10-30 17:00:21

karlospv94
Member
Registered: 2016-10-12
Posts: 101

Re: Wpa_supplicant version 2.1 doesn't work

loafer wrote:

What is the reason you cannot connect to your University network with a version later than 2.1.  You also appear to be saying that 2.1 does not work either.  Can you clarify the actual problems please.

The University say this in it's webpage:

"There is a problem when connecting to wireless networks that use WPA2-Enterprise with Network Manager 2.4, which is next in the distribution of Ubuntu 15.10.

That is why so if you have Ubuntu> = 15.10, you can not connect to our wifis unless you do it with wpa_supplicant 2.1 version (which is next in Ubuntu 15.04), instead of which brings default operating."

Offline

#11 2016-10-30 17:27:15

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Wpa_supplicant version 2.1 doesn't work

Sounds to me that might be because modern wpa_supplicant versions advertise support for tlsv1.1 and tlsv1.2 which makes broken servers crap out. I also believe there are updates for all authentication servers (including the ones from MS) to properly support this and fix other problems. If that is the case your IT department is either lazy or incompetent - don't worry I'm on the same boat.

If the problem is tlsv1.1 and tlsv1.2 support there is a workaround but it will not be possible to use that workaround if you are using networkmanager.

See the upstream bug report https://bugzilla.gnome.org/show_bug.cgi?id=765059


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#12 2016-10-30 17:37:37

karlospv94
Member
Registered: 2016-10-12
Posts: 101

Re: Wpa_supplicant version 2.1 doesn't work

R00KIE wrote:

Sounds to me that might be because modern wpa_supplicant versions advertise support for tlsv1.1 and tlsv1.2 which makes broken servers crap out. I also believe there are updates for all authentication servers (including the ones from MS) to properly support this and fix other problems. If that is the case your IT department is either lazy or incompetent - don't worry I'm on the same boat.

If the problem is tlsv1.1 and tlsv1.2 support there is a workaround but it will not be possible to use that workaround if you are using networkmanager.

See the upstream bug report https://bugzilla.gnome.org/show_bug.cgi?id=765059

+1 because of "lazy or incompetent".

I have added the line

phase1="tls_disable_tlsv1_1=1 tls_disable_tlsv1_2=1"

to the wpa_supplicant.conf but I am using networkmanager so I think I will be three more years with the mobile phone connected to the laptop every time sad

Offline

#13 2016-10-30 17:56:13

onslow77
Member
Registered: 2014-09-21
Posts: 283

Re: Wpa_supplicant version 2.1 doesn't work

karlospv94 wrote:

The University say this in it's webpage:

"There is a problem when connecting to wireless networks that use WPA2-Enterprise with Network Manager 2.4, which is next in the distribution of Ubuntu 15.10.

Network Manager and wpa_supplicant are two diffrent packages and not related to each other. Unless you only quoted part of the information, your University does not say anything abot the version of wpa_supplicant.

Three questions:
- Puting package versions and methods aside, have you made a succesful connection to your Universitys network?
- If you use the latest version of wpa_supplicant, what is the journal output?
- You use Arch linux, and not Ubuntu, correct?

karlospv94 wrote:

I have added the line

phase1="tls_disable_tlsv1_1=1 tls_disable_tlsv1_2=1"

to the wpa_supplicant.conf but I am using networkmanager so I think I will be three more years with the mobile phone connected to the laptop every time sad

Now I am lost, what is your actual problem and what method do you use to connect to your universitys network?

Regards
Martin

Last edited by onslow77 (2016-10-30 18:00:35)

Offline

#14 2016-10-30 17:59:28

karlospv94
Member
Registered: 2016-10-12
Posts: 101

Re: Wpa_supplicant version 2.1 doesn't work

onslow77 wrote:
karlospv94 wrote:

The University say this in it's webpage:

"There is a problem when connecting to wireless networks that use WPA2-Enterprise with Network Manager 2.4, which is next in the distribution of Ubuntu 15.10.

Network Manager and wpa_supplicant are two diffrent packages and not related to each other. Unless you only quoted part of the information, your University does not say anything abot the version of wpa_supplicant.

Puting package versions and methods aside, have you made a succesful connection to your Universitys network?

If you use the latest version of wpa_supplicant, what is the journal output?

And to be clear, you use Arch linux, and not Ubuntu, correct?

Regards
Martin

I have tested the connection with wpa_supplicant 2.1 in Ubuntu and it works but I don't want to change to it and prefer using Arch (of course wink)

Tomorrow I will publish the results of the journal when I try to connect with the last wpa_supplicant

Offline

#15 2016-10-31 12:36:43

karlospv94
Member
Registered: 2016-10-12
Posts: 101

Re: Wpa_supplicant version 2.1 doesn't work

These are the logs when I try to connect with wpa_supplicant 2.6 (the last one):

oct 31 13:27:17 turing wpa_supplicant[412]: wlp3s0: Trying to associate with 94:b4:0f:a7:14:c0 (SSID='UPVNET' freq=2412 MHz)
oct 31 13:27:17 turing wpa_supplicant[412]: wlp3s0: Associated with 94:b4:0f:a7:14:c0
oct 31 13:27:17 turing wpa_supplicant[412]: wlp3s0: CTRL-EVENT-EAP-STARTED EAP authentication started
oct 31 13:27:17 turing wpa_supplicant[412]: wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
oct 31 13:27:17 turing wpa_supplicant[412]: wlp3s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
oct 31 13:27:17 turing wpa_supplicant[412]: OpenSSL: tls_connection_ca_cert - Failed to load root certificates error:00000000:lib(0):func(0):reason(0)
oct 31 13:27:17 turing wpa_supplicant[412]: wlp3s0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
oct 31 13:27:17 turing wpa_supplicant[412]: wlp3s0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
oct 31 13:27:19 turing wpa_supplicant[412]: wlp3s0: Authentication with 94:b4:0f:a7:14:c0 timed out.
oct 31 13:27:19 turing wpa_supplicant[412]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=94:b4:0f:a7:14:c0 reason=3 locally_generated=1
oct 31 13:27:19 turing wpa_supplicant[412]: wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="UPVNET" auth_failures=1 duration=10 reason=AUTH_FAILED

I am sure I am using all the authentication data well (including the certificate). In fact I have done this:

openssl x509 -inform PEM -in /etc/ssl/certs/Thawte_Premium_Server_CA.pem -outform DER -out ~/ca-cert/Thawte_Premium_Server_CA.der

because these are the order of the University to connect if you are using KDE.

Offline

#16 2016-10-31 14:42:55

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Wpa_supplicant version 2.1 doesn't work

You may want to take a look at this: http://unix.stackexchange.com/questions … l-certific


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB