You are not logged in.

#1 2013-02-06 10:16:35

Karl_Yeurl
Member
Registered: 2011-02-28
Posts: 23

[SOLVED] Wicd and Eduroam

Hi,

I'm having a lot of trouble connecting to my university's network. It's eduroam, and I've tried everything I could think of. I need some help.

I'm using wicd, and my system is up to date. My university is supposed to use PEAP with MSCHAPV2 according to their tutorial, and for some time, it worked sometimes (I've never known why, it could connect for a while then disconnected, and was reluctant to reconnect).

I got bored with this random connection problems, and decided to investigate a bit. Even though the network is supposed to use PEAP, I tried yesterday the TTLS trick, and surprisingly enough, it worked like a charm. Until today (yay). I tried everything to connect today, and it's not working. I installed the wicd-eduroam AUR package, it didn't work. I removed completely wicd (and wicd-gtk, and wicd-eduroam) and wiped their configuration files, that didn't work either. I don't have a wireless card that can disable the power-saving thingy.

Depending on which wicd Encryption configuration I use, I get slightly different error messages.

With eduroam package, here's the error:
Wicd-gtk is stuck on Validating authentication and then throws this DBUS error in the command line.

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/share/wicd/gtk/gui.py", line 253, in handle_connection_results
    error(self.window, language[results], block=False)
KeyError: dbus.String(u'bad_pass')

Here's what dmesg says.

[ 1608.548964] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1608.828235] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1609.185152] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1611.314208] wlan0: authenticate with 00:0e:84:d2:80:e2
[ 1611.314250] wlan0: send auth to 00:0e:84:d2:80:e2 (try 1/3)
[ 1611.318927] wlan0: authenticated
[ 1611.319952] wlan0: associate with 00:0e:84:d2:80:e2 (try 1/3)
[ 1611.523208] wlan0: associate with 00:0e:84:d2:80:e2 (try 2/3)
[ 1611.525693] wlan0: RX AssocResp from 00:0e:84:d2:80:e2 (capab=0x431 status=0 aid=6)
[ 1611.552606] wlan0: associated
[ 1611.552677] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1611.822475] wlan0: deauthenticated from 00:0e:84:d2:80:e2 (Reason: 2)
[ 1611.839329] cfg80211: Calling CRDA to update world regulatory domain
[ 1614.218191] wlan0: authenticate with 00:0e:84:d2:80:e2
[ 1614.228005] wlan0: send auth to 00:0e:84:d2:80:e2 (try 1/3)
[ 1614.429897] wlan0: send auth to 00:0e:84:d2:80:e2 (try 2/3)
[ 1614.431566] wlan0: authenticated
[ 1614.433503] wlan0: associate with 00:0e:84:d2:80:e2 (try 1/3)
[ 1614.636543] wlan0: associate with 00:0e:84:d2:80:e2 (try 2/3)
[ 1614.638759] wlan0: RX AssocResp from 00:0e:84:d2:80:e2 (capab=0x431 status=0 aid=7)
[ 1614.662556] wlan0: associated
[ 1616.828514] wlan0: deauthenticated from 00:0e:84:d2:80:e2 (Reason: 2)
[ 1616.842641] cfg80211: Calling CRDA to update world regulatory domain
[ 1619.666361] wlan0: authenticate with 00:0e:84:d2:80:d2
[ 1619.675895] wlan0: send auth to 00:0e:84:d2:80:d2 (try 1/3)
[ 1619.876572] wlan0: send auth to 00:0e:84:d2:80:d2 (try 2/3)
[ 1619.878388] wlan0: authenticated
[ 1619.878433] wlan0: waiting for beacon from 00:0e:84:d2:80:d2
[ 1619.940156] wlan0: associate with 00:0e:84:d2:80:d2 (try 1/3)
[ 1620.143189] wlan0: associate with 00:0e:84:d2:80:d2 (try 2/3)
[ 1620.146043] wlan0: RX AssocResp from 00:0e:84:d2:80:d2 (capab=0x431 status=0 aid=54)
[ 1620.172554] wlan0: associated
[ 1620.666630] wlan0: deauthenticated from 00:0e:84:d2:80:d2 (Reason: 2)
[ 1620.677826] cfg80211: Calling CRDA to update world regulatory domain
[ 1623.523903] wlan0: authenticate with 00:0e:84:d2:8f:92
[ 1623.533588] wlan0: send auth to 00:0e:84:d2:8f:92 (try 1/3)
[ 1623.736565] wlan0: send auth to 00:0e:84:d2:8f:92 (try 2/3)
[ 1623.738383] wlan0: authenticated
[ 1623.739907] wlan0: associate with 00:0e:84:d2:8f:92 (try 1/3)
[ 1623.943209] wlan0: associate with 00:0e:84:d2:8f:92 (try 2/3)
[ 1623.949877] wlan0: RX AssocResp from 00:0e:84:d2:8f:92 (capab=0x431 status=0 aid=192)
[ 1623.983506] wlan0: associated
[ 1633.351252] wlan0: deauthenticated from 00:0e:84:d2:8f:92 (Reason: 2)
[ 1633.363160] cfg80211: Calling CRDA to update world regulatory domain
[ 1636.186485] wlan0: authenticate with 00:0e:84:d2:80:e2
[ 1636.196162] wlan0: send auth to 00:0e:84:d2:80:e2 (try 1/3)
[ 1636.396559] wlan0: send auth to 00:0e:84:d2:80:e2 (try 2/3)
[ 1636.400141] wlan0: authenticated
[ 1636.403235] wlan0: associate with 00:0e:84:d2:80:e2 (try 1/3)
[ 1636.606551] wlan0: associate with 00:0e:84:d2:80:e2 (try 2/3)
[ 1636.609612] wlan0: RX AssocResp from 00:0e:84:d2:80:e2 (capab=0x431 status=0 aid=8)
[ 1636.635048] wlan0: associated
[ 1646.636444] wlan0: deauthenticating from 00:0e:84:d2:80:e2 by local choice (reason=3)
[ 1646.647593] cfg80211: Calling CRDA to update world regulatory domain
[ 1647.313010] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


