On 27/04/15 08:54, Patrik Flykt wrote: > On Fri, 2015-04-24 at 16:53 +0300, Slava Monich wrote: >> connman brings down managed interfaces at startup. Sometimes it's unnecessary >> or even harmful. DontBringDownAtStartup list in main.conf allows to make >> exceptions for some interfaces. > Taking the interfaces down was the easiest way to clean up any left-over > routing and IP addressing information from the time before ConnMan > starts. > > The real issue here is what to do with existing interface IP and routing > configuration present before ConnMan starts. Should those be left in > place or removed and re-installed with the information ConnMan is > configured with? In the latter case, we most likely break NFS, etc. > anyway if we touch IP addressing and routing information? There is > always the NetworkInterfaceBlacklist for interfaces that need to be left > alone. This in general, any comments on removing pre-existing interface > information? > > Particular for this patch, which issue was being fixed here?
This resolves the conflict between developer mode (handled by usb-moded) and USB tethering (handled by connman) on Jolla phone. When phone boots up with USB connected, usb-moded handles it and turns on the developer mode. connman interferes with that by bringing interface down. If that happens, USB cable has to be physically reconnected to re-enable developer mode, which breaks automated testing and is generally inconvenient. We need connman to leave rndis0 alone until it's asked to turn USB tethering on. Regards, -Slava > Cheers, > > Patrik > _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman