From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
To: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Cc: Yocto <yocto@yoctoproject.org>
Subject: Re: Strange behaviour with stripped connman + openvpn
Date: Fri, 15 May 2015 14:12:49 +0300 [thread overview]
Message-ID: <1431688369.2765.28.camel@linux.intel.com> (raw)
In-Reply-To: <5551EB26.6050100@dynamicdevices.co.uk>
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
prev parent reply other threads:[~2015-05-15 11:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 11:59 Strange behaviour with stripped connman + openvpn Alex J Lennon
2015-05-15 11:12 ` Jukka Rissanen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1431688369.2765.28.camel@linux.intel.com \
--to=jukka.rissanen@linux.intel.com \
--cc=ajlennon@dynamicdevices.co.uk \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.