Ubuntu – How to enable internet sharing via USB Ubuntu 20.04 to android 6.0.1 and 10

20.04androidinternetusb

Internet connection on Ubuntu is by Ethernet cable.
I want to connect two devices and share internet from Ubuntu to Samsung Galaxy Note Edge [SM-N915FY; android: 6.0.1] and Samsung Galaxy Note 9 [SM-N960F; android 10] by USB cable. I have read all previous topics about sharing internet, tired all but I have failed to share data.

In Connections – System Settings Module -> tab IPv4 changed method to Shared to other computers, but still not working.

Of course I've accepted permission to access by PC on phone.
There is no reverse tethering option on both Samsung Notes. Also tired to enable USB debugging.

Best Answer

Pretty old question but there is a simple way, thanks to an amazing tool

  1. obtain Gnirehtet
  2. install adb and allow USB debugging
  3. run ./gnirehtet run

See https://www.ubuntubuzz.com/2019/09/android-reverse-tethering-with-ubuntu-1804.html

Related Question