Bug#381582: [Pkg-bluetooth-maintainers] Bug#381582: invalid passkey error

2006-08-15 Thread Luca Capello
Hello!

I'm cc:ing all the people interested in this bug, I hope they don't
mind.

On Sun, 06 Aug 2006 16:42:55 +0200, Frederik Eaton wrote:
 On Sun, Aug 06, 2006 at 10:22:02AM +0200, Filippo Giunchedi wrote:
 On Sat, Aug 05, 2006 at 05:11:43PM +0100, Frederik Eaton wrote:
 However, when I tried installing it recently on my laptop, I was
 not able to make a connection from the laptop to my mobile
 phone. When I try to create the connection (with obexftp -b
 00:0A:28:52:2B:74 -l), the mobile asks for a passkey. However,
[...]
 please try:
[...]
 and retry the pairing

 I tried that before, and I've tried it again, still no luck.

I experienced the same problem: I tried restart different times the
bluetooth service, but no luck.  Then, what I do was to stop the
service, execute again Filippo's instructions (take care of the -n
option for echo), set the security user; line in my hcid.conf and
restart the bluetooth service (after having enabled the bluetooth
module on my IBM T42p).

Trying again worked like a charm: I entered the same password on my
Sony Ericsson K700i and I could transfer files from the latter to my
laptop (the connection was stable for a 5MB transfer).

BTW, when it worked, on my mobile phone I could see the correct name I
assigned to my laptop, before it was not correct.

Just my 0.02€...

Thx, bye,
Gismo / Luca


pgpZ9APBXRPt1.pgp
Description: PGP signature


Bug#381582: invalid passkey error

2006-08-07 Thread Andrew Barr
Hi,

I think I have some insight into this problem (which I am also having).
'/etc/init.d/bluetooth restart' does not start the passkey agent, so
upon upgrading from bluez-utils 2.x to the new 3.1 version the passkey
agent does not get started. running 'stop' and then 'start' registers
the PINs in /etc/bluetooth/passkey and starts the agent. However, trying
to pair my cell phone (which works in 2.x with bluez-pin) still fails,
using the PIN 1234 /etc/bluetooth/passkey/default and on the phone,
with an invalid PIN message on the phone and an I/O error from
hcitool. Just the no agent registered message in syslog is gone.

Hope this helps,
Andrew Barr


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#381582: [Pkg-bluetooth-maintainers] Bug#381582: invalid passkey error

2006-08-06 Thread Filippo Giunchedi
Hi,

On Sat, Aug 05, 2006 at 05:11:43PM +0100, Frederik Eaton wrote:
 Package: bluez-utils
 Version: 3.1-3.1
 Severity: normal
 
 I have an older version (2.19-1) of bluez-utils installed on a
 different computer, and that works perfectly. However, when I tried
 installing it recently on my laptop, I was not able to make a
 connection from the laptop to my mobile phone. When I try to create
 the connection (with obexftp -b 00:0A:28:52:2B:74 -l), the mobile
 asks for a passkey. However, when I enter the number contained in the
 files /etc/bluetooth/pin, and /etc/bluetooth/passkeys/default, and
 /etc/bluetooth/hcid.conf (the same number is in each file), the phone
 says Invalid PIN. I don't know what has changed.

please try:

echo -n yourpin  /etc/bluetooth/passkeys/default

and then:

/etc/init.d/bluetooth restart

and retry the pairing

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

Gretchen: You're weird.
Donnie: Sorry.
Gretchen: No, that was a compliment.
-- from Donnie Darko (2001)


signature.asc
Description: Digital signature


Bug#381582: [Pkg-bluetooth-maintainers] Bug#381582: invalid passkey error

