NM09 branch

Ilia Kats ilia-kats at gmx.net
Wed May 18 16:33:56 CEST 2011


Hey,

I am using the ifupdown and keyfile plug-ins, and this works here too. The thing is: In order to work, we must have secrets available. Secrets can either be stored internally by NM or by a user agent. The current implementation is that secrets for system-wide connections (meaning the "System connection" checkbox is checked, so no permissions are set for the connection, meaning NM will let all users connect with it) are stored by NM, all other by the yet-to-be-implemented user agent. If you want this to work _right now_ you have to change libs/internals/connection.cpp lines 210-218 to:

type |= Setting::None;

That way, even for connections restricted to a single user, secrets will be stored by NM internally. (As said in the commit message, this still doesn't work for 802-1x settings. I could not find any errors, but it would be great if someone could double-check the code)

I am going to work on the secrets agent now, but due to the lack of documentation for the to-be-implemented org.freedesktop.NetworkManager.SecretAgent interface and lack of time this could take a while (if someone knows something about the interface, please contact me)

Ilia


-------- Original-Nachricht --------
Betreff: Re: NM09 branch
Datum: 18.05.2011 10:39:21 -0300
Von: Lamarque Vieira Souza <lamarque at gmail.com>
An: kde-networkmanager at kde.org
>
> Hi,
>
>
> The old user connections were still listed but they do not work because NM does not recognise them, I have just commit a change to prevent user connections from being listed. Creating connection by clicking on the wireless network works for me. I can cannot usind my etherent, WPA wifi, and 3G/Gsm connections. I have not tested my bluetooth connections but since bluetooth and 3G/Gsm are very alike it probably works too. Only VPN is not working because we need a secrets agent to store the secrets.
>
>
> Well, I can add/edit/delete any connection here (ethernet, wifi, gsm, bluetooth, vpn). Maybe that feature depends on which plugin NM is using. I use ifnet as default in /etc/NetworkManager/nm-system-settings.conf, which one you use?
>
>
> I am going to say offline most part of day, only in about 10 hours I will be back online.
>
>
> Em Wednesday 18 May 2011, Raymond Wooninck escreveu:
>
> > Dear Lamarque,
>
> >
>
> > I am very sorry, but this issue is not fixed in the NM09 branch of
>
> > networkmanagement. I took a new snapshot from this morning and compiled
>
> > this against the KDE trunk from last night. I removed all the patches for
>
> > working with NM 0.9, so that I am sure to use the new networkmanagement
>
> > functionality.
>
> >
>
> > The plasmoid shows the connections, etc. However I can can click on any
>
> > connection I see, but nothing happens. I can't disconnect through the
>
> > plasmoid nor can I connect to any available connection. The only buttons
>
> > that are working are to disable networking, disable wireless and the two
>
> > buttons for show more/less and to get into the KCM module.
>
> >
>
> > I can create a new connection, which works fine. However trying to edit
>
> > that one again gives me the error that I am missing an agent. (I also
>
> > remember seeing a commit for Ilia about changing the error and indicating
>
> > that this is in preparation of a new securityagent.).
>
> >
>
> > To me it seems that either networkmanagement is currently depending on
>
> > kSecretService or that certain things have not been commited yet.
>
> >
>
> > Please let me know if you need some more information from me.
>
> >
>
> > Regards
>
> >
>
> > Raymond
>
> >
>
> > On Tuesday 17 May 2011 22:57:40 Lamarque Vieira Souza wrote:
>
> > > This is fixed now. I can create/edit/delete/connect with ethernet, wifi
>
> > >
>
> > > WPA and Gsm connections.
>
> > >
>
> > > Em Tuesday 17 May 2011, Raymond Wooninck escreveu:
>
> > > > I found out that the plasmoid is currently only working to show
>
> > > > information. None of the functions to activate or de-activate a
>
> > > > particular connection is working.
>
> > > >
>
> > > > Raymond
>
> > > >
>
> > > > On Tuesday 17 May 2011 13:47:04 Raymond Wooninck wrote:
>
> > > > > Hi,
>
> > > > >
>
> > > > > I have just compiled the latest NM09 branch and things seems to be
>
> > > > > working. However I have problems with the Mobile Broadband. Creating
>
> > > > > a
>
> > > > > new connection works, but if I try to edit it, I get the following
>
> > > > > error:
>
> > > > >
>
> > > > > Method "GetSecrets" with signature "s" on interface
>
> > > > > "org.freedesktop.NetworkManager.Settings.Connection.Secrets" doesn't
>
> > > > > exist
>
> > > > >
>
> > > > >
>
> > > > > It seems that activation of NetworkConnections through the plasmoid
>
> > > > > is
>
> > > > > not working. I can create a new connection, which shows up in the
>
> > > > > plasmoid, but upon click it is not being activated. Also clicking on
>
> > > > > shown wireless networks does not bring up the "New Connection
>
> > > > > Dialog" as normal.
>
> > > > >
>
> > > > > But for the rest it seems to be working pretty well with NM09. No
>
> > > > > more
>
> > > > > error messages and connections activated with NM-applet are
>
> > > > > correctly
>
> > > > > shown with PNM.
>
> > > > >
>
> > > > > Please let me know if you need more information.
>
> > > > >
>
> > > > > Regards
>
> > > > >
>
> > > > > Raymond
>
> > > >
>
> > > > _______________________________________________
>
> > > > kde-networkmanager mailing list
>
> > > > kde-networkmanager at kde.org
>
> > > > https://mail.kde.org/mailman/listinfo/kde-networkmanager
>
> >
>
> > _______________________________________________
>
> > kde-networkmanager mailing list
>
> > kde-networkmanager at kde.org
>
> > https://mail.kde.org/mailman/listinfo/kde-networkmanager
>
>
>
> -- 
>
> Lamarque V. Souza
>
> http://www.geographicguide.com/brazil.htm
>
> Linux User #57137 - http://counter.li.org/
>
> http://planetkde.org/pt-br
>
>
> _______________________________________________
> kde-networkmanager mailing list
> kde-networkmanager at kde.org
> https://mail.kde.org/mailman/listinfo/kde-networkmanager


More information about the kde-networkmanager mailing list