[Bug 336012] Re: bluetooth network PAN fails to connect to mobile phone

Jamie Lokier jamie at shareable.org
Sat Jul 4 12:12:59 BST 2009

Thanks  Håkon!

The script does not work for me, but adding one more command makes it
work on my Sony-Ericsson K850i.

"hcitool cc $addr; hcitool enc $addr" outputs this for me:

    HCI set encryption request failed: Input/output error

The trick, at least with my phone, is to add "hcitool auth $addr"
between them:

    hcitool cc $addr
    hcitool auth $addr
    hcitool enc $addr
    pand -c "$addr"

I'm attaching the script which I use to connect to the internet over my
phone now.  To use the script, edit the phone_mac= line near the start,
then run the script as 3g_connect or 3g_disconnect (I have one symlinked
to the other).

** Attachment added: "Script used for connecting/disconnecting to the net via a 3g phone"

bluetooth network PAN fails to connect to mobile phone
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in ubuntu.

More information about the Ubuntu-bluetooth mailing list