2

UPDATE: this tutorial has some vital info. Firstly, you will need a script called network-setup which is in /usr/share/doc/bluez-test-scripts/examples. Copy the test-network and the bluezutils.py files to /usr/bin and run test-network <MAC address you want to connect to>.

This worked for the first time but it fails to get IP ever since.

I have successfully managed to connect my Pi Zero to my Android phone but the initiate tethering, I need the GUI (Bluetooth manager). Can I setup tethering from the console and maybe even set it to start at boot?

1

You probably want to use bluetoothctrl. See How to Pair your Bluetooth Device when Using Bluez 5.x.

| improve this answer | |
  • Unfortunately it doesn't say much about setting up PAN, nevertheless you are right about bluetoothctrl. I will try it! Thank you very much!!! – alkopop79 Sep 17 '16 at 19:29
1

The solution: test-network <address> nap

NOTE: copy the test-network and bluez-utils.py files from /usr/share/doc/bluez-test-scripts/examples to /usr/bin first!!!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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