Bug 468719 - Add USB Tethering to dialog Hotspot
Summary: Add USB Tethering to dialog Hotspot
Status: REPORTED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: NixOS Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-20 13:44 UTC by Schimon Jehudah
Modified: 2023-04-20 14:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Schimon Jehudah 2023-04-20 13:44:37 UTC
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 at https://lists.sr.ht/~mil/sxmo-devel/patches/37970#%3C20230104200811.153696-1-sjehuda@yandex.com%3E

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.

See also
https://invent.kde.org/plasma-mobile/plasma-settings/-/issues/15
https://invent.kde.org/plasma/plasma-mobile/-/issues/248
https://invent.kde.org/plasma/systemsettings/-/issues/27
Comment 1 Schimon Jehudah 2023-04-20 14:37:59 UTC
Please put this at highest priority.
This feature is at least over three years old https://fedoramagazine.org/internet-connection-sharing-networkmanager/

Rational: This feature, as basic and simple as it is...

(1) will (commercially and personally*) affect dozens of Linux distros, projects and companies, namely the embedded and mobile Linux realm;

(2) will turn every device into router and wifi extender.

Please pay attention to the following dialogs.

> Thomas: Hey, Charles! Why are you constantly connecting your PDA to your home computer?
> Charles: Because this PDA is not just a PDA, it's also a WiFi dongle, router and extender!
> Thomas: Impressive! Where did you buy it?

Thomas is now a new Linux user who likes his new portable device and have installed Linux on his family PCs; in 3 years from now, his son will be a contributor or a founder of a Linux project.

> Laura: Hey, Kelly! Why are you always connecting your phone to your home computer?
> Kelly: Because this phone is not just a phone, it's also a PDA, mini computer which I connect with a VNC and a SIM-based router!
> Laura: Wow!

Laura is now a new Linux user who likes her new portable device and have installed Linux on her family PCs; in 5 years from now, She and her son will be contributors or a founders of a Linux project.

* Per household

Taken from: https://gitlab.manjaro.org/manjaro-arm/issues/pinephone/phosh/-/issues/77#note_29463