summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman/connman
Commit message (Collapse)AuthorAgeFilesLines
* connman: Drop redundant nfsroot handlingTom Hochstein2022-09-091-38/+1
| | | | | | | | | | | | | connman has nfsroot support built in since version 1.34 [1], so the nfsroot handling in the init script is redundant. [1] https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=ef0d26e6ef2b883193469f016117d8238c1c9658 (From OE-Core rev: 1aee9ea3feaef7a1832416954a4af07868be047b) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-conf: do nothing in qemu, do not touch eth0Alexander Kanavin2022-01-121-3/+2
| | | | | | | | | | | | | | | | | | | qemu kernel itself is nowdays perfectly capable of setting up what was passed in via ip=: [ 1.676847] IP-Config: Complete: [ 1.677768] device=eth0, hwaddr=52:54:00:12:34:02, ipaddr=192.168.7.2, mask=255.255.255.0, gw=192.168.7.1 [ 1.679933] host=192.168.7.2, domain=, nis-domain=(none) [ 1.681201] bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath= [ 1.681203] nameserver0=8.8.8.8 connman-conf only does the same thing again by (badly and incompletely) parsing those parameters with sed. (From OE-Core rev: 3c25b89720417a7b1963f0a32c870208a5803950) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Move wired-setup to ${datadir}Jussi Kukkonen2015-10-291-2/+2
| | | | | | | | | | | | | | | | | wired-setup script should not be in ${libdir} as it's not arch dependent. This also fixes (or works around) a practical issue where a multilib build installs the wrong version of connman-conf and then connman can't find the script. [YOCTO #8550] (From OE-Core rev: 38a6ecf0070a60eb14b353b158b70ddc919ad328) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Try to figure out NFS root interface if using DHCPJukka Rissanen2013-09-171-8/+15
| | | | | | | | | | | | The commit c73487302270a7c2d3bbbb191ce1dd63ee2016dc missed the case where the NFS is using DHCP. [YOCTO #5176] (From OE-Core rev: 29be8e79a200d33555d2887578975e33b8417795) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Ignore the NFS root network interface in init scriptJukka Rissanen2013-09-061-2/+12
| | | | | | | | | | | | | The connman init.d script tried to ignore all the network interfaces if NFS root is configured. We should only ignore the interface that is used by NFS root. [YOCTO #4587] (From OE-Core rev: 1838671b832015ae28c8c101e8b20afbbf4b3c98) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: replace hardcoded path in init script and systemd serviceStefan Stanacar2013-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | The connman init script sources a setup file from /usr/lib/connman, so we end up with no network in qemu multilib enabled images. The init script it's installed by connman and because wired-setup it's installed by another package (connman-conf) we can't use libexecdir here and now (in the init script and systemd service file). Once libexecdir changes from ${libdir}/${bpn} to something else like /usr/libexec we could use that instead of ${libdir}/connman. Changed in v2: - better commit message [YOCTO #4493] (From OE-Core rev: fca3a884e9cae13a521d840838eee3c01f0b6acf) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-conf: Move the setup script into /usr/lib/connmanJukka Rissanen2013-03-221-2/+2
| | | | | | | | | | The /etc/connman is not suitable for the setup script. There are other connman related scripts in /usr/lib/connman so moving the wired setup script there. (From OE-Core rev: 858ad53aee9ef5848c09d76c0e6bf464bc31d30e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Wired inteface provisioned via qemuCristian Iorga2013-03-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | - connman-conf package re-implemented - connman 1.12 introduces provisioning for wired interfaces also; - wired interface settings are read from kernel cmdline if present; - after that are passed to connman as a config file - for BA, this is not needed, as BA will have a network infrastructure to work with. Fixes [YOCTO #3227]; Fixes [YOCTO #3804]; Fixes [YOCTO #3843]. (From OE-Core rev: 5711e0cf88fac0de8a5317b16a287b335c827c8f) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: fixed init script so connman can runs over nfsFelipe F. Tonello2013-01-151-2/+4
| | | | | | | | | | | | | | Adding -I to the arguments, connmand will ignore the eth interface, so if you are using nfs it will not be disconnected. OBS: it might not work if using more than one eth interface. But it's better than not using connman with nfs at all. (From OE-Core rev: 6080d1dc719c38fd97c2abd38e0ad938fbf6f452) Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Don't start connmand when booting using nfsrootSaul Wold2012-09-021-3/+2
| | | | | | | | | | | | | There was a change to connman, such that it cleans up the route table for devices at startup, this was causing the network to get lost and NFS to loose it connection. [YOCTO #3008] (From OE-Core rev: d27692e9421206177fd572a79298f5988607ce21) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: move files from connman-0.75 to connman dirOtavio Salvador2011-12-091-0/+62
This is being done in preparation to get newer version of connman into OE-Core. (From OE-Core rev: 154b76a5103a09ab3acd26c428c9ebb21f99fe8f) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>