USB tethering: usb gadget config missing function
<! -- INSTRUCTIONS What not to report
- Bugs in unofficial builds or anything not downloaded from our official portal
- Missing Builds
- Problems with the website
- Asking for device support
- Feature requests
If you need help please see https://www.lineageos.org/community/
Anything between <!- - and - -> won't be shown when your issue is created. -->
Turn on USB tethering -> get rndis0 interface
Turn on USB tethering -> don't get rndis0 interface
Problem seems to be the usb gadget configuration. It's missing the link to the rndis function in the config. This can be fixed manually as follows:
cd /config/usb_gadget/g1 ln -s functions/rndis.rndis configs/b.1
After that, if I set the USB mode to tethering, the rndis0 interface is set up correctly and I can connect from the PC.
/device BQ Aquaris X /version lineage-16.0 /date 2019-08-18 /kernel 4.9.189-perf+ /baseband ... /mods ...
I have read the directions.