All of lore.kernel.org
 help / color / mirror / Atom feed
* Replace netbase with connman
@ 2012-09-11 21:58 Marc Ferland
  2012-09-12 11:48 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Ferland @ 2012-09-11 21:58 UTC (permalink / raw)
  To: yocto

Hi,

I'm trying to replace netbase from my image with connman and I need help
on how to proceed. So far I see that:
- udev includes some event scripts that bring up interfaces
- netbase is included by default in core-image (which I use).

Should I remove both the udev scripts and netbase from my image and just
install connman?

So far I successfully removed the udev scripts with a bbappend to udev
but I don't know how to remove netbase from the 'core-boot' task.

Also, will connman work when booting with nfsroot?

Thanks,

Marc


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

* Re: Replace netbase with connman
  2012-09-11 21:58 Replace netbase with connman Marc Ferland
@ 2012-09-12 11:48 ` Burton, Ross
  2012-09-12 12:37   ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2012-09-12 11:48 UTC (permalink / raw)
  To: Marc Ferland; +Cc: yocto

On 11 September 2012 22:58, Marc Ferland <ferlandm@sonatest.com> wrote:
> I'm trying to replace netbase from my image with connman and I need help
> on how to proceed. So far I see that:
> - udev includes some event scripts that bring up interfaces
> - netbase is included by default in core-image (which I use).

You don't want go get rid of netbase as it includes critical files,
but you do want to install an /etc/network/interfaces file that only
defines lo through a netbase bbappend.

Guacamayo is probably a good example -
https://github.com/Guacamayo/meta-guacamayo.

Re NFS, no idea. I have seen patches on oe-core to stop connman from
re-configuring the network when it starts, so you'll probably want to
find and integrate those if you are not running oe-core master.

Ross


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

* Re: Replace netbase with connman
  2012-09-12 11:48 ` Burton, Ross
@ 2012-09-12 12:37   ` Paul Eggleton
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2012-09-12 12:37 UTC (permalink / raw)
  To: yocto, Marc Ferland

On Wednesday 12 September 2012 12:48:49 Burton, Ross wrote:
> Re NFS, no idea. I have seen patches on oe-core to stop connman from
> re-configuring the network when it starts, so you'll probably want to
> find and integrate those if you are not running oe-core master.

We talked to the connman developers and their position is that you shouldn't
use connman at all with nfsroot, so the solution [1] was not to start
connmand if nfsroot is detected.

Cheers,
Paul

[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c6fda196cbbfd749b8bf10ad97dc373217d8ed2e

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

end of thread, other threads:[~2012-09-12 12:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 21:58 Replace netbase with connman Marc Ferland
2012-09-12 11:48 ` Burton, Ross
2012-09-12 12:37   ` Paul Eggleton

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.