You are not logged in.
I've tried to make connection to my new Nokia N70 phone via bluetooth. I've been able to find the phone via gnome-bluetooh-manager but I'm not been able to do file transfers.
:!: Nautilus doesn't recognise the bluetooth:/// location.
:!: I'm not able to make a pair with my phone and computer
# hciconfig
hci0: Type: USB
BD Address: 00:10:DC:EA:5B:56 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:3074 acl:3 sco:0 events:71 errors:0
TX bytes:288 acl:3 sco:0 commands:26 errors:0
# hcitool dev
Devices:
hci0 00:10:DC:EA:5B:56
# hcitool inq
Inquiring ...
00:17:4B:17:07:54 clock offset: 0x7401 class: 0x50020c
# hcitool scan
Scanning ...
00:17:4B:17:07:54 murkus N70
What should I try? I'm fairly newbie when it comes to bluetooth..
.murkus
Offline
The pairing problem has to be sorted first - no point looking at anything else until that's working. I don't use gnome-bluetooth, so the following is based on the base bluetooth install only.
Have a look in /etc/bluetooth/hcid.conf to confirm that the options {} section has
# PIN helper
pin_helper /etc/bluetooth/givepin;
in it. You then need to create the givepin script:
# givepin
#!/bin/sh
echo "PIN:0000"
and put in the PIN you want instead of 0000. The script should be root:root, mode 710, for security.
If you want to see what happens next, open another terminal, and tail your everything.log in it - that's optional, but informative. In the first window, try a connection:
hcitool cc 00:17:4B:17:07:54
The PC will send the PIN in the script to the phone, and the phone should pop up a dialog looking for the same pin. Enter it, and you have a successful pair. The log will show a few messages confirming all this, and
hcitool con
will show that the connection is active. You can now disconnect:
hcitool dc 00:17:4B:17:07:54
Hopefully, that will help with the higher-level stuff in gnome-bluetooth.
Offline
Apr 9 13:20:28 pinkku hcid[3867]: Bluetooth HCI daemon
Apr 9 13:20:28 pinkku hidd[3871]: Bluetooth HID daemon
Apr 9 13:20:28 pinkku sdpd[3869]: init_server: binding UNIX socket: Permission denied
Apr 9 13:20:28 pinkku sdpd[3869]: main: Server initialization failed
Offline
I'm presuming that's the response to
/etc/rc.d/bluetooth start
- right? Obvious question - did you run it as root?
Offline
Tomk, Thanks for your help! much appreciated
I rechecked, I did it as sudo and afterwards tried with su. I got forward. Now my problem is that phone does recognise the
hcitool dc 00:17:4B:17:07:54
command, but still doesn't make a pair. I've got the same password in /etc/bluetooth/pin and in the phone.
Offline
Ok, I got it working. sort of.
bluetooth:/// still gives error in nautilus but transfer from commannd line with gnome-obex-send works.
It seems that repeated restarts of /etc/rc.d/bluetooth did the trick. beats me why.. :-|
Thanks for your help, tomk! :-D
Offline
hcitool dc is the disconnect command. Did hcitool cc work?
Offline
Actually I had to run hcitool cc and then from phone select "find devices" Without both it didn't work.
Offline
OK - so you have a pair now?
Offline
OK - so you have a pair now?
Yes, and I'm able to transfer files from commandline. I don't know why it doesn't work with nautilus though.
Offline