With the TTLS solution, here's what happens.
It says eduroam: Connection Failed: Bad Passsword on the GUI.
The dmesg entry and the messages displayed on the terminal are roughly the same than before.



Finally, with the PEAP with TKIP/MSCHAPV2 encryption scheme, it throws the same dbus error.
Just in case, here's the dmesg entry.

[ 2149.277243] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2149.572311] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2149.683514] iwl4965 0000:0b:00.0: Can't stop Rx DMA.
[ 2149.936907] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2152.085215] wlan0: authenticate with 00:0e:84:d2:80:e2
[ 2152.094902] wlan0: send auth to 00:0e:84:d2:80:e2 (try 1/3)
[ 2152.097588] wlan0: authenticated
[ 2152.097649] iwl4965 0000:0b:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 2152.099832] wlan0: associate with 00:0e:84:d2:80:e2 (try 1/3)
[ 2152.303175] wlan0: associate with 00:0e:84:d2:80:e2 (try 2/3)
[ 2152.305601] wlan0: RX AssocResp from 00:0e:84:d2:80:e2 (capab=0x431 status=0 aid=27)
[ 2152.332756] wlan0: associated
[ 2152.332827] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2152.993962] wlan0: deauthenticated from 00:0e:84:d2:80:e2 (Reason: 2)
[ 2153.005300] cfg80211: Calling CRDA to update world regulatory domain
[ 2155.360634] wlan0: authenticate with 00:0e:84:d2:80:d2
[ 2155.369730] wlan0: send auth to 00:0e:84:d2:80:d2 (try 1/3)
[ 2155.569816] wlan0: send auth to 00:0e:84:d2:80:d2 (try 2/3)
[ 2155.571745] wlan0: authenticated
[ 2155.571800] iwl4965 0000:0b:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 2155.573294] wlan0: associate with 00:0e:84:d2:80:d2 (try 1/3)
[ 2155.776508] wlan0: associate with 00:0e:84:d2:80:d2 (try 2/3)
[ 2155.780684] wlan0: RX AssocResp from 00:0e:84:d2:80:d2 (capab=0x431 status=0 aid=68)
[ 2155.805960] wlan0: associated
[ 2157.521106] wlan0: deauthenticated from 00:0e:84:d2:80:d2 (Reason: 2)
[ 2157.541543] cfg80211: Calling CRDA to update world regulatory domain
[ 2160.023379] wlan0: authenticate with 00:0e:84:d2:8f:92
[ 2160.032329] wlan0: direct probe to 00:0e:84:d2:8f:92 (try 1/3)
[ 2160.233152] wlan0: direct probe to 00:0e:84:d2:8f:92 (try 2/3)
[ 2160.436513] wlan0: send auth to 00:0e:84:d2:8f:92 (try 3/3)
[ 2160.639817] wlan0: authentication with 00:0e:84:d2:8f:92 timed out
[ 2165.071872] wlan0: authenticate with 00:0e:84:d2:80:e2
[ 2165.081423] wlan0: send auth to 00:0e:84:d2:80:e2 (try 1/3)
[ 2165.084991] wlan0: authenticated
[ 2165.085032] iwl4965 0000:0b:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 2165.086566] wlan0: associate with 00:0e:84:d2:80:e2 (try 1/3)
[ 2165.289820] wlan0: associate with 00:0e:84:d2:80:e2 (try 2/3)
[ 2165.294501] wlan0: RX AssocResp from 00:0e:84:d2:80:e2 (capab=0x431 status=0 aid=28)
[ 2165.319814] wlan0: associated
[ 2175.320347] wlan0: deauthenticating from 00:0e:84:d2:80:e2 by local choice (reason=3)
[ 2175.336228] cfg80211: Calling CRDA to update world regulatory domain
[ 2177.736271] wlan0: authenticate with 00:0e:84:d2:80:d2
[ 2177.744016] wlan0: send auth to 00:0e:84:d2:80:d2 (try 1/3)
[ 2177.745643] wlan0: authenticated
[ 2177.745661] iwl4965 0000:0b:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 2177.746477] wlan0: associate with 00:0e:84:d2:80:d2 (try 1/3)
[ 2177.949815] wlan0: associate with 00:0e:84:d2:80:d2 (try 2/3)
[ 2177.952821] wlan0: RX AssocResp from 00:0e:84:d2:80:d2 (capab=0x431 status=0 aid=69)
[ 2177.978067] wlan0: associated
[ 2187.760920] wlan0: deauthenticating from 00:0e:84:d2:80:d2 by local choice (reason=3)
[ 2187.781612] cfg80211: Calling CRDA to update world regulatory domain
[ 2188.079844] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

