[Pkg-kde-extras] Bug#594452: network-manager-kde: more information on peap/mschapv2 problem

Matthew Foulkes m.foulkes at blueyonder.co.uk
Tue Oct 19 14:52:59 UTC 2010


Package: network-manager-kde
Severity: normal


I have a very similar problem using knetworkmanager to connect to my
unversity's WPA2 Enterprise network.

If I run wpa_supplicant by hand

  /etc/init.d/network-manager stop
  ifconfig wlan0 up
  wpa_supplicant -i wlan0 -c wpa_supplicant.conf -B
  iwconfig wlan0 essid "Imperial-WPA"
  dhclient wlan0

with the following wpa_supplicant.conf file

  ctrl_interface=/var/run/wpa_supplicant
  network={
       ssid="Imperial-WPA"
       scan_ssid=1
       key_mgmt=WPA-EAP
       eap=PEAP
       anonymous_identity="ic\myusername"
       identity="ic\myusername"
       password="mypassword"
       phase1="peapver=0"
       phase2="auth=MSCHAPV2"
  }

everything works fine. However, if I use knetworkmanager with the
settings

  SSID:                    Imperial-WPA
  Security:                WPA/WPA2 Enterprise
  Authentication:          Protected EAP (PEAP)
  CA Certificate:          blank
  Use System CA Certs:     unchecked
  PEAP Version:            Version 0
  Inner Authentication:    MSCHAPv2
  Username:                ic\myusername
  Password                 mypassword

it does not work. Choosing to use the System CA Certs and/or replacing
the backslashes by forward slashes makes no difference.

If NetworkManager is started with the '--log-level=DEBUG
--log-domains=SUPPLICANT' options, trying to connect using
knetworkmanager yields the following messages /var/log/daemon.log:

  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'ssid' value 'Imperial-WPA' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'scan_ssid' value '1' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'key_mgmt' value 'WPA-EAP' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'password' value '<omitted>' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'eap' value 'PEAP' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'fragment_size' value '1300' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'phase1' value 'peapver=0' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'phase2' value 'auth=MSCHAPV2' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'identity'
value 'ic\myusername' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: added 'anonymous_identity' value 'ic\myusername' 
  Oct 19 13:29:41 mackerel NetworkManager[4763]: <info> Config: set interface ap_scan to 1 
  Oct 19 13:29:43 mackerel wpa_supplicant[4098]: Trying to associate with 00:26:cb:1d:b1:fc (SSID='Imperial-WPA' freq=5320 MHz)
  Oct 19 13:29:43 mackerel wpa_supplicant[4098]: Associated with 00:26:cb:1d:b1:fc
  Oct 19 13:29:43 mackerel wpa_supplicant[4098]: CTRL-EVENT-EAP-STARTED EAP authentication started
  Oct 19 13:30:06 mackerel wpa_supplicant[4098]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys

All the settings look the same as those in the wpa_supplicant.conf file.
Could the problem be caused by the backslashes in the "identity" and
"anonymous_identity" or the punctuation characters in the password?  It
might also be a timeout problem, since the connection process is very
slow.

Using nm-applet instead of knetworkmanager did not help, so the culprit
may be network-manager.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager-kde depends on:
ii  kdebase-runtime         4:4.4.5-1        runtime components from the offici
ii  knm-runtime             0.1~svn1141976-1 KDE NetworkManagement infrastructu
ii  libc6                   2.11.2-6         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.5-2        GCC support library
ii  libkdecore5             4:4.4.5-1        the KDE Platform Core Library
ii  libkdeui5               4:4.4.5-1        the KDE Platform User Interface Li
ii  libqt4-dbus             4:4.6.3-1+b1     Qt 4 D-Bus module
ii  libqt4-network          4:4.6.3-1+b1     Qt 4 network module
ii  libqt4-svg              4:4.6.3-1+b1     Qt 4 SVG module
ii  libqtcore4              4:4.6.3-1+b1     Qt 4 core module
ii  libqtgui4               4:4.6.3-1+b1     Qt 4 GUI module
ii  libsolid4               4:4.4.5-1        Solid Library for KDE Platform
ii  libsolidcontrol4        4:4.4.5-3        library for Solid based network ma
ii  libstdc++6              4.4.5-2          The GNU Standard C++ Library v3

network-manager-kde recommends no packages.

network-manager-kde suggests no packages.

-- no debconf information





More information about the pkg-kde-extras mailing list