I am running bluez under Fedora-6 (I have installed all bluez* packages) and want to link to my phone (a Sony-Ericsson T630) using gnokii. Unfortunately, I seem to be unable to set a bluetooth pin on my computer.
When I try to connect (with "gnokii --identify") the phone asks for the pin, but whatever I enter on the phone I am told there is a Passkey mismatch.
I notice that /etc/bluetooth/hcid.conf came without any pin_helper entry. I tried the following three:
# PIN helper # pin_helper dbus_pin_helper; # pin_helper /usr/bin/bluez-pin; pin_helper /etc/bluetooth/feed-pin.sh
In the last case feed-pin.sh reads
#!/bin/sh echo "PIN:0000"
and has mode 755. I ran "sudo service bluetooth restart" after each change. I also ran "sudo bluez-pin --dbus &".
As far as I can see a window should came up on my laptop asking me to enter a pin, but nothing came up.
More recently, I downloaded and installed kdebluetooth and kdebluetooth-devel from the redhat-kde site. Unfortunately I could not find any documentation for this, and no commands I gave seemed to have any useful effect.
Incidentally, when I ran "rpm -ql kdebluetooth" I notices a large number of *.desktop files. Am I right in thinking that these are potentially at least entries in the Fedora menu? If so, how does one add them to the menu?
Any advice or suggestions gratefully received.
On 3/20/07, Timothy Murphy tim@birdsnest.maths.tcd.ie wrote:
I am running bluez under Fedora-6 (I have installed all bluez* packages) and want to link to my phone (a Sony-Ericsson T630) using gnokii. Unfortunately, I seem to be unable to set a bluetooth pin on my computer.
When I try to connect (with "gnokii --identify") the phone asks for the pin, but whatever I enter on the phone I am told there is a Passkey mismatch.
I notice that /etc/bluetooth/hcid.conf came without any pin_helper entry. I tried the following three:
# PIN helper # pin_helper dbus_pin_helper; # pin_helper /usr/bin/bluez-pin; pin_helper /etc/bluetooth/feed-pin.shIn the last case feed-pin.sh reads
#!/bin/sh echo "PIN:0000"
and has mode 755. I ran "sudo service bluetooth restart" after each change. I also ran "sudo bluez-pin --dbus &".
As far as I can see a window should came up on my laptop asking me to enter a pin, but nothing came up.
More recently, I downloaded and installed kdebluetooth and kdebluetooth-devel from the redhat-kde site. Unfortunately I could not find any documentation for this, and no commands I gave seemed to have any useful effect.
Incidentally, when I ran "rpm -ql kdebluetooth" I notices a large number of *.desktop files. Am I right in thinking that these are potentially at least entries in the Fedora menu? If so, how does one add them to the menu?
Any advice or suggestions gratefully received.
before following this, please take note that I'm on rawhide .. some stuff might be different
try using
security user; dbus_pin_helper;
I had this problem 2 days ago with my new SonyEricsson k320i ... and I couldnt find any bluez-pin etc on rawhide ... with that settings, the bluetooth-applet will ask the pin ..
if you want to put the pin directly into the config .. try using this in /etc/bluetooth/hcid.conf
security auto; passkey "0000";
Hikaru Amano wrote:
I am running bluez under Fedora-6 (I have installed all bluez* packages) and want to link to my phone (a Sony-Ericsson T630) using gnokii. Unfortunately, I seem to be unable to set a bluetooth pin on my computer.
try using
security user; dbus_pin_helper;
Thanks for your response. I tried all your suggestions, but without success.
I had this problem 2 days ago with my new SonyEricsson k320i ... and I couldnt find any bluez-pin etc on rawhide ... with that settings, the bluetooth-applet will ask the pin ..
I'm not sure what you mean by the bluetooth-applet. I am running KDE, and don't see any such applet.
if you want to put the pin directly into the config .. try using this in /etc/bluetooth/hcid.conf
security auto; passkey "0000";
I tried that, again without success.
When I run "strace gnokii --identify" it looks as though the program might be looking for some kind of X permission - I saw in older postings it was suggested one should say "xhosts +", but I'm not sure what is the equivalent command with xauth, if indeed there is one.
Il giorno mar, 20/03/2007 alle 04.10 +0000, Timothy Murphy ha scritto:
Hikaru Amano wrote:
security auto; passkey "0000";
I tried that, again without success.
Hi,
I'm having the same problem you described on fedora mail list. I didn't found solution on posts, and I'm working with google and some other resource to try make working my bluetooth phone.
Did you solved it?
Tnx Ambrogio