ation:
Install the bluez-compat package.
Edit /etc/default/bluetooth to add the following lines:
1
PAND_ENABLED=1
2
PAND_OPTIONS="--role=PANU"
Restart the Bluetooth service: /etc/init.d/bluetooth restart
Add the BNEP network adapter to the /etc/network/interfaces file by appending the following line: iface bnep0 inet dhcp
Get the Bluetooth address of your phone by running hcitool scan and jotting down the address next to your phone’s name.
Now the bits and pieces that need to be done each time:
Pair your computer with your iPhone. If you’re using GNOME, the standard Bluetooth applet can handle that; presumably that’s true of the other flavours of Ubuntu as well.
To connect, run these commands in your favourite shell, replacing 00:aa:bb:cc:dd:ee with the Bluetooth address you jotted down earlier:
1
sudo pand --connect 00:aa:bb:cc:dd:ee -n
2
sudo ifup bnep0
At that point, life should be good and you should be connected. To disconnect later:
1
sudo ifdown bnep0
2
sudo pand -K