1

I've seen a bunch of stuff where a phone provides internet to pi, but I was wondering the feasibility of the other way around, where the pi is connected via Bluetooth (or USB) to an android device which shares the pi's interneconnection?

I've tried just connecting via bluetoothctl, but that didn't work (unsurprisingly).

Does anyone have any experience with this?

2
  • The same question is here. Unfortunately, no answer. Also, if you are using Raspbian with GUI (not headless), this link might be helpful with an installation of blueman.
    – M. Rostami
    Jan 19, 2020 at 6:37
  • Please explain why you can't simply set up a wireless AP on the Pi. Jan 27, 2020 at 8:36

1 Answer 1

1

Disclaimer: This answer does not endorse any software company or it's software. I am just a user of the following suggested program and nothing else.

There is a program called gnirehtet to reverse tethering for Android. I have used it in Raspberry Pi running Raspbian. First, go to release page. Download the gnirehtet-rust-linux64 ZIP file. Extract the APK file from it and install it in the Android device (>= 5.0).

That official release page does not provide the ARM version which is required for Raspberry Pi. I have compiled the ARM versions which can be downloaded here. Copy it in Raspberry Pi. The program also requires ADB (Android Debug Bridge) i.e. android-tools-adb package for Raspbian. Now run gnirehtet start; gnirehtet relay to start reverse tethering. More usage details can be found in the release page. There are some issues (#46, #256) that may be related with this topic.

2
  • apologies for the late response and if im missing something, but what should I be doing with the arm version once its on my Pi? I can't run it even after permission changes. Jan 31, 2020 at 1:49
  • @BenjaminFasick OK, I'll edit the answer with more details. Basically, the project readme file has extensive details.
    – Biswapriyo
    Jan 31, 2020 at 6:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.