Re: Add OpenVPN support

2010-11-22 Thread Daniel Wagner
Hi Jeff, On Mon, Nov 22, 2010 at 03:55:52PM +0800, Zheng, Jeff wrote: On Thu, Nov 18, 2010 at 04:28:22PM +0100, Daniel Wagner wrote: Hi Jeff, On Thu, Nov 18, 2010 at 11:07:13PM +0800, Zheng, Jeff wrote: Do you mean openvpn plugin? If this way, I will check next week (I'll

RE: Add OpenVPN support

2010-11-22 Thread Zheng, Jeff
Can you please ran this log output throught the test/backtrace script? backtrace [0]: vpn_newlink() [vpn.c:147] [1]: connman_rtnl_add_newlink_watch() [rtnl.c:244] [2]: vpn_notify() [vpn.c:171] [3]: task_filter() [task.c:402] [4]: message_dispatch() [mainloop.c:80] [5]:

Re: Add OpenVPN support

2010-11-22 Thread Daniel Wagner
On Mon, Nov 22, 2010 at 04:15:19PM +0800, Zheng, Jeff wrote: Can you please ran this log output throught the test/backtrace script? backtrace [0]: vpn_newlink() [vpn.c:147] [1]: connman_rtnl_add_newlink_watch() [rtnl.c:244] [2]: vpn_notify() [vpn.c:171] [3]:

Re: Add OpenVPN support

2010-11-18 Thread Daniel Wagner
Hi Jeff, On Thu, Nov 18, 2010 at 03:15:34PM +0800, Zheng, Jeff wrote: Do you mean compile with patch [PATCH v0 1/2] openvpn: add suport for static key setup? compile passed. Yes, I don't have a static key setup (yet). So the patch should compile fine but it will almost certently not work.

RE: Add OpenVPN support

2010-11-18 Thread Zheng, Jeff
@connman.net Subject: Re: Add OpenVPN support Hi Jeff, On Thu, Nov 18, 2010 at 03:15:34PM +0800, Zheng, Jeff wrote: Do you mean compile with patch [PATCH v0 1/2] openvpn: add suport for static key setup? compile passed. Yes, I don't have a static key setup (yet). So the patch should compile

Re: Add OpenVPN support

2010-11-18 Thread Daniel Wagner
Hi Jeff, On Thu, Nov 18, 2010 at 04:44:04PM +0800, Zheng, Jeff wrote: Thanks for quick response. Connmand log attached. Thanks. I see that passing the values through the provider works. But I don't see anything about the openvpn plugin, e.g. I have following in my log file: connmand[5579]:

Re: Add OpenVPN support

2010-11-18 Thread Daniel Wagner
Hi Jeff, On Thu, Nov 18, 2010 at 11:07:13PM +0800, Zheng, Jeff wrote: Do you mean openvpn plugin? If this way, I will check next week (I'll annual leave Friday). I just used the rpm that Martin built for MeeGo. Ah, okay. Which version has been packeged? OpenVPN is in 0.63. I don't have a

Re: Add OpenVPN support

2010-11-18 Thread Daniel Wagner
On Thu, Nov 18, 2010 at 04:28:22PM +0100, Daniel Wagner wrote: Hi Jeff, On Thu, Nov 18, 2010 at 11:07:13PM +0800, Zheng, Jeff wrote: Do you mean openvpn plugin? If this way, I will check next week (I'll annual leave Friday). I just used the rpm that Martin built for MeeGo. Ah, okay.

Re: Add OpenVPN support

2010-11-17 Thread Daniel Wagner
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

Re: Add OpenVPN support

2010-11-17 Thread Daniel Wagner
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. ... it needs two arguments. ___ connman mailing list connman@connman.net

RE: Add OpenVPN support

2010-11-17 Thread Zheng, Jeff
, Jeff Cc: connman@connman.net 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

Re: Add OpenVPN support

2010-11-04 Thread Daniel Wagner
Hi Samuel, On Wed, Nov 03, 2010 at 03:12:42PM +0100, Samuel Ortiz wrote: All patches (except the openconnect one) applied now. I'd appreciate if you could give it a try against your OpenVPN setup. I have it running now for a day. Also did some disconnect and reconnect. Every thing works fine

Re: Add OpenVPN support

2010-11-03 Thread Samuel Ortiz
Hi Daniel, On Tue, Nov 02, 2010 at 06:19:29PM +0100, Daniel Wagner wrote: Hi, This version works for me stable. The problem was the OpenVPN does an inactivity check and if this is true then it does automatically a reconnection. This fails currently because the DNS server is behind the

Re: Add OpenVPN Support

2010-10-27 Thread Daniel Wagner
Good Morning Samuel, On Wed, Oct 27, 2010 at 02:05:49AM +0200, Samuel Ortiz wrote: Hi Daniel, On Tue, Oct 26, 2010 at 03:54:23PM +0200, Daniel Wagner wrote: Hi, yet another update on this patch. OpenVPN is now running, but I'm struggling with the settings. The OpenVPN server settings

Re: Add OpenVPN Support

2010-10-27 Thread Daniel Wagner
Hi Samuel, On Wed, Oct 27, 2010 at 02:05:49AM +0200, Samuel Ortiz wrote: Hi Daniel, On Tue, Oct 26, 2010 at 03:54:23PM +0200, Daniel Wagner wrote: Hi, yet another update on this patch. OpenVPN is now running, but I'm struggling with the settings. The OpenVPN server settings seems

Re: Add OpenVPN Support

2010-10-26 Thread Samuel Ortiz
Hi Daniel, On Tue, Oct 26, 2010 at 03:54:23PM +0200, Daniel Wagner wrote: Hi, yet another update on this patch. OpenVPN is now running, but I'm struggling with the settings. The OpenVPN server settings seems broken. I can ping the server address (10.1.0.1) from my client (10.1.0.6). But