All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange behaviour with stripped connman + openvpn
@ 2015-05-12 11:59 Alex J Lennon
  2015-05-15 11:12 ` Jukka Rissanen
  0 siblings, 1 reply; 2+ messages in thread
From: Alex J Lennon @ 2015-05-12 11:59 UTC (permalink / raw)
  To: Yocto

Hi,

I've been looking at some strange behaviour with connman in dizzy (1.25)

With OpenVPN configured and a connman configuration file defining a VPN,
for some reason the service doesn't appear, e.g. connmanctl services

In trying to track down why this is I found that if I use a connmand
daemon binary which is not stripped then all works as it should.

So for those who see this issue, an interim workaround is to inhibit
package stripping in a connman_%.bbappend

e.g. INHIBIT_PACKAGE_STRIP = "1"

Regards,

Alex


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange behaviour with stripped connman + openvpn
  2015-05-12 11:59 Strange behaviour with stripped connman + openvpn Alex J Lennon
@ 2015-05-15 11:12 ` Jukka Rissanen
  0 siblings, 0 replies; 2+ messages in thread
From: Jukka Rissanen @ 2015-05-15 11:12 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: Yocto

Hi Alex,

On ti, 2015-05-12 at 13:59 +0200, Alex J Lennon wrote:
> Hi,
> 
> I've been looking at some strange behaviour with connman in dizzy (1.25)
> 
> With OpenVPN configured and a connman configuration file defining a VPN,
> for some reason the service doesn't appear, e.g. connmanctl services
> 
> In trying to track down why this is I found that if I use a connmand
> daemon binary which is not stripped then all works as it should.

This is very strange indeed. Please note that actually it is
connman-vpnd that is managing the actual VPN connections. The
connman-vpnd just tells connmand what VPN services exists so that
connmand will be able to create suitable service for it that end-user
can connect to.

> 
> So for those who see this issue, an interim workaround is to inhibit
> package stripping in a connman_%.bbappend
> 
> e.g. INHIBIT_PACKAGE_STRIP = "1"

This is a really dirty workaround :)


Couple of things you to verify:

* make sure connman-vpnd is running (without it you will not see any VPN
services in connmanctl listing)
* make sure you have vpn provision file in /var/lib/connman-vpn
directory
* make sure /usr/lib/connman/scripts directory has openvpn-script plugin
installed
* make sure that openvpn support is compiled in so you need to have set
PACKAGECONFIG_append_pn-connman = " openvpn" in your distro config or
local.conf file
* do you have all the openvpn binaries in your system (only required if
you try to connect to a openvpn service), so can you manually connect to
your openvpn server from command line?


Cheers,
Jukka




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-15 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-12 11:59 Strange behaviour with stripped connman + openvpn Alex J Lennon
2015-05-15 11:12 ` Jukka Rissanen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.