2006-08-06 Thread Frederik Eaton
On Sun, Aug 06, 2006 at 10:22:02AM +0200, Filippo Giunchedi wrote:
 Hi,
 
 On Sat, Aug 05, 2006 at 05:11:43PM +0100, Frederik Eaton wrote:
  Package: bluez-utils
  Version: 3.1-3.1
  Severity: normal
  
  I have an older version (2.19-1) of bluez-utils installed on a
  different computer, and that works perfectly. However, when I tried
  installing it recently on my laptop, I was not able to make a
  connection from the laptop to my mobile phone. When I try to create
  the connection (with obexftp -b 00:0A:28:52:2B:74 -l), the mobile
  asks for a passkey. However, when I enter the number contained in the
  files /etc/bluetooth/pin, and /etc/bluetooth/passkeys/default, and
  /etc/bluetooth/hcid.conf (the same number is in each file), the phone
  says Invalid PIN. I don't know what has changed.
 
 please try:
 
 echo -n yourpin  /etc/bluetooth/passkeys/default
 
 and then:
 
 /etc/init.d/bluetooth restart
 
 and retry the pairing

I tried that before, and I've tried it again, still no luck.

When I do it on my other computer, a window comes up on the computer
and asks me to type in the pin. But on my laptop, nothing happens,
except that obexftp retries the connection.

/var/log/syslog says:

Aug  6 15:32:53 localhost hcid[22709]: Bluetooth HCI daemon
Aug  6 15:32:53 localhost hcid[22709]: Register path:/org/bluez fallback:1
Aug  6 15:32:54 localhost sdpd[22712]: Bluetooth SDP daemon 
Aug  6 15:32:54 localhost hcid[22709]: Device hci0 has been added
Aug  6 15:32:54 localhost hcid[22709]: Starting security manager 0
Aug  6 15:32:54 localhost hcid[22709]: Device hci0 has been activated
Aug  6 15:32:54 localhost hcid[22709]: Register path:/org/bluez/hci0 fallback:0
Aug  6 15:34:42 localhost hcid[22709]: link_key_request (sba=00:10:60:A7:0B:1B, 
dba=00:0A:28:52:2B:74)
Aug  6 15:34:49 localhost hcid[22709]: pin_code_request (sba=00:10:60:A7:0B:1B, 
dba=00:0A:28:52:2B:74)
Aug  6 15:34:49 localhost hcid[22709]: call_passkey_agent(): no agent registered
Aug  6 15:34:49 localhost hcid[22709]: link_key_request (sba=00:10:60:A7:0B:1B, 
dba=00:0A:28:52:2B:74)

Frederik

-- 
http://ofb.net/~frederik/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#381582: invalid passkey error

2006-08-05 Thread Frederik Eaton
Package: bluez-utils
Version: 3.1-3.1
Severity: normal

I have an older version (2.19-1) of bluez-utils installed on a
different computer, and that works perfectly. However, when I tried
installing it recently on my laptop, I was not able to make a
connection from the laptop to my mobile phone. When I try to create
the connection (with obexftp -b 00:0A:28:52:2B:74 -l), the mobile
asks for a passkey. However, when I enter the number contained in the
files /etc/bluetooth/pin, and /etc/bluetooth/passkeys/default, and
/etc/bluetooth/hcid.conf (the same number is in each file), the phone
says Invalid PIN. I don't know what has changed.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages bluez-utils depends on:
ii  libbluetooth2  3.1-1 Library to use the BlueZ Linux Blu
ii  libc6  2.3.6-15  GNU C Library: Shared libraries
ii  libdbus-1-20.62-4simple interprocess messaging syst
ii  libdbus-glib-1-2   0.62-4simple interprocess messaging syst
ii  libglib2.0-0   2.10.3-1  The GLib library of C routines
ii  libusb-0.1-4   2:0.1.12-2userspace USB programming library
ii  lsb-base   3.1-10Linux Standard Base 3.1 init scrip
ii  makedev2.3.1-81  creates device files in /dev
ii  module-init-tools  3.2.2-3   tools for managing Linux kernel mo
ii  modutils   2.4.27.0-6Linux module utilities
ii  sysvinit   2.86.ds1-14.1 System-V-like init utilities
ii  udev   0.093-1   /dev/ and hotplug management daemo

bluez-utils recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]