Comment 24 for bug 211157

Revision history for this message
Josiah Yoder (yoder2) wrote :

I had a similar problem the second time I tried to connect to my phone. Every time I typed the four-digit pin on both the phone and the computer, it would connect and then immediately hang. I ended up not connecting with the bluetooth panel applet, and proceeding straight to the following commands. Perhaps it is somehow still connected despite rebooting?

#!/bin/sh
ADDRESS=00:19:A0:A2:70:55
sudo hcitool cc $ADDRESS &&
sudo hcitool auth $ADDRESS &&
( sudo rfcomm connect 0 $ADDRESS 16 </dev/null >/dev/null & )
sleep 2
sudo chmod 666 /dev/rfcomm0

which worked, even though it was a bit finicky.