Closed dlech closed 7 years ago
When testing the 2017-03-01 image, I noticed that Linux was setting up both the RNDIS and the ECM network connections. This prevents Linux from using RNDIS.
One down side to this is that if connman tether uses the same subnet as your host computers other network connection, you will have problems. But, we have have that problem on Mac already so I think it would be better to merge this and figure out an alternate to using connman tether on usb1 (the ECM connection).
This adds a second USB gadget configuration that will be used by Linux. Linux is smart enough to know that RNDIS is not nice, so if it sees RNDIS as the first interface and it sees that there is a second USB configuration, it will prefer the second configuration. This results in only the CDC ECM interface being used on Linux (and older versions of macOS).