Can you email how you call connect-vpn with all the parameters, also make sure 
you run as root, which I guess you did.
Mohamed

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Rusty Lynch
Sent: Thursday, December 03, 2009 8:24 PM
To: [email protected]
Subject: Re: [PATCH 0/8] add VPN support.

On Tue, Dec 1, 2009 at 7:34 PM,  <[email protected]> wrote:
> These patches add VPN support to connmman, they are based on
> David Woodhouse works.
>
> I added and modified existing scripts to support vpn connection.
>
> To create and connect to a new vpn you need to running test/connect-vpn 
> script.
>
> Usage: ./test/connect-provider <name> <host> <cookie> [cafile]
>
> You can get the cookie by running openconnect
> # openconnect -c ~/.cert/certificate.pem -k
> ~/.cert/priv-key.pem --script /etc/vpnc/vpnc-script 192.55.54.27
> --cafile ~/.cert/intel-certchain.crt --key-password-from-fsid
> --printcookie --cookieonly
>
>
> To list avaialbe vpn to connect to you can use /test/list-providers script.
>
> To remove or disconnect vpn from the available list you need 
> test/disconnect-vpn script.

I just applied the series of patch to the tip of the master branch,
and I am getting a permission error when i try and run
test/connect-vpn:

Traceback (most recent call last):
  File "./connect-vpn", line 22, in <module>
    "VPN.Domain": "intel.com"}))
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line
622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException:
org.moblin.connman.Error.PermissionDenied: Permission denied

I am running this on a Molin 2.1 system.

    --rusty
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to