Android 4.4.2 reverse tethering onto MacBook Air via Bluetooth PAN - not connecting to internet

4.6k views Asked by At

I'm trying to throttle my device's network connection while testing it on Android studio. My strategy will be to try and reverse tether the phone to my macbook Air so the computer acts as a hotspot. The computer will be connected to the internet via wifi, and should be acting as an internet hotspot for any paired devices.

However the internet connectivity is never set, so the android device never connects online.

What I did:

  • Turn on network sharing via Wi-Fi, checked the Blue Tooth Pan Option. enter image description here
  • Paired the devices (i.e. the phone is detected by the macbook and vice/versa.
  • Set up a static IP on the blue tooth pan configuration (see image). enter image description here

And here is my Bluetooth setup on the device: enter image description hereenter image description here

My phone is not rooted and frankly I'd rather not have to root it - but for some reason the phone is not detecting Bluetooth on the macbook air. But the macbook does detect the phone and is able to send files to it.

What gives?

2

There are 2 answers

0
Javier Tena On

I did working reverse tethering from MacBook Pro El Capitan to android mobile. Sharing the network Macbook Pro with Bluetooth PAN.

The trick is, to have android mobile rooted. First connect your mobile to any wifi, change advanced network options in mobile as Static IP, 192.168.2.1 router 192.168.2.1 DNS 8.8.8.8 8.8.4.4.

With terminal emulator apk, enter: su dhcpcd bt-pan

Now you can close your wifi in mobile.

be sure you have bluetooth pan configured as "Use DHCP with manual address" option matching same IP and DNS your put in android.

Note; of course android paired with the macbook, and sharing network and sharing bluetooth options active.

All working very stable.

1
zed On

Recently, I've tried to check transfer packages by proxy-ing from Mac to Android device. I think Bluetooth shouldn't be used for setting the shared internet but instead you should just share from your Ethernet to Wi-Fi.

(I tried to put in a comment as this is more like it since I don't have any images or a concrete explanation... but it wouldn't allow it).