USB internet sharing: android vs. connman gadget driver?

asked 2017-05-25 17:17:41 +0300

mick3 gravatar image

updated 2017-05-30 18:14:10 +0300

In order to enable internet sharing over USB for a Jolla C (modified Intex Aquafish) someone has to install the missing usb-moded configuration packages using "pkcon install" as root.

Afaik there are two alternative packages, usb-moded-connection-sharing-android-config and usb-moded-connection-sharing-android-connman-config.

The usb-moded.spec file says the first one uses the android gadget driver, the second one uses connman gadget driver. Both seem to work fine when installed without the other needed.

The usb-moded-connection-sharing-android-config depends on the udhcpd service in addition, for usb-moded-connection-sharing-android-connman-config using connman this doesn't seem to be needed.

So what is exactly the difference and installing which of them is the prefered way do USB tethering?

Also what does the usb-moded-settings-sailfish package which is not necessary for a working usb-mode daemon?

edit retag flag offensive close delete