You are not logged in.

#1 2017-06-15 13:31:22

shmn
Member
Registered: 2017-06-15
Posts: 3

[SOLVED]eduroam (TU-Berlin) connection (Reason: 3=DEAUTH_LEAVING)

Hey there,

i'm fairly new to arch but so far i was able to solve every problem by myself with google, arch wiki or forum. but now i tried everything without success sad
unfortunatly i can't connect to the wlan of my university, every other i tried so far works fine.

at first i tried using netctl with this config:

Description='Eduroam-profile'
 Interface=wlp3s0
 Connection=wireless
 Security='wpa-configsection'
 IP=dhcp
 ESSID=eduroam
 WPAConfigSection=(
         'ssid="eduroam"'
         'key_mgmt=WPA-EAP'
         'phase2="auth=MSCHAPv2"'
         'eap=PEAP'
         'identity="xxx@win.tu-berlin.de"'
         'anonymous_identity=""'
         'password="xxx"'
         'ca_cert=""'
         )

with and without the certificate, gives the same error:

-- Unit netctl@eduroam.service has begun starting up.
Jun 15 14:54:33 yoga network[1858]: Starting network profile 'eduroam'...
Jun 15 14:54:33 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:54:33 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:54:33 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:54:33 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:54:33 yoga kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Jun 15 14:54:37 yoga kernel: wlp3s0: authenticate with a0:cf:5b:3d:c2:bc
Jun 15 14:54:37 yoga kernel: wlp3s0: send auth to a0:cf:5b:3d:c2:bc (try 1/3)
Jun 15 14:54:37 yoga kernel: wlp3s0: authenticated
Jun 15 14:54:37 yoga kernel: wlp3s0: associate with a0:cf:5b:3d:c2:bc (try 1/3)
Jun 15 14:54:37 yoga kernel: wlp3s0: RX AssocResp from a0:cf:5b:3d:c2:bc (capab=0x1111 status=0 aid=85)
Jun 15 14:54:37 yoga kernel: wlp3s0: associated
Jun 15 14:54:37 yoga kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
Jun 15 14:54:37 yoga kernel: wlp3s0: Limiting TX power to 17 dBm as advertised by a0:cf:5b:3d:c2:bc
Jun 15 14:54:49 yoga network[1858]: WPA association/authentication failed for interface 'wlp3s0'
Jun 15 14:54:49 yoga kernel: wlp3s0: deauthenticating from a0:cf:5b:3d:c2:bc by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 15 14:54:49 yoga network[1858]: Failed to bring the network up for profile 'eduroam'
Jun 15 14:54:49 yoga systemd[1]: netctl@eduroam.service: Main process exited, code=exited, status=1/FAILURE
Jun 15 14:54:49 yoga systemd[1]: Failed to start Eduroam-profile.
-- Subject: Unit netctl@eduroam.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@eduroam.service has failed.
-- 
-- The result is failed.

i also talked to some it guy of my university and he told me that my laptop is trying to connect without a username (he looked it up using my mac adress. but he didnt seemed super knowlegable so...)

then i assumed that my netctl config isnt working. therefore i installed wicd and tried it with a config that used to work with another linux i tried before (and yes i disabled/stopped all netctl services before)

 name = eduroam
 version = 1
 require identity *Identity password *Password
 -----
 ctrl_interface=/var/run/wpa_supplicant
 update_config=0
 network={
        ssid="eduroam"
        key_mgmt=WPA-EAP
        eap=PEAP
        phase2="auth=MSCHAPV2"
        identity="$_IDENTITY"
        password="$_PASSWORD"
        ca_cert="/usr/share/ca-certificates/tu-berlin.de"
 }

but it gives me basically the same error:

-- Unit wicd.service has begun starting up.
Jun 15 14:50:55 yoga systemd[1]: Started Wicd a wireless and wired network manager for Linux.
-- Subject: Unit wicd.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit wicd.service has finished starting up.
-- 
-- The start-up result is done.
Jun 15 14:50:55 yoga polkitd[1282]: Unregistered Authentication Agent for unix-process:1389:37631 (system bus name :1.42, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale e
Jun 15 14:50:55 yoga kernel: NET: Registered protocol family 3
Jun 15 14:50:55 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:50:55 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:50:56 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:50:56 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:50:56 yoga kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Jun 15 14:51:01 yoga kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
Jun 15 14:51:18 yoga wicd[1399]: dhcpcd not running
Jun 15 14:51:18 yoga dhcpcd[1478]: dhcpcd not running
Jun 15 14:51:18 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:51:18 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:51:18 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:51:18 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:51:18 yoga kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Jun 15 14:51:18 yoga wicd[1399]: Failed to connect to non-global ctrl_ifname: wlp3s0  error: No such file or directory
Jun 15 14:51:18 yoga wicd[1399]: dhcpcd not running
Jun 15 14:51:18 yoga dhcpcd[1487]: dhcpcd not running
Jun 15 14:51:18 yoga kernel: e1000e: enp0s31f6 NIC Link is Down
Jun 15 14:51:18 yoga kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
Jun 15 14:51:18 yoga wicd[1399]: Failed to connect to non-global ctrl_ifname: enp0s31f6  error: No such file or directory
Jun 15 14:51:18 yoga wicd[1399]: dhcpcd not running
Jun 15 14:51:18 yoga dhcpcd[1499]: dhcpcd not running
Jun 15 14:51:18 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:51:18 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:51:18 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:51:18 yoga kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 15 14:51:18 yoga kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Jun 15 14:51:18 yoga wicd[1399]: Failed to connect to non-global ctrl_ifname: wlp3s0  error: No such file or directory
Jun 15 14:51:18 yoga wicd[1399]: Error for wireless request "Set Bit Rate" (8B20) :
Jun 15 14:51:18 yoga wicd[1399]:     SET failed on device %s ; No such device.
Jun 15 14:51:26 yoga kernel: wlp3s0: authenticate with a0:cf:5b:3d:c2:bc
Jun 15 14:51:26 yoga kernel: wlp3s0: send auth to a0:cf:5b:3d:c2:bc (try 1/3)
Jun 15 14:51:26 yoga kernel: wlp3s0: authenticated
Jun 15 14:51:26 yoga kernel: wlp3s0: associate with a0:cf:5b:3d:c2:bc (try 1/3)
Jun 15 14:51:26 yoga kernel: wlp3s0: RX AssocResp from a0:cf:5b:3d:c2:bc (capab=0x1101 status=17 aid=0)
Jun 15 14:51:26 yoga kernel: wlp3s0: a0:cf:5b:3d:c2:bc denied association (code=17)
Jun 15 14:51:27 yoga kernel: wlp3s0: authenticate with a0:cf:5b:3d:c2:b3
Jun 15 14:51:27 yoga kernel: wlp3s0: send auth to a0:cf:5b:3d:c2:b3 (try 1/3)
Jun 15 14:51:27 yoga kernel: wlp3s0: authenticated
Jun 15 14:51:27 yoga kernel: wlp3s0: associate with a0:cf:5b:3d:c2:b3 (try 1/3)
Jun 15 14:51:27 yoga kernel: wlp3s0: RX AssocResp from a0:cf:5b:3d:c2:b3 (capab=0x1421 status=17 aid=0)
Jun 15 14:51:27 yoga kernel: wlp3s0: a0:cf:5b:3d:c2:b3 denied association (code=17)
Jun 15 14:51:27 yoga kernel: wlp3s0: authenticate with a0:cf:5b:a3:02:6c
Jun 15 14:51:27 yoga kernel: wlp3s0: send auth to a0:cf:5b:a3:02:6c (try 1/3)
Jun 15 14:51:28 yoga kernel: wlp3s0: authenticated
Jun 15 14:51:28 yoga kernel: wlp3s0: associate with a0:cf:5b:a3:02:6c (try 1/3)
Jun 15 14:51:28 yoga kernel: wlp3s0: RX AssocResp from a0:cf:5b:a3:02:6c (capab=0x1111 status=0 aid=19)
Jun 15 14:51:28 yoga kernel: wlp3s0: associated
Jun 15 14:51:28 yoga kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
Jun 15 14:51:28 yoga kernel: wlp3s0: Limiting TX power to 17 dBm as advertised by a0:cf:5b:a3:02:6c
Jun 15 14:51:30 yoga kernel: wlp3s0: deauthenticating from a0:cf:5b:a3:02:6c by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 15 14:51:41 yoga kernel: wlp3s0: authenticate with a0:cf:5b:3f:9a:3d
Jun 15 14:51:41 yoga kernel: wlp3s0: send auth to a0:cf:5b:3f:9a:3d (try 1/3)
Jun 15 14:51:41 yoga kernel: wlp3s0: send auth to a0:cf:5b:3f:9a:3d (try 2/3)
Jun 15 14:51:41 yoga kernel: wlp3s0: send auth to a0:cf:5b:3f:9a:3d (try 3/3)
Jun 15 14:51:41 yoga kernel: wlp3s0: authentication with a0:cf:5b:3f:9a:3d timed out
Jun 15 14:51:41 yoga kernel: wlp3s0: authenticate with a0:cf:5b:3f:9a:32
Jun 15 14:51:41 yoga kernel: wlp3s0: send auth to a0:cf:5b:3f:9a:32 (try 1/3)
Jun 15 14:51:41 yoga kernel: wlp3s0: authenticated
Jun 15 14:51:41 yoga kernel: wlp3s0: associate with a0:cf:5b:3f:9a:32 (try 1/3)
Jun 15 14:51:41 yoga kernel: wlp3s0: RX AssocResp from a0:cf:5b:3f:9a:32 (capab=0x1421 status=17 aid=0)
Jun 15 14:51:41 yoga kernel: wlp3s0: a0:cf:5b:3f:9a:32 denied association (code=17)
Jun 15 14:51:42 yoga kernel: wlp3s0: authenticate with a0:cf:5b:a3:02:63
Jun 15 14:51:42 yoga kernel: wlp3s0: send auth to a0:cf:5b:a3:02:63 (try 1/3)
Jun 15 14:51:42 yoga kernel: wlp3s0: authenticated
Jun 15 14:51:42 yoga kernel: wlp3s0: associate with a0:cf:5b:a3:02:63 (try 1/3)
Jun 15 14:51:42 yoga kernel: wlp3s0: RX AssocResp from a0:cf:5b:a3:02:63 (capab=0x1421 status=17 aid=0)
Jun 15 14:51:42 yoga kernel: wlp3s0: a0:cf:5b:a3:02:63 denied association (code=17)
Jun 15 14:51:42 yoga kernel: wlp3s0: authenticate with 64:d8:14:1f:3f:e3
Jun 15 14:51:42 yoga kernel: wlp3s0: send auth to 64:d8:14:1f:3f:e3 (try 1/3)
Jun 15 14:51:42 yoga kernel: wlp3s0: authenticated
Jun 15 14:51:42 yoga kernel: wlp3s0: associate with 64:d8:14:1f:3f:e3 (try 1/3)
Jun 15 14:51:42 yoga kernel: wlp3s0: RX AssocResp from 64:d8:14:1f:3f:e3 (capab=0x1421 status=17 aid=0)
Jun 15 14:51:42 yoga kernel: wlp3s0: 64:d8:14:1f:3f:e3 denied association (code=17)
Jun 15 14:51:43 yoga kernel: wlp3s0: authenticate with 64:ae:0c:c5:dc:83
Jun 15 14:51:43 yoga kernel: wlp3s0: send auth to 64:ae:0c:c5:dc:83 (try 1/3)
Jun 15 14:51:43 yoga kernel: wlp3s0: send auth to 64:ae:0c:c5:dc:83 (try 2/3)
Jun 15 14:51:43 yoga kernel: wlp3s0: send auth to 64:ae:0c:c5:dc:83 (try 3/3)
Jun 15 14:51:43 yoga kernel: wlp3s0: authentication with 64:ae:0c:c5:dc:83 timed out
Jun 15 14:51:44 yoga kernel: wlp3s0: authenticate with a0:cf:5b:3d:c2:bc
Jun 15 14:51:44 yoga kernel: wlp3s0: send auth to a0:cf:5b:3d:c2:bc (try 1/3)
Jun 15 14:51:44 yoga kernel: wlp3s0: authenticated
Jun 15 14:51:44 yoga kernel: wlp3s0: associate with a0:cf:5b:3d:c2:bc (try 1/3)
Jun 15 14:51:44 yoga kernel: wlp3s0: RX AssocResp from a0:cf:5b:3d:c2:bc (capab=0x1111 status=0 aid=84)
Jun 15 14:51:44 yoga kernel: wlp3s0: associated
Jun 15 14:51:44 yoga kernel: wlp3s0: Limiting TX power to 17 dBm as advertised by a0:cf:5b:3d:c2:bc
Jun 15 14:51:46 yoga kernel: wlp3s0: deauthenticating from a0:cf:5b:3d:c2:bc by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 15 14:51:56 yoga wicd[1399]: dhcpcd not running
Jun 15 14:51:56 yoga dhcpcd[1633]: dhcpcd not running
Jun 15 14:51:56 yoga kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Jun 15 14:51:56 yoga wicd[1399]: dhcpcd not running
Jun 15 14:51:56 yoga dhcpcd[1643]: dhcpcd not running
Jun 15 14:51:56 yoga kernel: e1000e: enp0s31f6 NIC Link is Down
Jun 15 14:51:57 yoga kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
Jun 15 14:51:57 yoga wicd[1399]: Failed to connect to non-global ctrl_ifname: enp0s31f6  error: No such file or directory
Jun 15 14:52:52 yoga polkitd[1282]: Registered Authentication Agent for unix-process:1704:49486 (system bus name :1.51 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedes
Jun 15 14:52:53 yoga polkitd[1282]: Operator of unix-process:1704:49486 successfully authenticated as unix-user:shmn to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage
Jun 15 14:52:53 yoga systemd[1]: Stopping Wicd a wireless and wired network manager for Linux...
-- Subject: Unit wicd.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

so does anyone have an idea why i'm deauthenticating as soon as i'm authenticated? how do i find out?

kind regards

Last edited by shmn (2017-06-15 13:59:41)

Offline

#2 2017-06-15 13:58:17

shmn
Member
Registered: 2017-06-15
Posts: 3

Re: [SOLVED]eduroam (TU-Berlin) connection (Reason: 3=DEAUTH_LEAVING)

ok i got it working with this config

 Description='Eduroam-profile'
 Interface=wlp3s0
 Connection=wireless
 Security='wpa-configsection'
 IP=dhcp
 ESSID=eduroam
 WPAConfigSection=(
         'ssid="eduroam"'
         'key_mgmt=WPA-EAP'
         'pairwise=CCMP'
         'group=CCMP TKIP'
         'eap=PEAP'
         'ca_cert="/usr/share/ca-certificates/tu-berlin.de/tub.pem"'
         'identity="*****@*********"'
         'phase2="auth=MSCHAPV2"'
         'password="*******"'
         )

i think the main mistake was MSCHAPv2 instead of MSCHAPV2 ;_; i cant believe i just spend 4 hours on this sad

mod edit: removed username & password.  Trilby --

Last edited by Trilby (2017-06-15 14:00:36)

Offline

#3 2017-06-15 14:01:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: [SOLVED]eduroam (TU-Berlin) connection (Reason: 3=DEAUTH_LEAVING)

Glad it's working.  I was going to chime in about the group variable which you've now added.  I doubt the case of MSCHAPv2 matters as the manual page examples show the 'v' in lower case.

I also took the liberty of removing your username and password which I don't think you intended to post.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2017-06-15 14:07:22

shmn
Member
Registered: 2017-06-15
Posts: 3

Re: [SOLVED]eduroam (TU-Berlin) connection (Reason: 3=DEAUTH_LEAVING)

oh thanks a lot what a noob mistake.

but i think the lower case 'v' mattered. i found while trying to connect using wpa_supplicant. it gave me an error that MSCHAPv2 is an unkown authentification...

Successfully initialized wpa_supplicant
wlp3s0: SME: Trying to authenticate with a0:cf:5b:3d:c2:bc (SSID='eduroam' freq=5240 MHz)
wlp3s0: Trying to associate with a0:cf:5b:3d:c2:bc (SSID='eduroam' freq=5240 MHz)
wlp3s0: Associated with a0:cf:5b:3d:c2:bc
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp3s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
TLS: Unsupported Phase2 EAP method 'MSCHAPv2'
wlp3s0: EAP: Failed to initialize EAP method: vendor 0 method 25 (PEAP)
wlp3s0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
wlp3s0: Authentication with a0:cf:5b:3d:c2:bc timed out.
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=a0:cf:5b:3d:c2:bc reason=3 locally_generated=1
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="eduroam" auth_failures=1 duration=10 reason=AUTH_FAILED
wlp3s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="eduroam"
wlp3s0: SME: Trying to authenticate with a0:cf:5b:3d:c2:b3 (SSID='eduroam' freq=2437 MHz)
wlp3s0: Trying to associate with a0:cf:5b:3d:c2:b3 (SSID='eduroam' freq=2437 MHz)
wlp3s0: CTRL-EVENT-ASSOC-REJECT bssid=a0:cf:5b:3d:c2:b3 status_code=17
wlp3s0: SME: Deauth request to the driver failed
wlp3s0: SME: Trying to authenticate with a0:cf:5b:a3:02:6c (SSID='eduroam' freq=5320 MHz)
wlp3s0: Trying to associate with a0:cf:5b:a3:02:6c (SSID='eduroam' freq=5320 MHz)
wlp3s0: Associated with a0:cf:5b:a3:02:6c
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp3s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
TLS: Unsupported Phase2 EAP method 'MSCHAPv2'
.....

i found out using the wpa_supplicant config file generated by some shell script provided by university it (which had some other mistakes as well but also the group variables you mentioned)

Last edited by shmn (2017-06-15 14:15:00)

Offline

Board footer

Powered by FluxBB