connman: Ignore eth0 cleanup when booting over the network
PATCH 1/1 connman: Ignore eth0 cleanup when booting over the network
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.
The -I option will cause the device to be ignored.
[YOCTO #3008]
--- meta/recipes-connectivity/connman/connman/connman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/connman/connman/connman +1 -1
@@ -29,7 +29,7 @@ done do_start() { EXTRA_PARAM="" if test $nfsroot -eq 1 ; then - EXTRA_PARAM="-P ethernet" + EXTRA_PARAM="-P ethernet -I eth0" fi $DAEMON $EXTRA_PARAM }
Signature · 1 line
1.7.9.5
Op 31 aug. 2012, om 01:34 heeft Saul Wold <[email protected]> het volgende geschreven:
Quoted 5 lines
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.
The -I option will cause the device to be ignored.
Apart from the missing PR bump, what happens when you don't boot of the network? Will connman keep ignoring eth0?
FWIW I asked about nfsroot and connman and Marcel said: don't do that! So I'm inclined to say that if you're using nfsroot you shouldn't be using connman.
Quoted 12 lines · Koen Kooi
Op 31 aug. 2012, om 01:34 heeft Saul Wold <[email protected]> het volgende geschreven:
Quoted 5 lines
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.
The -I option will cause the device to be ignored.
Apart from the missing PR bump, what happens when you don't boot of the network? Will connman keep ignoring eth0?
FWIW I asked about nfsroot and connman and Marcel said: don't do that! So I'm inclined to say that if you're using nfsroot you shouldn't be using connman.
What if there are multiple network interfaces, but just one (eth0, usb0, ...) is the nfsroot provider?
Is there a way to determine which interface nfs is active on and only ignore that one?
I am going to disable connmand for now in a v2 patch, but I think we need to address this better either via connman or here in oe-core.
Sau!
Am 31.08.2012 01:34, schrieb Saul Wold:
Quoted 19 lines
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.
The -I option will cause the device to be ignored.
[YOCTO #3008]
Signed-off-by Saul Wold <[email protected]>--- meta/recipes-connectivity/connman/connman/connman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-connectivity/connman/connman/connman +0
-0
meta/recipes-connectivity/connman/connman/connman done · line 35
Quoted 8 lines
meta/recipes-connectivity/connman/connman/connman +1
-1@@ -29,7 +29,7 @@ done do_start() { EXTRA_PARAM="" if test $nfsroot -eq 1 ; then - EXTRA_PARAM="-P ethernet" + EXTRA_PARAM="-P ethernet -I eth0" fi $DAEMON $EXTRA_PARAM }
What about other devices where eht0 is not available but rndis0 for example which has to be ignored?
As of right we have this fix for several machines in meta-smartphone already ignoring rndis0 and usb0.
regards,
Simon
Signature · 1 line
Simon Busch - http://mm.gravedo.de/blog/