Hi Daniel,
Do you mean compile with patch " [PATCH v0 1/2] openvpn: add suport for
static key setup"? compile passed.
But I still failed with SSL/TLS (not with the patch):
# connect-vpn openvpn openvpn xfzheng.sh.intel.com sh.intel.com
/root/.openvpn/ca.crt /root/.openvpn/client1.crt /root/.openvpn/client1.key
sys.argv[7] is /root/.openvpn/client1.key
Traceback (most recent call last):
File "/usr/lib/connman/test/connect-vpn", line 42, in <module>
"OpenVPN.Key": sys.argv[7]}))
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 630, in
call_blocking
message, timeout)
dbus.exceptions.DBusException: org.moblin.connman.Error.NotSupported: Not
supported
I can connect with openvpn directly. I'm using openvpn-2.1.3, both server and
client disable comp-lzo. server is in 64bit fedora11 and client in meego 1.1
Bests
Jeff
> -----Original Message-----
> From: Daniel Wagner [mailto:[email protected]]
> Sent: Wednesday, November 17, 2010 6:19 PM
> To: Zheng, Jeff
> Cc: [email protected]
> Subject: Re: Add OpenVPN support
>
> Hi Jeff,
>
> On Wed, Nov 17, 2010 at 01:58:26PM +0800, Zheng, Jeff wrote:
> > How can I use connect-vpn script?
> >
> > I can connect to a point to point server with:
> > openvpn --config config
> >
> > The content of config is:
> > remote xfzheng.sh.intel.com
> > dev tun
> > ifconfig 10.8.0.2 10.8.0.1
> > secret static.key
>
> Currently the plugin can handly only the tls setup. In order to
> support the static key mode there is need for some more openvpn
> argument handling.
>
> > In this config file I don't see <cafile> and <certfile> that connect-vpn
> > needs
> >
> > So I ignore these two parameters in script but it still complains:
> > # connect-vpn openvpn myvpn xfzheng.sh.intel.com mydomain.com 1 1
> static.key
>
> Yeah, that wont work right now. First the script needs get smarter and
> then the key has to passed in the provider and the openvpn plugin has
> to pass this to the openvpn argument list.
>
> Can you give the patches I'll append to this mail a try? Only compiled,
> not really tested. I think the 'ifconfig' argument is not really
> working since it needs to arguments.
>
> daniel
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman