Bug 216063 - Add phase2 auth support to [k]networkmanager
Summary: Add phase2 auth support to [k]networkmanager
Status: RESOLVED FIXED
: 205479 230684 (view as bug list)
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Network (show other bugs)
Version: Alpha 3
Hardware: i686 Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Helmut Schaa
QA Contact: E-mail List
URL:
Whiteboard: potential hotfix
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-28 12:15 UTC by Guilermo Gomez Santos
Modified: 2008-01-31 12:51 UTC (History)
7 users (show)

See Also:
Found By: Other
Services Priority: 300
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Add phase2 support to NM (core) (9.29 KB, patch)
2007-05-27 13:49 UTC, Stefan Brüns
Details | Diff
Add phase2 support to NM (gnome nm-applet) (16.73 KB, patch)
2007-05-27 13:51 UTC, Stefan Brüns
Details | Diff
Add phase2 support to NM (knetworkmanager) (17.08 KB, patch)
2007-05-27 13:53 UTC, Stefan Brüns
Details | Diff
Add phase2 support to NM (knetworkmanager) (19.25 KB, patch)
2007-05-28 16:22 UTC, Stefan Brüns
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guilermo Gomez Santos 2006-10-28 12:15:49 UTC
I can connect to my institution AP's by manually invoking the wpa_supplicant with  a wpa_supplicant.conf file  from my institution. 
I can NOT connect using KnetworkManager directly (supplying the necessary info in the corresponding pop-up windows). Diving into log files, I see that the wpa_supplicant is invoked as manually (except for the conf file) and starts an endless tour of negotiation with accesible AP's till it exhausts its time).
I can feed into Knetworkmanager almost all info the config file has, as far as acronyms are concerned(I am not expert): WPA-EAP, TTLS, WPA1.  The conf file entries I do not find pop-up options for them are: phase2="auth=PAP",ap_scan=1,fast_reauth=1,priority=6.

I do not know if this is a bug or just a lengthy negotiation. In any case:
Would it be possible to force Knetwormanager to use my conf file? or
Would it be possible to fill the (missing? )info in the knetworkmanagerrc file?.

My (working) conf file is:

# WPA conffiguration
ctrl_interface=/var/run/wpa_supplicant
#ctrol_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
     
network={
          ssid="myssid"
          key_mgmt=WPA-EAP
          proto=WPA
          eap=TTLS
          anonymous_identity="anonymousidentity"
          identity="myidentity"
          password="mypasswrd"
          priority=6
          phase2="auth=PAP"
}


Thanks a lot
Comment 1 Will Stephenson 2007-01-25 09:50:59 UTC
Have you got this problem with 10.2?
Comment 2 Guilermo Gomez Santos 2007-01-25 15:51:19 UTC
(In reply to comment #1)
> Have you got this problem with 10.2?
> 
I have no access to any SUSE linux 10.2, if that is what you mean. All I know is that my SUSE linux 10.1 has the reported problem. 
Comment 3 Helmut Schaa 2007-02-08 13:26:32 UTC
NetworkManager does not support phase2 authentication yet but somebody upstream is working on that issue.
Comment 4 Will Stephenson 2007-05-24 18:04:59 UTC
Helmut, Timo:  Are we updating NM to 0.6.5 for 10.3?
Comment 5 Stefan Brüns 2007-05-27 13:45:54 UTC
I have tested phase 2 support of NM 0.6.5 and nm-applet (network-manager-applet-0-6 branch) by fetching the patches from svn and applying to the latest nm src rpm from factory.

I have also written a patch for knetworkmanager

Patches for Networkmanger and Networkmanager-kde are attached.

NM patches have been tested and are working fine, NM-kde patch has only been tested for compilation and running against wpa personal (no wpa enterprise at home ...)
Comment 6 Stefan Brüns 2007-05-27 13:49:00 UTC
Created attachment 142438 [details]
Add phase2 support to NM (core)

apply with %patchXX -p2
Comment 7 Stefan Brüns 2007-05-27 13:51:49 UTC
Created attachment 142439 [details]
Add phase2 support to NM (gnome nm-applet)

apply with
(cd gnome/applet
%patchXX -p3
)
Comment 8 Stefan Brüns 2007-05-27 13:53:17 UTC
Created attachment 142440 [details]
Add phase2 support to NM (knetworkmanager)

apply with
%patchXX
Comment 9 Stefan Brüns 2007-05-27 13:59:07 UTC
*** Bug 230684 has been marked as a duplicate of this bug. ***
Comment 10 Stefan Brüns 2007-05-27 14:01:38 UTC
*** Bug 205479 has been marked as a duplicate of this bug. ***
Comment 11 Stefan Brüns 2007-05-28 16:22:14 UTC
Created attachment 142539 [details]
Add phase2 support to NM (knetworkmanager)

There was a small error in the ui file
The patch(es) have been tested successfully with eduroam (www.eduroam.org) at RWTH Aachen, using PAP for phase2
Comment 15 Roland Wolters 2007-07-18 00:23:49 UTC
The current svn version does list PAP for phase 2 now as far as I understand it:
http://websvn.kde.org/branches/extragear/kde3/network/knetworkmanager/src/knetworkmanager-encryption.cpp?revision=682346&view=markup

Has anyone tested this? Can we mark this bug as fixed?
Comment 19 JP Rosevear 2007-08-09 13:17:16 UTC
Anja, swamp id for this update please.  Note the version would bump.
Comment 22 Roland Wolters 2007-09-06 14:41:10 UTC
This bug can be marked as fixed, current knetworkmanager SVN has a Phase2 field providing PAP,MSCHAP(v2) and GTC as an option.