1

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?

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

1 Answers1

4

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:

https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/network-api.txt

An example of how to use that API is at:

https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/test-network

There is some more details at:

Host Web Server on Raspberry PI via Bluetooth PAN

ukBaz
  • 1,457
  • 1
  • 6
  • 22