aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-06-15 21:46:52 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-06-15 22:04:52 +0200
commit91e41a3fff0fb3e9f782df19b313a6ef57089c6b (patch)
tree5b27c37d325477ccfd2a12c6cd7c5b41b2150a05
parentcd6bb9f47f7f05c51144d3da55ae03db09479d83 (diff)
downloadopenembedded-91e41a3fff0fb3e9f782df19b313a6ef57089c6b.tar.gz
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@no-log.org>
-rw-r--r--recipes/connman/connman.inc2
-rwxr-xr-xrecipes/connman/files/shr/connman2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/connman/connman.inc b/recipes/connman/connman.inc
index 3ec7a22fdb..0bc5c4bdaa 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 00cee9595e..ddf2850849 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"