* [Bluez-users] Thinkpad X31 @ fedora core 2, trying to connect to Nokia 6380i
@ 2004-06-09 23:47 David Wuertele
2004-06-10 10:16 ` Nicholas A. Preyss
0 siblings, 1 reply; 4+ messages in thread
From: David Wuertele @ 2004-06-09 23:47 UTC (permalink / raw)
To: bluez-users
I boot my thinkpad, and the bluetooth chip is recognized. My phone
has bluetooth turned on. I see my phone when I scan, but I can't seem
to connect with it:
# uname -a
Linux 5nave 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux
# rpm -q bluez-utils bluez-libs
bluez-utils-2.4-3
bluez-libs-2.5-2.1
# grep CONFIG_BT_ /usr/src/linux-2.6.5-1.358/.config
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_CMTP=m
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_BCSP_TXCRC=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIDTL1=m
CONFIG_BT_HCIBT3C=m
CONFIG_BT_HCIBLUECARD=m
CONFIG_BT_HCIBTUART=m
CONFIG_BT_HCIVHCI=m
# hcitool scan
Scanning ...
00:60:57:2A:37:E9 Dave's Nokia
# ls -l /dev/rfcomm0
crw-r--r-- 1 root root 216, 0 Jun 9 16:15 /dev/rfcomm0
# hcitool dev
Devices:
hci0 00:20:E0:75:D6:F6
# ps auxwf | grep hcid
root 1982 0.0 0.0 3100 700 ? S 16:24 0:00 hcid: processing events
root 2785 0.0 0.0 3104 700 ? S 16:43 0:00 \_ hcid: processing events
root 2790 0.0 0.0 4012 572 pts/1 S 16:44 0:00 \_ grep hcid
# rfcomm connect rfcomm0 00:60:57:2A:37:E9
Can't connect RFCOMM socket: Resource temporarily unavailable
# tail -2 /var/log/messages
Jun 9 16:43:37 5nave hcid[1982]: link_key_request (sba=00:20:E0:75:D6:F6, dba=00:60:57:2A:37:E9)
Jun 9 16:43:37 5nave hcid[1982]: pin_code_request (sba=00:20:E0:75:D6:F6, dba=00:60:57:2A:37:E9)
#
Is there something else I should be doing?
Thanks,
Dave
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Thinkpad X31 @ fedora core 2, trying to connect to Nokia 6380i
2004-06-09 23:47 [Bluez-users] Thinkpad X31 @ fedora core 2, trying to connect to Nokia 6380i David Wuertele
@ 2004-06-10 10:16 ` Nicholas A. Preyss
2004-06-10 18:17 ` [Bluez-users] " David Wuertele
0 siblings, 1 reply; 4+ messages in thread
From: Nicholas A. Preyss @ 2004-06-10 10:16 UTC (permalink / raw)
To: bluez-users
On 0, David Wuertele <dave-gnus@bfnet.com> wrote:
> I boot my thinkpad, and the bluetooth chip is recognized. My phone
> has bluetooth turned on. I see my phone when I scan, but I can't seem
> to connect with it:
>
> # uname -a
> Linux 5nave 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux
> # rpm -q bluez-utils bluez-libs
> bluez-utils-2.4-3
> bluez-libs-2.5-2.1
> # hcitool scan
> Scanning ...
> 00:60:57:2A:37:E9 Dave's Nokia
> [...]
> # ps auxwf | grep hcid
> root 1982 0.0 0.0 3100 700 ? S 16:24 0:00 hcid: processing events
> root 2785 0.0 0.0 3104 700 ? S 16:43 0:00 \_ hcid: processing events
> root 2790 0.0 0.0 4012 572 pts/1 S 16:44 0:00 \_ grep hcid
> # rfcomm connect rfcomm0 00:60:57:2A:37:E9
> Can't connect RFCOMM socket: Resource temporarily unavailable
> # tail -2 /var/log/messages
> Jun 9 16:43:37 5nave hcid[1982]: link_key_request (sba=00:20:E0:75:D6:F6, dba=00:60:57:2A:37:E9)
> Jun 9 16:43:37 5nave hcid[1982]: pin_code_request (sba=00:20:E0:75:D6:F6, dba=00:60:57:2A:37:E9)
>
> Is there something else I should be doing?
Seems that your PIN exchange doesn't work. What is your "security"
setting in hcid.conf? Does appear a pin windows on the mobile display?
nicholas
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bluez-users] Re: Thinkpad X31 @ fedora core 2, trying to connect to Nokia 6380i
2004-06-10 10:16 ` Nicholas A. Preyss
@ 2004-06-10 18:17 ` David Wuertele
2004-06-12 14:48 ` Nicholas A. Preyss
0 siblings, 1 reply; 4+ messages in thread
From: David Wuertele @ 2004-06-10 18:17 UTC (permalink / raw)
To: bluez-users
Nicholas> Seems that your PIN exchange doesn't work. What is your
Nicholas> "security" setting in hcid.conf?
security auto;
Nicholas> Does appear a pin windows on the mobile display?
No, there was no change on my 6310i display.
But on my laptop display I got a dialog asking for the PIN.
Where do I get this mysterious PIN?
I tried making one up. Then it worked!
Is this PIN stored somewhere? I see a file
/etc/bluetooth/pin
but it doesn't contain the PIN that I typed into the laptop dialog and
the phone dialog.
Dave
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Re: Thinkpad X31 @ fedora core 2, trying to connect to Nokia 6380i
2004-06-10 18:17 ` [Bluez-users] " David Wuertele
@ 2004-06-12 14:48 ` Nicholas A. Preyss
0 siblings, 0 replies; 4+ messages in thread
From: Nicholas A. Preyss @ 2004-06-12 14:48 UTC (permalink / raw)
To: bluez-users
On 0, David Wuertele <dave-gnus@bfnet.com> wrote:
> Nicholas> Does appear a pin windows on the mobile display?
>
> No, there was no change on my 6310i display.
> But on my laptop display I got a dialog asking for the PIN.
> Where do I get this mysterious PIN?
> I tried making one up. Then it worked!
>
> Is this PIN stored somewhere? I see a file
>
> /etc/bluetooth/pin
>
> but it doesn't contain the PIN that I typed into the laptop dialog and
> the phone dialog.
No, the PIN is only needed for Pairing bluetooth devices. The
/etc/bluetooth/pin specifies a lasting key you take for every
connection. It is taken instead of the key you insert in the dialog-box
for incoming connections.
The PIN you insert is stored nowhere, but the devices generate a link-key
from the pin and other data, this stored in the /etc/bluetooth/link_key.
nicholas
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-12 14:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-09 23:47 [Bluez-users] Thinkpad X31 @ fedora core 2, trying to connect to Nokia 6380i David Wuertele
2004-06-10 10:16 ` Nicholas A. Preyss
2004-06-10 18:17 ` [Bluez-users] " David Wuertele
2004-06-12 14:48 ` Nicholas A. Preyss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox