Sto diventando s*****o a cercare di configurare il bluetooth. Ho installato bluez da slacky. Infatti il cellulare vede il pc, il pc vede il cellulare, riesco a inviare files e tutti sono felici e contenti. Però vorrei collegarmi via GPRS in internet, usando rfcomm.
Vi faccio vedere tutti i passaggi:
Codice: Seleziona tutto
root@darksatar:~# /etc/rc.d/rc.messagebus start
Starting system message bus: /usr/bin/dbus-uuidgen --ensure ; /usr/bin/dbus-daemon --system
root@darksatar:~# /etc/rc.d/rc.bluetooth start
Starting Bluetooth subsystem: hcid sdpd rfcomm.
Enabling d-bus discovery
root@darksatar:~# tail /var/log/messages -n 12
May 28 19:35:38 darksatar hcid[2825]: Bluetooth HCI daemon
May 28 19:35:38 darksatar sdpd[2829]: Bluetooth SDP daemon
May 28 19:35:38 darksatar sdpd[2829]: Starting SDP server
May 28 19:35:38 darksatar kernel: Bluetooth: Core ver 2.7
May 28 19:35:38 darksatar kernel: NET: Registered protocol family 31
May 28 19:35:38 darksatar kernel: Bluetooth: HCI device and connection manager initialized
May 28 19:35:38 darksatar kernel: Bluetooth: HCI socket layer initialized
May 28 19:35:39 darksatar kernel: Bluetooth: L2CAP ver 2.7
May 28 19:35:39 darksatar kernel: Bluetooth: L2CAP socket layer initialized
May 28 19:35:39 darksatar kernel: Bluetooth: RFCOMM ver 1.5
May 28 19:35:39 darksatar kernel: Bluetooth: RFCOMM socket layer initialized
May 28 19:35:39 darksatar kernel: Bluetooth: RFCOMM TTY layer initialized
Codice: Seleziona tutto
root@darksatar:~# tail /var/log/messages -n 8
May 28 19:37:17 darksatar kernel: usb 1-1: new full speed USB device using uhci_hcd and address 3
May 28 19:37:28 darksatar kernel: Bluetooth: HCI USB driver ver 2.8
May 28 19:37:28 darksatar hcid[2825]: HCI dev 0 registered
May 28 19:37:28 darksatar kernel: usbcore: registered new driver hci_usb
May 28 19:37:29 darksatar hcid[2825]: HCI dev 0 up
May 28 19:37:29 darksatar hcid[2825]: Device hci0 has been added
May 28 19:37:29 darksatar hcid[2825]: Starting security manager 0
May 28 19:37:29 darksatar hcid[2825]: Device hci0 has been activatedCodice: Seleziona tutto
root@darksatar:~# hcitool scanning
Scanning ...
00:12:56:4F:8E:89 Alex the #Codice: Seleziona tutto
root@darksatar:~# tail /var/log/messages -n 2
May 28 19:39:58 darksatar hcid[2825]: pin_code_request (sba=11:11:11:11:11:11, dba=00:12:56:4F:8E:89)
May 28 19:39:58 darksatar hcid[2825]: link_key_notify (sba=11:11:11:11:11:11, dba=00:12:56:4F:8E:89)Codice: Seleziona tutto
root@darksatar:~# rfcomm connect 0 00:12:56:4F:8E:89 6
Can't open RFCOMM device: No such file or directoryCodice: Seleziona tutto
signal sender=:1.0 -> dest=(null destination) path=/org/bluez/hci0; interface=org.bluez.Adapter; member=RemoteDeviceConnected
string "00:12:56:4F:8E:89"
signal sender=:1.0 -> dest=(null destination) path=/org/bluez/hci0; interface=org.bluez.Adapter; member=RemoteNameUpdated
string "00:12:56:4F:8E:89"
string "Alex the #"
signal sender=:1.0 -> dest=(null destination) path=/org/bluez/hci0; interface=org.bluez.Adapter; member=RemoteDeviceDisconnected
string "00:12:56:4F:8E:89"la versione di dbus è dbus-1.0.2-i486-3sl. se volete la lista dei files basta chiederlo.
c'è qualcuno che può darmi una mano? grazie mille. non so più che pesci pigliare.

