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. Re: Where does connman find these DNS ? (Patrik Flykt)
   2. Re: Where does connman find these DNS ? (Pierre Couderc)
   3. Re: Where does connman find these DNS ? (Pierre Couderc)
   4. difference between wifi states (Fred Ollinger)
   5. Re: difference between wifi states (Lukasz Nowak)


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

Message: 1
Date: Tue, 21 Mar 2017 08:27:45 +0200
From: Patrik Flykt <[email protected]>
To: Pierre Couderc <[email protected]>, [email protected]
Subject: Re: Where does connman find these DNS ?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"

On Mon, 2017-03-20 at 18:58 +0100, Pierre Couderc wrote:
> On 03/20/2017 06:46 PM, Pierre Couderc wrote:
> > I find 2 unexpected (IPCV6) DNS in my resolv.conf generated by
> > connman.
> > 
> 
> Sorry : IP V6 DNSs

They are taken from IPv6 Router Advertisment DNS option. That means
your device should have IPv6 connectivity also, check with e.g. 'ip
addr'.

Cheers,

        Patrik



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

Message: 2
Date: Tue, 21 Mar 2017 07:45:52 +0100
From: Pierre Couderc <[email protected]>
To: [email protected]
Subject: Re: Where does connman find these DNS ?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

On 03/21/2017 07:27 AM, Patrik Flykt wrote:
> On Mon, 2017-03-20 at 18:58 +0100, Pierre Couderc wrote:
>> On 03/20/2017 06:46 PM, Pierre Couderc wrote:
>>> I find 2 unexpected (IPCV6) DNS in my resolv.conf generated by
>>> connman.
>>>
>> Sorry : IP V6 DNSs
> They are taken from IPv6 Router Advertisment DNS option. That means
> your device should have IPv6 connectivity also, check with e.g. 'ip
> addr'.
>
> Cheers,
>
>       Patrik
Thank you, you confirm what I had supposed.
I understand that this is not a connman problem, but is there a simple 
way to check what is sent by isc-dhcp-server ?



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

Message: 3
Date: Tue, 21 Mar 2017 08:56:46 +0100
From: Pierre Couderc <[email protected]>
To: [email protected]
Subject: Re: Where does connman find these DNS ?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

On 03/21/2017 07:27 AM, Patrik Flykt wrote:
> On Mon, 2017-03-20 at 18:58 +0100, Pierre Couderc wrote:
>> On 03/20/2017 06:46 PM, Pierre Couderc wrote:
>>> I find 2 unexpected (IPCV6) DNS in my resolv.conf generated by
>>> connman.
>>>
>> Sorry : IP V6 DNSs
> They are taken from IPv6 Router Advertisment DNS option. That means
> your device should have IPv6 connectivity also, check with e.g. 'ip
> addr'.
>
> Cheers,
>
>       Patrik
>
What is surprising anyway is that on my local nerwork, I have this 
problem only with PC using connman, not with those which use resolvconf.
Maybe I sholuld disable IPV6 (wich is not used, even if maybe enabled by 
default,  in my local network) at connman level. Is it possible ? I am 
lost in connman doc.


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

Message: 4
Date: Tue, 21 Mar 2017 17:33:29 +0000
From: Fred Ollinger <[email protected]>
To: "[email protected]" <[email protected]>
Subject: difference between wifi states
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

>From the documentation there's a "ready" state and an "online" state.


While connecting to wifi using conmann, I noticed that "ready" is much faster 
than "online".


My question is what's the difference b/w "ready" and "online"?


If a wifi connection is "ready" can I connect to the Internet?


I'm trying to determine whether I should use "ready" or "online" to determine 
whether a connection is successful.


"ready" would be better because it's faster.


Thanks.


Frederick Ollinger

Software Engineer

Seescan, Inc


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

Message: 5
Date: Tue, 21 Mar 2017 18:24:07 +0000
From: Lukasz Nowak <[email protected]>
To: Fred Ollinger <[email protected]>
Cc: [email protected]
Subject: Re: difference between wifi states
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252

Hi Frederick,

Ready means that your connection has received full IP configuration (most 
likely from dhcp).
Online is (by default) achieved by ConnMan making an http get request to:
#define STATUS_URL_IPV4  "http://ipv4.connman.net/online/status.html";
or
#define STATUS_URL_IPV6  "http://ipv6.connman.net/online/status.html";

Depending on your network speed, and distance to connman.net, this can take a 
short while.
In fact, if you are unlucky with the state of the internet it might even fail 
completely. This would happen as well if your firewall is blocking outgoing 
port 80 connections to the internet (I had that rule with a corporate firewall 
in one company).

A service is usable in the Ready state. Although if the online check fails, the 
top/default service might get "downgraded" and default routes might get 
deleted. Especially if you have more than one connection available (e.g. 
ConnMan might fall back to Ethernet). In that case you may end up with just a 
local subnet route.

Lukasz



On 21/03/17 17:33, Fred Ollinger wrote:
> From the documentation there's a "ready" state and an "online" state.
> 
> 
> While connecting to wifi using conmann, I noticed that "ready" is much faster 
> than "online".
> 
> 
> My question is what's the difference b/w "ready" and "online"?
> 
> 
> If a wifi connection is "ready" can I connect to the Internet?
> 
> 
> I'm trying to determine whether I should use "ready" or "online" to determine 
> whether a connection is successful.
> 
> 
> "ready" would be better because it's faster.
> 
> 
> Thanks.
> 
> 
> Frederick Ollinger
> 
> Software Engineer
> 
> Seescan, Inc
> _______________________________________________
> connman mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/connman
> 


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

Subject: Digest Footer

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


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

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

Reply via email to