Replace netbase with connman
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
Quoted 4 lines · Marc Ferland
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
Quoted 3 lines · Ross
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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre