Am 29.08.2011 00:03, schrieb Olivier Berger:
> Package: network-manager
> Version: 0.8.4.0-2
> Severity: normal
> 
> I've setup a DUN connection over bluetooth, with gnome's bluetooth wizard, 
> which appears in NetworkManager.
> 
> However, when I try to connect it, it will fail.
> 
> Excerpts of syslog (with bluetoothd running with -d option) :
> Aug 28 23:39:45 inf-8657 NetworkManager[5441]: <info> Activation 
> (0C:DD:EF:FC:14:07) starting connection 'Orange No Contract / Mobicarte'
> Aug 28 23:39:45 inf-8657 NetworkManager[5441]: <info> (0C:DD:EF:FC:14:07): 
> device state change: 3 -> 4 (reason 0)
> Aug 28 23:39:45 inf-8657 NetworkManager[5441]: <info> Activation 
> (0C:DD:EF:FC:14:07) Stage 1 of 5 (Device Prepare) scheduled...
> Aug 28 23:39:45 inf-8657 NetworkManager[5441]: <info> Activation 
> (0C:DD:EF:FC:14:07) Stage 1 of 5 (Device Prepare) started...
> Aug 28 23:39:45 inf-8657 NetworkManager[5441]: <info> Activation 
> (0C:DD:EF:FC:14:07) Stage 2 of 5 (Device Configure) scheduled...
> Aug 28 23:39:45 inf-8657 NetworkManager[5441]: <info> Activation 
> (0C:DD:EF:FC:14:07) Stage 1 of 5 (Device Prepare) complete.
> Aug 28 23:39:45 inf-8657 NetworkManager[5441]: <info> Activation 
> (0C:DD:EF:FC:14:07) Stage 2 of 5 (Device Configure) starting...
> Aug 28 23:39:45 inf-8657 NetworkManager[5441]: <info> (0C:DD:EF:FC:14:07): 
> device state change: 4 -> 5 (reason 0)
> Aug 28 23:39:45 inf-8657 NetworkManager[5441]: <info> Activation 
> (0C:DD:EF:FC:14:07) Stage 2 of 5 (Device Configure) complete.
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: plugins/hciops.c:conn_complete() 
> status 0x00
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: src/adapter.c:adapter_get_device() 
> 0C:DD:EF:FC:14:07
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: 
> plugins/hciops.c:remote_features_information() hci0 status 0
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: 
> plugins/hciops.c:remote_name_information() hci0 status 0
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: 
> plugins/hciops.c:link_key_request() hci0 dba 0C:DD:EF:FC:14:07
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: plugins/hciops.c:get_auth_info() 
> hci0 dba 0C:DD:EF:FC:14:07
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: 
> plugins/hciops.c:link_key_request() kernel auth requirements = 0x04
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: 
> plugins/hciops.c:link_key_request() Matching key found
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: 
> plugins/hciops.c:link_key_request() link key type 0x05
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: plugins/hciops.c:auth_complete() 
> hci0 status 0
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: 
> plugins/hciops.c:bonding_complete() status 0x00
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: 
> src/event.c:btd_event_bonding_complete() status 0x00
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: src/adapter.c:adapter_get_device() 
> 0C:DD:EF:FC:14:07
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: 
> src/device.c:device_bonding_complete() bonding (nil) status 0x00
> Aug 28 23:39:46 inf-8657 bluetoothd[5730]: Connection refused (111)
> Aug 28 23:39:46 inf-8657 NetworkManager[5441]: <warn> Error connecting with 
> bluez: Connection refused (111)

This looks suspicious.
Might be related to [1]. What permissions does the device have?
Could you get the permissions of /dev/rfkill and hci0 with getfacl.
Maybe there is a race between hci0 being ready and NM trying to access it.


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582188

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to