1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-01-11 09:09:45 +01:00
Files
wiki/wiki/linux/gnirehtet.md

1.3 KiB

Gnirehtet

Gnirehtet provides a reverse tethering setup for Android smartphones.

Setup

Many Linux package managers package Gnirehtet in the gnirehtet package.

Usage

This section addresses the usage of Gnirehtet.

Setting Up and Running Reverse Tethering

The following command can be used to setup the reverse tethering and also run it. For it to work the Android device has to enable USB Debugging so Gnirehtet can automatically be installed (which is internally done using adb). Additionally Use USB for has to be set to File Transfer and not to USB Tethering as this would start the normal tethering process and resolving internet access from the Linux system to the Android device and not the other way around.

The initiating of the reverse tethering can be done by using the following command.

gnirehtet run

When the run command is active the reverse tethering can be started and stopped using the following commands. If the run command is not active the reverse tethering will not work.

gnirehtet start
gnirehtet stop