This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Network > gnirehtet-bin (2.5)

gnirehtet is a tool that provides reverse tethering for Android

This is a repackage of the 64 bit binary supplied by upstream,
the version written in Rust.

gnirehtet requires adb as runtime dependency. adb is part of the
package android-tools on slackbuilds.org . adb must be in PATH,
so if it's not installed through the aforementioned package,
either alter PATH or drop it into the current working directory,
so gnirehtet finds it.

gnirehtet requires the Android device to be switched to
Developer Mode and have the following options switched on
(tested on a Redmi 9C NFC phone):

- USB debugging
- Install via USB
- USB debugging (Security settings)

`gnirehtet install` requires gnirehtet.apk in current directory
(I am not sure about it?)
gnirehtet.apk is packaged into /usr/share/gnirehtet/. Copy or symlink it
from there into current directory
When running `gnirehtet install`, despite having the "Install via USB"
option enabled, if adb fails, just copy `gnirehtet.apk` to the phone
and install it directly from the phone

gnirehtet-2.5 has two problems:

1. Sometimes the client (the phone) randomly disconnects. gnirehtet
prints a log message to stdout, but keeps working. The simplest
(but sometimes inconvenient) fix is to restart gnirehtet on the
desktop. This is true for both `gnirehtet run` and `gnirehtet autorun`
commands. A workaround that automates the restart of gnirehtet in
such situations is described in comments here:

https://github.com/Genymobile/gnirehtet/issues/352

2. When hitting the square soft key in Android to kill all apps that
run in background, gnirehtet gets killed too, the phone disconnects
from the server running the desktop and the problem is reduced to 1.
the workaround described there fixes 2. as well

This binary was compiled on Aug 16, 2020.

Maintained by: toolonely
Keywords: gnirehtet,tethering,android
ChangeLog: gnirehtet-bin

Homepage:
https://github.com/Genymobile/gnirehtet

Source Downloads (64bit):
gnirehtet-rust-linux64-v2.5.zip (48d29d23691d6a1daebca68573684d4a)

Download SlackBuild:
gnirehtet-bin.tar.gz
gnirehtet-bin.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds