mirror of
https://github.com/tiyn/wiki.git
synced 2025-11-02 19:31:15 +01:00
32 lines
872 B
Markdown
32 lines
872 B
Markdown
# Gnirehtet
|
|
|
|
[Gnirehtet](https://github.com/Genymobile/gnirehtet) provides a reverse tethering setup for
|
|
[Android](/wiki/android.md) [smartphones](/wiki/smart_device.md#smartphones-and-tablet-computers).
|
|
|
|
## Setup
|
|
|
|
Many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
|
|
package Gnirehtet in the `gnirehtet` package.
|
|
|
|
## Usage
|
|
|
|
This section addresses the usage of Gnirehtet.
|
|
|
|
## Usage
|
|
|
|
The following command can be used to setup the reverse tethering and also run it.
|
|
For it to work the mobile device has to enable `USB Tethering` so the corresponding app can be
|
|
automatically installed (which is internally done using `adb`).
|
|
|
|
```sh
|
|
gnirehtet run
|
|
```
|
|
|
|
Alternatively and only after being set up correctly the reverse tethering can be started and
|
|
stopped with the corresponding two commands that follow.
|
|
|
|
```sh
|
|
gnirehtet start
|
|
gnirehtet stop
|
|
```
|