Hi,

On to, 2014-06-12 at 09:15 +0000, Natarajan, Ponniah (P.) wrote:
> Hi,
> 
> I am using connman v1.21 and have few observation and queries to be 
> clarified. Could you please have look at it and clarify my queries.

Please upgrade to 1.24 if possible, there is no use using old versions.

> 
> 
> 1.    Connman is used to manage wifi, Ethernet & usb gadget technologies in 
> our linux based system.  With these configuration, connman detects services 
> for each technologies as
> 
> *AR Wired                ethernet_1eed19271ab3_cable
> *A  Wired                ethernet_0250316b6462_cable
> *   ASUS_2.4G            wifi_00025b112321_415355535f322e3447_managed_none
> 
> ethernet_1eed19271ab3_cable - corresponds to Ethernet port eth0
> ethernet_0250316b6462_cable - corresponds to USB gadget usb1
> 
> I assigned IP address to Ethernet port by using ifconfig.
> 
> connman is not able to automatically assign IP address for 
> ethernet_0250316b6462_cable service unless I remove the Ethernet cable from 
> my device. But at the same time with Ethernet port connect, I am able to use 
> the connmanctl and able to connect to usb1 interface.
> 
> Is connman supports multiple Ethernet services at a time?

Yes, multiple ethernet services are supported.

We have noticed that some usb gadget devices do not properly report
cable connect status to kernel so ConnMan will not know if cable is
connected in that case. Perhaps this is the issue that you are seeing.


> Why it is not able to assign IP address when already Ethernet port is 
> connected?
> 
> Is there a differentiation between Ethernet & usb gadget technologies ? why 
> usb gadget is identified as Ethernet service?

Gadget is very similar technology as ethernet, but it has different
devtype so they are different slightly.

> 
> 
> 2.    When Ethernet cable is connected but there is no interface connection, 
> I am able to connect to wifi network which has internet connection. But 
> internet connection is not working for wifi connection, still connman trying 
> to use the Ethernet for internet connection. Is this the expected behavior 
> and how connman works when there is multiple connections available?

You can tweak the technology connect order from /etc/connman/main.conf
file, see PreferredTechnologies setting. You can specify which
technologies are connected and which order.

> 
> 
> 
> 3.    I also did another analysis where we have connman to manage only our 
> wifi network. Other technologies are disabled in the connman settings.
> 
> I use system dhclient to obtain the IP address for other technologies like 
> usb1. In this case when wifi network is connected, I am not able to obtain 
> the IP address for my usb gadget interface (usb1) which uses system dhclient 
> to assign the IP address.
> 
> Questions:
> Is it possible to run connman & system dhclient in parallel?

If these two programs are not using same network interfaces, then it
might be possible to do so although I have not tested this. Why would
you want to do this anyway, connman has quite working dhcp
implementation.

> Is there a way to configure connman to use the external system dhclient 
> instead of its own implementation?

You can blacklist some network interfaces in connman, just use the -I
command line option.

> 
> 
> Basically I want to use connman only for wifi technologies and control other 
> technologies by our system application. Is it possible? If yes how this can 
> be configured in connman?

I would recommend that you just use connman only in your device, it is
just a management nightmare to try to separate wifi and other techs to
different network managers.

Is there some problems why you would not want connman to manage all the
networks in your device?


Cheers,
Jukka



> 
> Thanks in advance for your help.
> 
> 
> Regards,
> Ponniah Natarajan.
> ------------------------------------
> Visteon Electronics, India.
> Ph Off  : +91-44-49477791
> Mob     : +91-98401-08041
> Mail to : [email protected]<mailto:[email protected]>
> ------------------------------------
> 
> _______________________________________________
> connman mailing list
> [email protected]
> https://lists.connman.net/mailman/listinfo/connman


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

Reply via email to