Hi Patrik
Thank you very much for your reply.
That is doable. With the Session API and its usage of session specific routing
tables, all session routing tables have the default route set.
The default routing table is the only one that has exactly one default route
set, this in order not to change the normal behavior if sessions are created.
Sorry Patrik. I didn't understand what this means. Do you mind explaining this
in more detail?
The 'online' state indicates that proxies are either not needed or
configured correctly for pacrunner,
http://git.kernel.org/cgit/network/connman/pacrunner.git/ Pacrunner
support is found in Fedora's libproxy package so that all applications using
libproxy will get the correct proxies and can connect successfully to
Internet.
But back to your original question, internet is reachable for the WiFi user
also in state 'ready'.
The problem here is wifi_user can't know the 'ready' status when the status
gets 'ready'.
I suppose Connman notifies only online/offline status. Therefore wifi_user
can't receive 'ready' notification from Connman.
Session_policy_local plugin doesn't set a route(ip route) when the status is
'ready'.
So in this case wifi_user can use ethernet.
I'd like ethernet_user to use only ethernet and wifi_user to use only wifi.
Could you tell me my misunderstanding if any.
Best Regards.
Yusuke Nakamura 中村 勇介
Advanced Driver Information Technology
Software Group (SWG)
Engineer
Tel: 0566-61-5117(ext:551-43641)
Fax:0566-25-4774
Email:ynakam...@jp.adit-jv.com
-Original Message-
From: Kojima, Tsuyoshi (HISOL; ADITJ/SWG)
Sent: Monday, January 19, 2015 2:54 PM
To: Nakamura, Yusuke (ADITJ/SWG)
Subject: RE: would it be possible some of technologies get online state
simultaneously?
日本語で返事書いてみました。
-Original Message-
From: connman [mailto:connman-boun...@connman.net] On Behalf Of Patrik
Flykt
Sent: Friday, January 16, 2015 5:18 PM
To: connman@connman.net
Cc: Ishikawa, Tetsuri (ADITJ/SWG)
Subject: Re: would it be possible some of technologies get online state
simultaneously?
Hi,
On Fri, 2015-01-16 at 15:08 +0900, Nakamura, Yusuke (ADITJ/SWG) wrote:
I’m trying to use ConnMan to take care of network arbitration for my
automotive embedded system.
Cool!
Now the question is whether some of technologies get “online”
simultaneously.
Only one of the services can be 'online' at any one time. This applies both
for Session and Service APIs.
I’d like to configure available bearers per application (per user) by
using session_policy_local_plugin.
For instance while “etherner_user” is connecting to the internet via
Ethernet, “wifi_user” is connecting to the internet via WiFi.
That is doable. With the Session API and its usage of session specific
routing tables, all session routing tables have the default route set.
The default routing table is the only one that has exactly one default route
set, this in order not to change the normal behavior if sessions are created.
ちょっと何言ってるかわからないです。
I think wifi_user’s session does not get online even if wifi internet
connection gets available.
I suppose that is because “ethernet” is preferred technology.
Actually, if ethernet is online, it means the connectivity check succeeded.
Ethernet could also have stayed as 'ready', should the connectivity check
have failed.
“wifi_user” can’t receive notification through session.
session_policy_local_plugin configure ip route when get “online”.
Therefore I think in above case “wifi_user” can’t connect to the
internet.
State 'ready' is enough to be connected to the internet. The difference
here is that 'online' provides a bit more information, it indicates that
the additional connectivity check to {ipv4,ipv6}.connman.net succeeded.
The 'online' state indicates that proxies are either not needed or
configured correctly for pacrunner,
http://git.kernel.org/cgit/network/connman/pacrunner.git/ Pacrunner
support is found in Fedora's libproxy package so that all applications using
libproxy will get the correct proxies and can connect successfully to
Internet.
But back to your original question, internet is reachable for the WiFi user
also in state 'ready'.
それはわかっています。問題は、stateがreadyでstayしたとき、wifi_user
がreadyステータスを知ることができないという事です。
また、session_policy_local pluginはreadyステータスではルートの設定(ip
route)をしないので、wifi_userはethernetを使用できてしまいます。
Ethernet_userにはethernetのみを、wifi_userにはwifiのみを使用させたい
のです。
Cheers,
Patrik
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman