Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.22k stars 569 forks source link

Does it work on Raspberry Pi 3 with Raspbian Stretch? #149

Open rjoosen opened 5 years ago

rjoosen commented 5 years ago

Since I only see 64 bit version, I think that is the problem when I run Gnirehtet:

-bash: ./gnirehtet: cannot execute binary file: Exec format error

Do I need to use the Java version instead?

rom1v commented 5 years ago

-bash: ./gnirehtet: cannot execute binary file: Exec format error

You need to compile for ARM architecture.

Either compile directly from the Raspberry Pi, or cross-compile. See https://github.com/Genymobile/gnirehtet/issues/46#event-1285356452.

rjoosen commented 5 years ago

Sorry, but I could use some help here.... how do I compile from my raspberry ? I tried the first command from the instructions on Cross Compile, but my Pi complains about missing packages allready...

chubinmax1 commented 5 years ago

-bash: ./gnirehtet: cannot execute binary file: Exec format error

You need to compile for ARM architecture.

Either compile directly from the Raspberry Pi, or cross-compile. See #46 (comment).

I use gnihertet on Raspberry. And i have compiled GNIREHTET for Raspberry PI 3 Download here