Quite frankly, I don't know where to look. I suspect a wpa_supplicant problem, since I think it's been updated lately, but I'm not sure. Yeah, kind of no, actually. The dbus error is the same with the university's open network, so it might be something else. Damn. Can anyone help me on this? Moreover, the Wiki page is flagged as outdated, so I'm not really sure the information is reliable.
Thanks in advance,

Karl.

P.S. — I've searched the forums and found old posts about it. They didn't really help me much, and I didn't want to bump them.

Edit 2014 — Marked as solved. It seems two daemons were conflicting.

Last edited by Karl_Yeurl (2014-02-06 13:08:34)

Offline

#2 2013-02-07 00:33:38

Vixus
Member
Registered: 2012-11-02
Posts: 60

Re: [SOLVED] Wicd and Eduroam

I had to add this template to wicd and now it works like a charm:

name = PEAP with MSCHAPv2
author = wmj20
version = 1
require identity *Identity password *Password
-----
ctrl_interface=/var/run/wpa_supplicant
network={
        ssid="$_ESSID"
        scan_ssid=$_SCAN
        key_mgmt=WPA-EAP
        eap=PEAP
        phase2="auth=MSCHAPV2"
        identity="$_IDENTITY"
        password="$_PASSWORD"
}

Offline

#3 2013-02-07 16:05:10

Karl_Yeurl
Member
Registered: 2011-02-28
Posts: 23

Re: [SOLVED] Wicd and Eduroam

I'll try this, and will keep you posted. smile
Thanks.

Offline

#4 2013-02-19 13:03:35

Karl_Yeurl
Member
Registered: 2011-02-28
Posts: 23

Re: [SOLVED] Wicd and Eduroam

Hi, just to mention here that the bug resolved itself. Probably an update fixed an issue related to that.

Offline

#5 2013-02-19 13:48:44

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,271

Re: [SOLVED] Wicd and Eduroam

Karl_Yeurl mark this thread [SOLVED] then.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB