Wi-Fi service won't auto-connect when Ethernet is already present

2015-10-29 Thread Craig McQueen
ot;Preferred Technologies" feature be disabled? I tried putting in my /etc/connman/main.conf: PreferredTechnologies = But that didn't seem to make a difference. -- Craig McQueen ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman

ConnMan doesn't clear rfkill softblock when Wi-Fi plugged in after start-up

2015-10-29 Thread Craig McQueen
it because of the rfkill softblock for wlan. In this second scenario, I would wish for ConnMan to turn off the rfkill softblock for wlan (since it is configured for Wi-Fi enabled and tethered), and start tethering. What code change would be needed to achieve that? -- Craig McQueen

Enable/disable Wi-Fi tethering when Wi-Fi dongle is not plugged in

2015-10-14 Thread Craig McQueen
tether wifi off Error disabling wifi tethering: Method "SetProperty" with signature "sv" on interface "net.connman.Technology" doesn't exist What options would there be for enabling/disabling tethering, while the Wi-Fi device is not currently

connmanctl quitting before multiple return functions called

2015-10-14 Thread Craig McQueen
urn() all three times. I see that dbus_method_reply() calls __connmanctl_quit(). That seems to be implicated in this. It seems the logic is to initiate shutdown after the response is received for the first D-Bus message sent. -- Craig McQueen _

Timezone doesn't update when /etc/localtime symlink changes

2015-10-13 Thread Craig McQueen
/pipermail/connman/2011-July/005354.html In my target system, /etc/localtime is a symlink into the appropriate file under /usr/share/zoneinfo. -- Craig McQueen ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman

RE: Timezone doesn't update when /etc/localtime symlink changes

2015-10-14 Thread Craig McQueen
t changes. Is Timezone update working for others? My target system is an ARM embedded system built with Yocto. I've verified that inotify is enabled in my system's kernel. -- Craig McQueen ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman

[PATCH 4/4] dnsproxy: don't do captive addr for loopback queries

2015-10-19 Thread Craig McQueen
--- src/dnsproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dnsproxy.c b/src/dnsproxy.c index 45ecd69..37e9605 100644 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -3554,7 +3554,7 @@ static bool udp_listener_event(GIOChannel *channel, GIOCondition condition,

[PATCH 3/4] Funcs to check if address is loopback or link-local

2015-10-19 Thread Craig McQueen
Use these functions in the code to simplify the logic. --- This is a possibly generically useful change. Note that the code in __connman_inet_get_running_interfaces() was a bit confusing -- the code for the IPv6 case checked for a link-local address, not a loopback address as the comment said.

[PATCH 2/4] dnsproxy: Fixes to captive portal implementation.

2015-10-19 Thread Craig McQueen
* Avoid corruption of response to a query that includes "additional" records (e.g. OPT). * Provide an A record response to only an A record query. --- src/dnsproxy.c | 115 ++- src/technology.c | 2 +- 2 files changed, 90 insertions(+), 27

[PATCH 0/4] Added captive portal possibility

2015-10-19 Thread Craig McQueen
. Alexandre Chataignon (1): dnsproxy: Added captive portal possibility Craig McQueen (3): dnsproxy: Fixes to captive portal implementation. Add functions to check if an IP address is loopback or link-local. dnsproxy: don't return captive address for queries from loopback IP src/connman.h

RE: [PATCH] Added captive portal possibility

2015-10-19 Thread Craig McQueen
On 19-Oct-2015 7:29 PM Alexandre Chataignon wrote: > On 10/16/2015 07:52 AM, Craig McQueen wrote: > > I'm interested in this concept. I applied your patch to ConnMan 1.30, and > I've been testing it. > > > > In my testing with DNS queries using the Linux 'dig' utility,

RE: Timezone doesn't update when /etc/localtime symlink changes

2015-10-14 Thread Craig McQueen
y.h for support functions. That doesn't sound right -- it looks as though there's code in timezone.c to watch the file for changes. __connman_timezone_init() sets up an inotify on /etc. When inotify triggers it calls inotify_data(). If the file that changed is localtime, then it calls __co

[PATCH] connmanctl: Implement clock API with new clock commands

2015-10-14 Thread Craig McQueen
--- I'm not sure if you would like this use of commands. I'm interested not only in _setting_ clock settings, but also in reading them conveniently. The precedent in connmanctl is that there is one command to configure a service ('config'), and a separate command to see its properties

RE: connmanctl quitting before multiple return functions called

2015-10-14 Thread Craig McQueen
Patrik write: > On Wed, 2015-10-14 at 17:49 +1100, Craig McQueen wrote: > > I've been looking into extending connmanctl's functionality with > > configuration for the net.connman.Clock API. I've been developing a > > command that can set clock properties, similar to the

RE: Enable/disable Wi-Fi tethering when Wi-Fi dongle is not plugged in

2015-10-14 Thread Craig McQueen
Patrik wrote: > On Wed, 2015-10-14 at 17:53 +1100, Craig McQueen wrote: > > I am working on a system where a USB dongle is used for Wi-Fi > > functionality. The Wi-Fi can be used in client or access point mode, > > configurable. However, it seems it's not possible to enable/

Mailing list e-mails not received

2015-10-14 Thread Craig McQueen
home address (also in Australia) and a subscription response hasn't come through either. -- Craig McQueen ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman

Wi-Fi access point use case - tether DNS and IP address

2015-09-14 Thread Craig McQueen
(or single dns record pointing back to itself)". Essentially the same objective re DNS. Zeroconf mDNS isn't a sufficient solution, due to limited support in Windows and Android.) -- Craig McQueen ___ connman mailing list connman@connman.net https