You are not logged in.

#1 2013-11-11 10:11:16

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

Eduroam - Network man. vs WICD

Hello,

I'm trying to connect to Eduroam and have very strange experience.

I'm not able to connect when I use nmcli or WICD (gtk or cli), but when I use nm-applet, it works. Here is file, which is producted by nm-applet.

cat /etc/NetworkManager/system-connections/eduroam

[ipv6]
method=auto

[connection]
id=eduroam
uuid=ea7e2b9f-6289-4350-8ea8-226c5c043***
type=802-11-wireless
timestamp=1381739424

[802-11-wireless-security]
key-mgmt=wpa-eap

[802-11-wireless]
ssid=eduroam
mode=infrastructure
mac-address=88:53:**:C1:**:D1
seen-bssids=00:19:A9:**:01:**;C4:0A:**:65:**:20;
security=802-11-wireless-security

[802-1x]
eap=peap;
identity=loginname@fjfi.cvut.cz
ca-cert=/home/<username>/load/AddTrust_External_Root.pem
phase2-auth=mschapv2
password-flags=1
system-ca-certs=true

[ipv4]
method=auto

(I'm paranoid, so I substituted some chars for "*", in the original file they are not there, of course. Same with logginname and username).

When I try to use exactly same settings with WICD (same username, password, PEAP with TKIP/mschapv2, certificate). I don't succeed! Does anyone has any idea why the hell?

Offline

#2 2013-11-11 17:06:49

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: Eduroam - Network man. vs WICD

Try this for your wicd configuration, it worked when I was at university (they also used Eduroam):

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
network={
        ssid="eduroam"
        scan_ssid=1
        proto=WPA
        key_mgmt=WPA-EAP
        pairwise=TKIP
        group=TKIP
        eap=PEAP
        identity="YOUR_USERNAME"
        password="YOUR_PASS"
        phase1="peaplabel=0"
        phase2="auth=MSCHAPV2"
}

Offline

#3 2013-11-12 07:13:48

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

Re: Eduroam - Network man. vs WICD

My config file looks exactly the same and it doesn't work:

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
network={
        ssid="eduroam"
        scan_ssid=1
        proto=WPA
        key_mgmt=WPA-EAP
        pairwise=TKIP
        group=TKIP
        eap=PEAP
        identity=loginname
        password=passwd
        phase1="peaplabel=0"
        phase2="auth=MSCHAPV2"
}

I use same config as I found on tutorials, even the one from our school, copied the file from my friend (which works for him) and still nothing. I can't imagine how it can be related to which network manager I use...

Offline

#4 2013-11-12 07:33:13

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: Eduroam - Network man. vs WICD

Well wicd is essentially a wrapper for wpa_supplicant so you should try running wpa_supplicant manually with that configuration and look for any errors.

Offline

#5 2013-11-13 10:00:53

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

Re: Eduroam - Network man. vs WICD

Ok, here is my wpa_supplicant:

network={
        priority=5
        ssid="eduroam"
        scan_ssid=1
        key_mgmt=WPA-EAP
        eap=PEAP
        identity="MY_LOGIN"
        password="MY_PASSWD"
        ca_cert="/home/<username>/load/AddTrust_External_Root.pem"
        phase1="peaplabel=0"
        phase2="auth=MSCHAPV2"
}

After running it I get an error "device or resource busy".


wpa_supplicant -Dwext -iwlp1s0 -c/etc/wpa_supplicant/wpa_supplicant.conf                                                     

Successfully initialized wpa_supplicant
wlp1s0: Trying to associate with 00:19:a9:ce:01:10 (SSID='eduroam' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp1s0: Association request to the driver failed
wlp1s0: Associated with 00:19:a9:ce:01:10
wlp1s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp1s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=4 -> NAK
wlp1s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wlp1s0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
wlp1s0: CTRL-EVENT-EAP-PEER-CERT depth=3 subject='/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root'
wlp1s0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware'
wlp1s0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=NL/O=TERENA/CN=TERENA SSL CA'
wlp1s0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/C=CZ/O=Czech Technical University in Prague/CN=mailgw1.fjfi.cvut.cz'
EAP-MSCHAPV2: Authentication succeeded
EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
wlp1s0: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
wlp1s0: WPA: Key negotiation completed with 00:19:a9:ce:01:10 [PTK=CCMP GTK=WEP-104]
wlp1s0: CTRL-EVENT-CONNECTED - Connection to 00:19:a9:ce:01:10 completed [id=0 id_str=]
ioctl[SIOCSIWSCAN]: Device or resource busy
wlp1s0: Failed to initiate AP scan
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
wlp1s0: Trying to associate with 00:19:a9:ce:01:10 (SSID='eduroam' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp1s0: Association request to the driver failed
wlp1s0: Associated with 00:19:a9:ce:01:10
wlp1s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp1s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=4 -> NAK
wlp1s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wlp1s0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
wlp1s0: CTRL-EVENT-EAP-PEER-CERT depth=3 subject='/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root'
wlp1s0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware'
wlp1s0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=NL/O=TERENA/CN=TERENA SSL CA'
wlp1s0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/C=CZ/O=Czech Technical University in Prague/CN=mailgw1.fjfi.cvut.cz'
EAP-MSCHAPV2: Authentication succeeded
EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
wlp1s0: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
wlp1s0: WPA: Key negotiation completed with 00:19:a9:ce:01:10 [PTK=CCMP GTK=WEP-104]
wlp1s0: CTRL-EVENT-CONNECTED - Connection to 00:19:a9:ce:01:10 completed [id=0 id_str=]
wlp1s0: CTRL-EVENT-DISCONNECTED bssid=00:19:a9:ce:01:10 reason=0
wlp1s0: Trying to associate with 00:19:a9:cd:d0:c0 (SSID='eduroam' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp1s0: Association request to the driver failed
wlp1s0: Authentication with 00:19:a9:cd:d0:c0 timed out.
wlp1s0: CTRL-EVENT-DISCONNECTED bssid=00:19:a9:cd:d0:c0 reason=3 locally_generated=1
wlp1s0: Trying to associate with c4:0a:cb:64:c7:e0 (SSID='eduroam' freq=2462 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp1s0: Association request to the driver failed
wlp1s0: Associated with c4:0a:cb:64:c7:e0
wlp1s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp1s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=4 -> NAK
wlp1s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wlp1s0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
wlp1s0: CTRL-EVENT-DISCONNECTED bssid=c4:0a:cb:64:c7:e0 reason=0
wlp1s0: Trying to associate with c4:0a:cb:5d:5a:70 (SSID='eduroam' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp1s0: Association request to the driver failed
wlp1s0: Authentication with c4:0a:cb:5d:5a:70 timed out.
wlp1s0: CTRL-EVENT-DISCONNECTED bssid=c4:0a:cb:5d:5a:70 reason=3 locally_generated=1
wlp1s0: Trying to associate with 00:19:a9:ce:01:10 (SSID='eduroam' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp1s0: Association request to the driver failed
wlp1s0: Associated with 00:19:a9:ce:01:10
wlp1s0: WPA: Key negotiation completed with 00:19:a9:ce:01:10 [PTK=CCMP GTK=WEP-104]
wlp1s0: CTRL-EVENT-CONNECTED - Connection to 00:19:a9:ce:01:10 completed [id=0 id_str=]
wlp1s0: Trying to associate with 00:19:a9:cd:d0:c0 (SSID='eduroam' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp1s0: Association request to the driver failed
wlp1s0: CTRL-EVENT-DISCONNECTED bssid=00:19:a9:cd:d0:c0 reason=0
^Cwlp1s0: CTRL-EVENT-TERMINATING 

Offline

Board footer

Powered by FluxBB