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:
And here is my Bluetooth setup on the device:
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?
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With