Add USB Tethering to dialog Hotspot
Add "Enabled" button for USB Tethering in dialog Hotspot.
Command:
nmcli connection add type ethernet ifname usb0 ipv4.method shared ipv6.method shared con-name "USB Tethering"
Please also see SXMO patch
Unlike proprietary systems, on postmarketOS (and any Linux system), nmcli
allows the following scenario.
Morris device > Mark's device > WiFi Router > Cables > ISP.
- Morris is connected to Mark's device.
- Mark is connected to WiFi and has executed
nmcli
as show above.
Result
Morris is connected to the internet via Mark's device.
Note
To Morris, Mark's device behaves like a WiFi dongle which appears to him as USB Ethernet.
This is very useful.
Reported also at plasma-mobile#248 (closed)
Edited by SJ SJ