Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 349
Laurent Avatar asked Jun 19 '15 08:06

Laurent


People also ask

How do I fix Bluetooth PAN not connected Mac?

Choose Apple menu > System Preferences, click Network , then click Bluetooth PAN in the list on the left. If Bluetooth PAN isn't available, click the Add button , click the Interface pop-up menu, then choose Bluetooth PAN.

How do I connect my Bluetooth PAN to my macbook air?

Alternatively, you can navigate to System Preferences > Network. Click Bluetooth PAN on the left-hand side. If Bluetooth PAN isn't visible, click the + button, and select Bluetooth PAN from the interface popup menu. Finally, select your iPhone from the device popup menu and click Connect.


1 Answers

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.

like image 54
Javier Tena Avatar answered Sep 28 '22 06:09

Javier Tena