You are not logged in.

#1 2013-05-30 12:30:24

Demind
Member
Registered: 2007-07-10
Posts: 111

Problem wireless connection with WPA2 Enterprise

Hello,

I am experiencing an annoying problem while trying to connect at the wireless network at the University, adopting WPA2 Enterprise. After some days of frustration I decided to post a help message here, I hope it's the right section (my problem could be kernel related...). Basically I can't connect to the network, no matter how many times i may try. Other operating systems do not give me the same problem, I can connect without issues thus my card is working properly.

Summarizing:

- My card is a BCM4313 (Broadcom), natively supported within the kernel by the module brcmsmac.
- I tried the module wl as well, with no result.
- I tried both Arch standard kernel and the LTS one.
- I am Gnome user, hence I use NetworkManager (never had a problem in the last 2 years at least...)
- I tried Wicd as well (in the past it was working when NM was failing), with no result.
- Both MS Windows, Ubuntu and Linux Mint (driver brcmsmac) allow me to connect to the network.
- The problem occurrs only in case of WPA2 Enterprise, unfortunately this is a "parameter" I cannot change...

What follows is a portion of NM log file, where I isolated the part related to one connection attempt.

NetworkManager[305]: <info> (eth1): device state change: prepare -> config (reason 'none') [40 50 0]
NetworkManager[305]: <info> Activation (eth1/wireless): access point 'MY_SSID' has security, but secrets are required
NetworkManager[305]: <info> (eth1): device state change: config -> need-auth (reason 'none') [50 60 0]
NetworkManager[305]: <info> Activation (eth1) Stage 2 of 5 (Device Configure) complete.
NetworkManager[305]: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager[305]: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) started...
NetworkManager[305]: <info> (eth1): device state change: need-auth -> prepare (reason 'none') [60 40 0]
NetworkManager[305]: <info> Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager[305]: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
NetworkManager[305]: <info> Activation (eth1) Stage 2 of 5 (Device Configure) starting...
NetworkManager[305]: <info> (eth1): device state change: prepare -> config (reason 'none') [40 50 0]
NetworkManager[305]: <info> Activation (eth1/wireless): connection 'MY_SSID' has security, and secrets exist.  No new secret [I can't read after this but it's not relevant...]
NetworkManager[305]: <info> Config: added 'ssid' value 'MY_SSID'
NetworkManager[305]: <info> Config: added 'scan_ssid' value '1'
NetworkManager[305]: <info> Config: added 'key_mgmt' value 'WPA-EAP'
NetworkManager[305]: <info> Config: added 'password' value '<omitted>'
NetworkManager[305]: <info> Config: added 'eap' value 'PEAP'
NetworkManager[305]: <info> Config: added 'fragment_size' value '1300'
NetworkManager[305]: <info> Config: added 'phase2' value 'auth=MSCHAPV2'
NetworkManager[305]: <info> Config: added 'ca_path' value '/etc/ssl/certs'
NetworkManager[305]: <info> Config: added 'ca_path2' value '/etc/ssl/certs'
NetworkManager[305]: <info> Config: added 'identity' value 'username'
NetworkManager[305]: <info> Config: added 'bgscan' value 'simple:30:-45:300'
NetworkManager[305]: <info> Config: added 'proactive_key_caching' value '1'
NetworkManager[305]: <info> Activation (eth1) Stage 2 of 5 (Device Configure) complete.
NetworkManager[305]: <info> Config: set interface ap_scan to 1
NetworkManager[305]: <info> (eth1): supplicant interface state: disconnected -> scanning
NetworkManager[305]: <info> (eth1): supplicant interface state: scanning -> associating
NetworkManager[305]: <info> (eth1): supplicant interface state: associating -> associated
NetworkManager[305]: <warn> Connection disconnected (reason -3)
NetworkManager[305]: <info> (eth1): supplicant interface state: associated -> disconnected
NetworkManager[305]: <info> (eth1): supplicant interface state: disconnected -> scanning
NetworkManager[305]: <info> (eth1): supplicant interface state: scanning -> associating
NetworkManager[305]: <info> (eth1): supplicant interface state: associating -> associated
NetworkManager[305]: <warn> Connection disconnected (reason -3)
NetworkManager[305]: <info> (eth1): supplicant interface state: associated -> disconnected
NetworkManager[305]: <info> (eth1): supplicant interface state: disconnected -> scanning
NetworkManager[305]: <warn> Activation (eth1/wireless): association took too long.
NetworkManager[305]: <info> (eth1): device state change: config -> need-auth (reason 'none') [50 60 0]
NetworkManager[305]: <warn> Activation (eth1/wireless): asking for new secrets
NetworkManager[305]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
NetworkManager[305]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
NetworkManager[305]: <info> (eth1): supplicant interface state: scanning -> inactive
NetworkManager[305]: <info> (eth1): disconnecting for new activation request.
NetworkManager[305]: <info> (eth1): device state change: need-auth -> disconnected (reason 'none') [60 30 0]
NetworkManager[305]: <info> (eth1): deactivating device (reason 'none') [0]

As I said before, it may be a kernel related problem, but it seems very strange since I would expect a higher number of users experiencing some troubles.

As a final note, I've been Arch-dependent since 4 years already and I love it. I can't really imagine to change distribution just for this...but I am stuck at present and I need to work with the laptop, so any help is really appreciated. 
Thank you

Last edited by Demind (2013-05-30 12:38:40)

Offline

#2 2013-05-30 22:33:57

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,156

Re: Problem wireless connection with WPA2 Enterprise

Try to connect manually and post the output you get.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-06-02 19:21:39

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: Problem wireless connection with WPA2 Enterprise

cfr wrote:

Try to connect manually and post the output you get.

I did what you suggested and I could connect to the network, ergo it was a NetworkManager problem.
I am migrating to netctl, and I will test it at the university in the next days. I hope it will work.
Thanks for the hint, I should have done this test in the first place...:(

Offline

Board footer

Powered by FluxBB