I want to share my mobile data from my phone to the pi (so when I connect to the pi, it automatically gets internet, so I dont have manually setup a mobile hotspot).

I tried this with some older tutorials I found but if I try to establish a PAN connection it says:

pi@raspberrypi:~ $ sudo pand
sudo: pand: command not found

Is pand depricated? Do I have to use something else to this? Or is there an alternative to use for my scenario?

  • 1
    No idea, but have you installed pand? It doesn't sound like a package which would be present by default.
    – joan
    Commented Oct 7, 2021 at 19:39

1 Answer 1


pand has been deprecated as it uses an API that isn't supported any more. The new way of doing this is to use the D-Bus API which is documented at:


An example of how to use that API is at:


There is some more details at:

Host Web Server on Raspberry PI via Bluetooth PAN

  • im testing it with your links asap, thanks for the answer
    – Jannik
    Commented Oct 8, 2021 at 18:26

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.