I am trying to configure Bluetooth PAN on raspberry in order to be able to access it over bluetooth from android ssh client. I was following tutorial. All works fine until the command sdptool get Lan
that gives me Failed to connect to SDP server on FF:FF:FF:00:00:00: No such file or directory
. How to solve it?
Asked
Active
Viewed 3.2k times
12

J.Olufsen
- 223
- 1
- 2
- 7
1 Answers
32
This might help
You need to run the blue tooth daemon in compatibility mode to provide deprecated command line interfaces. You're running Bluez5 and you need some Bluez4 functions. You can do this by editing this file
/etc/systemd/system/dbus-org.bluez.service
and changing this line
ExecStart=/usr/lib/bluetooth/bluetoothd
to this
ExecStart=/usr/lib/bluetooth/bluetoothd --compat
and then restarting bluetooth like this
sudo systemctl daemon-reload
sudo systemctl restart bluetooth
and you'll also have to change permissions on /var/run/sdp
sudo chmod 777 /var/run/sdp
bluetooth.btcommon.BluetoothError: (2, 'No such file or directory')
– Anik Islam Abhi Nov 28 '17 at 09:352021-01-11-raspios-buster-armhf.img
. Could RaspberryPi and Debian PLEEEZE get their sh*t together on this? A bot closed the GitHub issue for this bug – Phlip Feb 17 '21 at 14:53