network-manager-openconnect, was Re: Error messages / traceroute
Dan Williams
dcbw at redhat.com
Wed Feb 24 19:07:14 EST 2010
On Tue, 2010-02-23 at 12:08 +0000, David Woodhouse wrote:
> On Tue, 2010-02-23 at 12:55 +0100, Johannes Becker wrote:
> > I tried the ubuntu 9.10 live CD. I installed the ubuntu packages
> >
> > network-manager-openconnect Version:
> > 0.8~a~git.20090828t161429.dfe1b50-0ubuntu2
> >
> > openconnect Version: 2.01-1
>
> I think you may need to reboot (or at least restart NM and dbus-daemon)
> before the new NetworkManager plugin works.
Yeah, the rebooting sucks. All it takes is an inotify watch
on /etc/NetworkManager/VPN/ and a reconciliation of the new on-disk set
to the current in-memory set of VPN services and we're there. It's been
a longstanding enhancement request, but nobody has gotten around to it
yet.
If anyone wants to take this, there's tons of example inotify code in
NetworkManager's system-settings plugins you could work from. Or just
use the new GLib directory monitor objects or something.
Dan
> > You are asked to fill in a gateway and a username.
> > There is no field for a password.
>
> That's expected. The authentication dialog asks you for a password when
> you connect.
>
> > If you click on the configured vpn-connection, there is an error message
> > about invalid VPN-Secrets (as it translates from German to English)
>
> Yeah, NetworkManager says that for just about every error, instead of
> something sensible :)
>
> > If you start nm-applet in a terminal, you get during the configuration
> > process:
> >
> > ** (nm-connection-editor:3183): WARNING **: Invalid setting VPN: gateway
> >
> > and while trying to connect:
> >
> > ** (nm-applet:3163): WARNING **: _nm_object_get_property: Error
> > getting 'State' for /org/freedesktop/NetworkManager/ActiveConnection/4:
> > Method "Get" with signature "ss" on
> > interface "org.freedesktop.DBus.Properties" doesn't exist
>
> If this persists after a reboot, networkmanager-list at gnome.org is
> probably the best place to continue.
>
More information about the openconnect-devel
mailing list