You are not logged in.

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

manuelschneid3r
Member
From: Germany
Registered: 2013-04-14
Posts: 152

Problems with networkmanager and WLAN at University

Hi,
I have problems with networkmanager connecting  to our WLANs at the University. I can choose between eduroam (WPA2) and a free one from which we can connect to the internet via vpn. But unfortunately I cant connect  to either of them. My android access point and my WLAN at home are working fine. How should I start to solve the problem?

Greets

Last edited by manuelschneid3r (2013-05-16 12:08:30)


Please feel free to correct my english.

Offline

#2 2013-05-16 12:05:23

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Problems with networkmanager and WLAN at University

You can look at logs (and maybe make networkmanager more verbose if it has a setting for that).

And make sure you have the right settings. For eduroam at my university, NM got most of the settings right, but I had to change one to PEAP (not on my laptop now, don't know what NM calls it exactly).

Offline

#3 2013-05-16 12:10:33

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Problems with networkmanager and WLAN at University

Check the instructions provided by your university's IT. Eduroam should work via networkmanager (you may need to fill in authentication methods, identity, cert etc), and for vpn there is e.g. openvpn and openconnect (depends on what your university is using).

Offline

#4 2013-05-16 12:33:15

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: Problems with networkmanager and WLAN at University

It took me some time to figure out the correct settings from the instructions provided. This config works for me (blank fields not listed):

Wi-Fi tab
SSID: eduroam
Mode: Infrastructure
MTU: automatic

Wi-Fi Security tab
Security: WPA & WPA2 Enterprise
Authentication: Protected EAP (PEAP)
Ca certificate: the required cert file (see university website)
PEAP version: Automatic
Inner authentication: MSCHAPv2
Username: your username
Password: your password

IPv4 Settings tab
Method: Automatic (DHCP)

IPv6 Settings tab
Method: Ignore

If that does not work for you you should talk to the IT guys of your university. They should be more helpful than any instructions that are provided online.

Offline

#5 2013-05-16 13:14:59

manuelschneid3r
Member
From: Germany
Registered: 2013-04-14
Posts: 152

Re: Problems with networkmanager and WLAN at University

Okay I started NM myself.

This is what I get if i connect to the FREE AP.

 
NetworkManager[15560]: <info> Activation (wlp2s0) starting connection 'WLANuni-fr'
NetworkManager[15560]: <info> (wlp2s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
NetworkManager[15560]: <info> Activation (wlp2s0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager[15560]: <info> Activation (wlp2s0) Stage 1 of 5 (Device Prepare) started...
NetworkManager[15560]: <info> Activation (wlp2s0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager[15560]: <info> Activation (wlp2s0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager[15560]: <info> Activation (wlp2s0) Stage 2 of 5 (Device Configure) starting...
NetworkManager[15560]: <info> (wlp2s0): device state change: prepare -> config (reason 'none') [40 50 0]
NetworkManager[15560]: <info> Activation (wlp2s0/wireless): connection 'WLANuni-fr' requires no security.  No secrets needed.
NetworkManager[15560]: <info> Config: added 'ssid' value 'WLANuni-fr'
NetworkManager[15560]: <info> Config: added 'scan_ssid' value '1'
NetworkManager[15560]: <info> Config: added 'key_mgmt' value 'NONE'
NetworkManager[15560]: <info> Activation (wlp2s0) Stage 2 of 5 (Device Configure) complete.
NetworkManager[15560]: <info> Config: set interface ap_scan to 1
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[15560]: <warn> Activation (wlp2s0/wireless): association took too long, failing activation.
NetworkManager[15560]: <info> (wlp2s0): device state change: config -> failed (reason 'SSID not found') [50 120 53]
NetworkManager[15560]: <warn> Activation (wlp2s0) failed for connection 'WLANuni-fr'
NetworkManager[15560]: <info> (wlp2s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
NetworkManager[15560]: <info> (wlp2s0): deactivating device (reason 'none') [0]
NetworkManager[15560]: <info> (wlp2s0): supplicant interface state: disconnected -> inactive

This is what I get if i connect to eduroam.

NetworkManager[17273]: <info> Activation (wlp2s0) starting connection 'eduroam'
NetworkManager[17273]: <info> (wlp2s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 1 of 5 (Device Prepare) started...
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 2 of 5 (Device Configure) starting...
NetworkManager[17273]: <info> (wlp2s0): device state change: prepare -> config (reason 'none') [40 50 0]
NetworkManager[17273]: <info> Activation (wlp2s0/wireless): access point 'eduroam' has security, but secrets are required.
NetworkManager[17273]: <info> (wlp2s0): device state change: config -> need-auth (reason 'none') [50 60 0]
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 2 of 5 (Device Configure) complete.
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 1 of 5 (Device Prepare) started...
NetworkManager[17273]: <info> (wlp2s0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 2 of 5 (Device Configure) starting...
NetworkManager[17273]: <info> (wlp2s0): device state change: prepare -> config (reason 'none') [40 50 0]
NetworkManager[17273]: <info> Activation (wlp2s0/wireless): connection 'eduroam' has security, and secrets exist.  No new secrets needed.
NetworkManager[17273]: <info> Config: added 'ssid' value 'eduroam'
NetworkManager[17273]: <info> Config: added 'scan_ssid' value '1'
NetworkManager[17273]: <info> Config: added 'key_mgmt' value 'WPA-EAP'
NetworkManager[17273]: <info> Config: added 'password' value '<omitted>'
NetworkManager[17273]: <info> Config: added 'eap' value 'PEAP'
NetworkManager[17273]: <info> Config: added 'fragment_size' value '1300'
NetworkManager[17273]: <info> Config: added 'phase2' value 'auth=MSCHAPV2'
NetworkManager[17273]: <info> Config: added 'ca_path' value '/etc/ssl/certs'
NetworkManager[17273]: <info> Config: added 'ca_path2' value '/etc/ssl/certs'
NetworkManager[17273]: <info> Config: added 'ca_cert' value '/home/manuel/downloads/g_rootcert.crt'
NetworkManager[17273]: <info> Config: added 'identity' value 'ms476@uni-freiburg.de'
NetworkManager[17273]: <info> Config: added 'bgscan' value 'simple:30:-45:300'
NetworkManager[17273]: <info> Config: added 'proactive_key_caching' value '1'
NetworkManager[17273]: <info> Activation (wlp2s0) Stage 2 of 5 (Device Configure) complete.
NetworkManager[17273]: <info> Config: set interface ap_scan to 1
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[17273]: <warn> Activation (wlp2s0/wireless): association took too long, failing activation.
NetworkManager[17273]: <info> (wlp2s0): device state change: config -> failed (reason 'SSID not found') [50 120 53]
NetworkManager[17273]: <warn> Activation (wlp2s0) failed for connection 'eduroam'
NetworkManager[17273]: <info> (wlp2s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
NetworkManager[17273]: <info> (wlp2s0): deactivating device (reason 'none') [0]
NetworkManager[17273]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
NetworkManager[17273]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
NetworkManager[17273]: <info> (wlp2s0): supplicant interface state: scanning -> inactive

Those messages dont help me much. The only thing I find curious are:
1 Authentication in WLANuni-fr. Although this is a free access point and...
2 "failed (reason 'SSID not found')". Wtf? This SSID has been found trough a scan. It was not entered manually.

@cookies: This are exactly the settings I use. And this are exactly the settings that work on a windows machine and on ubuntu.

Any help?

Last edited by manuelschneid3r (2013-05-16 13:16:34)


Please feel free to correct my english.

Offline

#6 2013-05-18 18:39:32

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: Problems with networkmanager and WLAN at University

manuelschneid3r wrote:

@cookies: This are exactly the settings I use. And this are exactly the settings that work on a windows machine and on ubuntu.

Hm, strange. What does dhclient write to your journal when you try to connect to eduroam?

Did you try connection manually? I never had trouble when I used wpa_supplicant only (together with wpa_gui as a front end, made configuration much easier).

Offline

#7 2013-10-07 07:44:13

davidovitch
Member
From: Copenhagen
Registered: 2011-02-02
Posts: 46
Website

Re: Problems with networkmanager and WLAN at University

This is caused by an upstream bug in the Gnome NetworkManager GUI, and Arch user ROOKIE figured out how to deal with it here.

Offline

#8 2013-10-07 08:49:33

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Problems with networkmanager and WLAN at University

davidovitch wrote:

This is caused by an upstream bug in the Gnome NetworkManager GUI, and Arch user ROOKIE figured out how to deal with it here.

Unlike ROOKIE, manuelschneid3r has specified a cert file. Then again, the bug also seems to pop up when the connection doesn't actually require the certificate, so I guess it's worth trying the workaround(s).

Offline

Board footer

Powered by FluxBB