diff --git a/_static/images/userguide/tethering/settings-app-usb-item.png b/_static/images/userguide/tethering/settings-app-usb-item.png new file mode 100644 index 00000000..d9a58232 Binary files /dev/null and b/_static/images/userguide/tethering/settings-app-usb-item.png differ diff --git a/_static/images/userguide/tethering/settings-app-usb-page.png b/_static/images/userguide/tethering/settings-app-usb-page.png new file mode 100644 index 00000000..1c87f6a3 Binary files /dev/null and b/_static/images/userguide/tethering/settings-app-usb-page.png differ diff --git a/userguide/advanceduse/reverse-tethering.rst b/userguide/advanceduse/reverse-tethering.rst index 6d65f48a..3ef8a980 100644 --- a/userguide/advanceduse/reverse-tethering.rst +++ b/userguide/advanceduse/reverse-tethering.rst @@ -7,19 +7,19 @@ This is useful if there is no available Wi-Fi connection or you don't have a dat Steps to Set Up Reverse Tethering --------------------------------- -#. Prepare your device (Ubuntu Touch) and your computer: +#. Prepare your *device* (Ubuntu Touch) and your *computer* (Linux): - Connect your *computer* to the internet. - Attach your *device* to your *computer* via USB. - Turn off Wifi and Data on your *device* + - Set your device :doc:`usb in tethering mode ` #. Run the following commands on your *device*: - - Set your device usb in tethering mode: ``gdbus call --system --dest com.meego.usb_moded --object-path /com/meego/usb_moded --method com.meego.usb_moded.set_mode rndis_adb`` - Bring your tethering connection down: ``sudo nmcli connection down tethering`` - Modify your tethering connection: ``sudo nmcli connection modify tethering ipv4.method auto`` -#. Run the following commands on your *computer*: +#. Run the following commands on your *computer*: - Get your interface name: ``ip route show to default via 10.42.0.1`` :: @@ -46,10 +46,10 @@ You should now have a working internet connection on your *device*! Troubleshooting --------------- -If the above steps don't give you working internet connection on your *device* the try these steps on your *computer*: +If the above steps don't give you working internet connection on your *device* then try these steps on your *computer*: - Turn on IP forwarding: ``echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward`` - - Apply Forwarding iptables Rule: ``sudo iptables -P FORWARD ACCEPT`` + - Apply forwarding iptables Rule: ``sudo iptables -P FORWARD ACCEPT`` References ---------- diff --git a/userguide/dailyuse/index.rst b/userguide/dailyuse/index.rst index 35a364db..9dc210e1 100644 --- a/userguide/dailyuse/index.rst +++ b/userguide/dailyuse/index.rst @@ -9,4 +9,5 @@ This section of the documentation details common tasks users may want to do on t location libertine + tethering waydroid diff --git a/userguide/dailyuse/tethering.rst b/userguide/dailyuse/tethering.rst new file mode 100644 index 00000000..3572ab52 --- /dev/null +++ b/userguide/dailyuse/tethering.rst @@ -0,0 +1,18 @@ +Tethering +========= + +This tutorial explains how to enable USB Tethering on your Ubuntu Touch device to share it's internet connection over a USB cable with a computer. + +Go to the settings app and look for the usb icon + +.. figure:: /_static/images/userguide/tethering/settings-app-usb-item.png + + The USB Setting in the settings app. + +On the USB page you can then choose for the USB tethering option + +.. figure:: /_static/images/userguide/tethering/settings-app-usb-page.png + + The USB Setting page. + +And that's it, you are now sharing the internet from your Ubuntu Touch device to your computer