Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. Probably roaming right now! (Fred Ollinger)
   2. [PATCH] Remove IPv4.gateway key in settings if gateway is not
      configured (Craig McQueen)


----------------------------------------------------------------------

Message: 1
Date: Wed, 22 Mar 2017 23:19:15 +0000
From: Fred Ollinger <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Probably roaming right now!
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

I wanted to express gratitude for past emails which were very helpful.


I have a test that will connect and disconnect from a given access point.


WIFI=valid access point path

connmanctl connect $WIFI

# wait for connected

connmanctl disconnect $WIFI
#wait for disconnect then repeat


This test works for a few connects/disconnects then I get "Probably roaming 
right now!"


However, there's no DBUS signal that anything has changed aka that I'm "online".


Trying to connect again with connmanctl says I'm all ready connected. But when 
I check for a connection via DBUS, it says I'm not connected.


What's going on?


1. What state am I in? Connected/disconnected?


2. How can I know via DBUS what state I'm in?


3. Is there a way to prevent this from happening? Ideally, I'd like to be 
"online" as fast as possible like it did the first few connections.


Thanks in advance.


Frederick Ollinger

Software Engineer

Seescan, Inc.


------------------------------

Message: 2
Date: Thu, 23 Mar 2017 11:35:46 +1100
From: Craig McQueen <[email protected]>
To: <[email protected]>
Subject: [PATCH] Remove IPv4.gateway key in settings if gateway is not
        configured
Message-ID:
        <[email protected]>
Content-Type: text/plain

---
 src/ipconfig.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ipconfig.c b/src/ipconfig.c
index 7fdc024..bae988c 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -2335,6 +2335,8 @@ int __connman_ipconfig_save(struct connman_ipconfig 
*ipconfig,
        if (ipconfig->address->gateway)
                g_key_file_set_string(keyfile, identifier,
                        key, ipconfig->address->gateway);
+       else
+               g_key_file_remove_key(keyfile, identifier, key, NULL);
        g_free(key);
 
        return 0;
-- 
2.7.4



------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 17, Issue 19
***************************************

Reply via email to