Skip to contentSkip to conversation

pairing i-Tech BT USB dongle and Nokia 6310i

Bluez-users Radoslav Reznicek 3 participants 6 messages Feb 16, 2004 – Feb 19, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I can't paired i-Tech BT USB dongle and phone Nokia 6310i. When I want connect to phone, phone ask me for PIN. After enter PIN phone says "bad PIN". PC do not ask me for PIN. When I try run bluepin script from shell, it return error. What do I bad?
OS Mandrake9.2 kernel 2.4.22
When I using Windows, i-Tech BT USB dongle and phone work correctly.

[root@localhost bluetooth]# hcitool scan
Scanning ...

        00:60:57:10:CE:17       Nokia 6310i

[root@localhost bluetooth]# rfcomm connect rfcomm0 00:60:57:10:CE:17 Can't connect RFCOMM socket: Connection refused [root@localhost bluetooth]# bluepin
Traceback (most recent call last):
File "/bin/bluepin", line 39, in ?
class Dialog(GtkDialog):
NameError: name 'GtkDialog' is not defined [root@localhost bluetooth]#

[root@localhost bluetooth]#cat /var/log/syslog

Feb 15 18:26:10 localhost kernel: BlueZ RFCOMM ver 1.0
Feb 15 18:26:10 localhost kernel: Copyright (C) 2002 Maxim Krasnyansky
<[email protected]>
Feb 15 18:26:10 localhost kernel: Copyright (C) 2002 Marcel
Holtmann<[email protected]>
Feb 15 18:26:35 localhost hcid[1587]: link_key_request
(sba=C3:D1:00:1B:08:00,  dba=17:CE:10:57:60:00)
Feb 15 18:26:37 localhost hcid[1587]: pin_code_request
(sba=C3:D1:00:1B:08:00,  dba=17:CE:10:57:60:00)
Feb 15 18:28:06 localhost hcid[1587]: pin_code_request
(sba=C3:D1:00:1B:08:00,  dba=17:CE:10:57:60:00)
Feb 15 18:29:51 localhost hcid[1587]: pin_code_request

(sba=C3:D1:00:1B:08:00, dba=17:CE:10:57:60:00)

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

Hello,

Quoted 6 lines

I can't paired i-Tech BT USB dongle and phone Nokia 6310i. When I want connect to phone, phone ask me for PIN. After enter PIN phone says "bad PIN". PC do not ask me for PIN. When I try run bluepin script from shell, it return error. What do I bad?
OS Mandrake9.2 kernel 2.4.22
When I using Windows, i-Tech BT USB dongle and phone work correctly.

I was similar problem with Mandrake. You can try edit file /etc/bluetooth/p= in
and change "BlueZ" to some numbers "1234". But I don't know, if I make some other actions. Maybe restart of init script...

Best regards,

Pavel R=F9=BEi=E8ka

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Dear Pavel,

what vendor ID and product ID have your i-Tech (i-Tec?) dongle?

Regards,

Ruda Matousek

--

Quoted 5 lines · Pavel Ruzicka

Hello,
=20
=20

Quoted 2 lines

I can't paired i-Tech BT USB dongle and phone Nokia 6310i. When I want connect to phone, phone ask me for PIN. After enter PIN phone says "ba=

d

Quoted 1 line
Quoted 1 line

PIN". PC do not ask me for PIN. When I try run bluepin script from she=

ll,

Quoted 6 lines
Quoted 3 lines

it return error. What do I bad?
OS Mandrake9.2 kernel 2.4.22
When I using Windows, i-Tech BT USB dongle and phone work correctly.

=20
=20
I was similar problem with Mandrake. You can try edit file /etc/bluetoo=

th/pin

Quoted 1 line

and change "BlueZ" to some numbers "1234". But I don't know, if I make =

some

Quoted 9 lines

other actions. Maybe restart of init script...
=20
Best regards,
=20
Pavel R=F9=BEi=E8ka
=20
=20
=20
-------------------------------------------------------

Quoted 8 lines

SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id438&op=CCk
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw

Hello,

Quoted 1 line

what vendor ID and product ID have your i-Tech (i-Tec?) dongle?

it's mistake, but I don't have i-Tec dongle, but your problem is probably general for Mandrake. I use Mandrake 9.2. And if your dongle communicate to phone, and fail for PIN, there will be probably problem with PIN file.

Today I buy MSI USB dongle. I will try connection to phone and Zaurus later. Maybe I can write some details after testing.

Best regards,

Pavel Ruzicka

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw
In reply to Pavel Ruzicka
Quoted 4 lines

I was similar problem with Mandrake. You can try edit file /etc/bluetooth/pin
and change "BlueZ" to some numbers "1234". But I don't know, if I make some

File /etc/bluetooth/pin contains only digits (my PIN).

Radoslav Reznicek

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw
In reply to Pavel Ruzicka

SOLVED

(see HOWTO http://www.holtmann.org/linux/bluetooth/)

File
/etc/bluetooth/hcid.conf
contains bad pin_helper (/bin/bluepin)

To make this work with the hcid.conf file above you need the /etc/bluetooth/givepin script. Here is mine:

##############givepin##########
#!/bin/sh
echo "PIN:123456"
################

Just open an editor and copy this into a file and save it as /etc/bluetooth/givepin Then do

chmod 710 /etc/bluetooth/givepin

Thank to Pavel Ruzicka

Radoslav Reznicek

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users