[oe-commits] Denis 'GNUtoo' Carikli : connman: SHR distribution: ignore the htcdream' s network interfaces

git version control git at git.openembedded.org
Wed Jun 15 20:06:37 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 91e41a3fff0fb3e9f782df19b313a6ef57089c6b
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=91e41a3fff0fb3e9f782df19b313a6ef57089c6b

Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Wed Jun 15 21:46:52 2011 +0200

connman: SHR distribution: ignore the htcdream's network interfaces

The SHR images uses iliwi by default, which call udhcpc,
  udhcpc blocks near the end:
    Lease of 192.168.1.147 obtained, lease time 600
    [blocked here,"adding dns 192.168.1.1" not shown]

The routes contain problematic lines such as(rmnet interface is normal):
  default         *               0.0.0.0         U     0      0        0 rmnet0

So we have default routes that point nowhere,
if we try to remove theses routes, connman recreates them.
So in order to make the default wifi GUI work we make connman ignore theses interfaces:
  Jun 15 17:25:20 <holtmann>      If that interface is under ConnMan control, then you are out of luck with running anything manuallay.
  Jun 15 17:25:40 <holtmann>      However connmand -I wlan0 will make it stay away from that interface.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>

---

 recipes/connman/connman.inc       |    2 +-
 recipes/connman/files/shr/connman |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/connman/connman.inc b/recipes/connman/connman.inc
index 3ec7a22..0bc5c4b 100644
--- a/recipes/connman/connman.inc
+++ b/recipes/connman/connman.inc
@@ -5,7 +5,7 @@ LICENSE = "GPL"
 # we need to define the depends here, the dynamic stuff is too late
 DEPENDS  = "libnl wpa-supplicant dbus glib-2.0 ppp busybox dhclient resolvconf bluez4"
 
-INC_PR = "r7"
+INC_PR = "r8"
 
 EXTRA_OECONF += "\
     ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant \
diff --git a/recipes/connman/files/shr/connman b/recipes/connman/files/shr/connman
index 00cee95..ddf2850 100755
--- a/recipes/connman/files/shr/connman
+++ b/recipes/connman/files/shr/connman
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-DAEMON="/usr/sbin/connmand -I usb0 -r"
+DAEMON="/usr/sbin/connmand -I usb0,wlan0,dummy0,rmnet0,rmnet1,rmnet2 -r"
 PIDFILE=/var/run/connmand.pid
 DESC="Connection Manager"
 





More information about the Openembedded-commits mailing list