USB internet sharing: android vs. connman gadget driver?

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

mick3 gravatar image

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

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

Comments

Here, Jolla mentions theusb-moded-connection-sharing-android-connman-config package. The usb-moded-settings-sailfish only has the file /etc/usb-moded/usb-moded.ini with mountpoints and for network the fixed IP address 192.168.2.15. No idea what this is for.

Sebix ( 2020-05-23 16:28:52 +0200 )edit