Patrik,

So the presence of the carrier (cable plugged in) to all ethernet interfaces should trigger auto-connect.

Is there a tracker where I can create an entry for this issue (like bugzilla)?

Will the fix also include auto-connect to gadget interfaces which have the cable plugged in to a computer?

Cheers,
Mihai

On 02/27/2015 09:19 AM, Patrik Flykt wrote:
        Hi,

On Tue, 2015-02-24 at 17:59 +0200, Mihai Neagu wrote:
If you are using Ethernet, then both interfaces should be configured.
In general, the plugged in cable aka carrier for Ethernet was support
to indicate that it gets used. Of course only one can have the default
route of course.
The current feature is that all ethernet interfaces are treated in the
very same manner as every other service; if there already is another
service connected, the newly connected ethernet will not be connected
either. This is a matter of defining a detailed expectation of ethernet
network behavior plus a small amount of fixing.
Currently we support auto-connection to all interfaces (wired, wifi and
gadget) that have carrier, and connecting to just one at a time would
mean a regression in the network stack abilities. Our devices may need
to be connected to several networks at the same time, each one having a
different purpose.In this case,the metric would have various values for
different entries in the routing table.
After re-reading ConnMan documentation, not connecting an ethernet
network that was plugged in is to be considered a bug. The action of a
cable plug-in is documented in the description of the Connect() method
call in doc/service-api.txt as "...the plugging of a cable will trigger
connecting automatically...". This on the initial cable plug-in, it is
possible to disconnect and connect ethernet services via D-Bus later on.

I'll fix this in the near future.

Cheers,

        Patrik

_______________________________________________
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