~mil/sxmo-tickets#586: 
USB Tethering

After the doubt has been resolved and instructions are set, I suggest to add a toggle menu item to enable and disable USB Tethering.

  1. Toggle Menu item (toggle)
  2. Status bar to indicate that Tethering is activated
$ nmcli c modify '83bd1823-feca-4c2b-9205-4b83dc792e1f' ipv4.method shared
$ nmcli d reapply usb0
$ nmcli c modify '83bd1823-feca-4c2b-9205-4b83dc792e1f' ipv4.method manual
$ nmcli d reapply usb0
Status
REPORTED
Submitter
~kohn
Assigned to
No-one
Submitted
1 year, 5 months ago
Updated
1 year, 5 months ago
Labels
No labels applied.

~kohn 1 year, 5 months ago

Note: The current instructions for SXMO don't work for me, unless executing the above nmcli commands.

~kohn 1 year, 5 months ago

Getting value shared that indicates that interface is set to tethering mode.

$ nmcli -f ipv4.method con 'USB Networking'
shared

Getting value activated that indicates that tethering is activated.

$ nmcli -f GENERAL.STATE con 'USB Networking'
activated

Also

$ nmcli con 'USB Networking' | grep ipv4.method | awk '{print $2}'
shared
Register here or Log in to comment, or comment via email.