All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Bluez + 6630 rfcomm was working, suddenly died.
@ 2005-04-20 14:42 Stefan Magdalinski
  2005-04-20 14:51 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Magdalinski @ 2005-04-20 14:42 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 2427 bytes --]

Hi,

I had bluez + ubuntu hoary making a ppp connection over bluetooth to
my 6630, just fine for a few days, by following the instructions here:

http://www.teaparty.net/technotes/blue-gprs.html

and then suddenly it broke.

now, when I do
'pppd call gprs', it just returns, the phone never prompts me to
accept the connection, and no connection is made.

it seems to be communicating:

 rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 clean
root@stefvaio:~ # pppd call gprs
root@stefvaio:~ # rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
root@stefvaio:~ # rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
root@stefvaio:~ # rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
root@stefvaio:~ # rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
root@stefvaio:~ # rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
root@stefvaio:~ # rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
root@stefvaio:~ # rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
root@stefvaio:~ # rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 disconnecting [tty-attached]
root@stefvaio:~ # rfcomm show
rfcomm0: 00:12:62:DC:EA:63 channel 1 closed
root@stefvaio:~ #

but it doesn't seem able to make the connection anymore

I did a couple of things (overexcited by the ease with which I got it
working), that might have caused this.

I tried to re-pair the phone with the laptop, because I wanted to
change the name of the phone.  So I deleted the pairing on the phone,
and then the /etc/bluetooth/link_key . Now when I re-pair, it finds
the device, but just hangs with 'waiting for stefvaio-0', and then
'says unable to pair' . The phone still works fine with another
machine running OSX (and I realise you can change the name without
re-pairing. woe is me)

so it looks like pairing is the cause of the problem.

How do I re-pair the phone with my laptop, short of reinstalling everything? 

where should I  be looking for further diagnostics?

I also changed my hcid.conf to try and get my palm sync working too,
so that may have caused the problem.

I have attached the hcid.conf in case it's glaringly obvious.

This is a shame. I've waited *years* for my phone to become a decent
access device, and then after a weekend I've broken it.

[-- Attachment #2: hcid.conf --]
[-- Type: application/octet-stream, Size: 1466 bytes --]

#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.4 2004/04/29 20:14:21 holtmann Exp $
#

# HCId options
options {
	# Automatically initialize new devices
	autoinit yes;

	# Security Manager mode
	#   none - Security manager disabled
	#   auto - Use local PIN for incoming connections
	   user - Always ask user for a PIN
	#
	security auto;

	# Pairing mode
	#   none  - Pairing disabled
	#   multi - Allow pairing with already paired devices
	#   once  - Pair once and deny successive attempts
	pairing multi;

	# PIN helper
	#pin_helper /usr/bin/bluez-pin;
	pin_helper /usr/local/bin/pinhelper.sh;
	# D-Bus PIN helper
	#dbus_pin_helper;
}

# Default settings for HCI devices
device {
	# Local device name
	#   %d - device id
	#   %h - host name
	name "%h-%d";

	# Local device class
	class 0x100;

	# Default packet type
	#pkt_type DH1,DM1,HV1;

	# Inquiry and Page scan
	iscan enable; pscan enable;

	# Default link mode
	#   none   - no specific policy 
	#   accept - always accept incoming connections
	#   master - become master on incoming connections,
	#            deny role switch on outgoing connections
	#
	#lm accept,master;
	#
	lm accept;

	# Default link policy
	#   none    - no specific policy
	#   rswitch - allow role switch
	#   hold    - allow hold mode
	#   sniff   - allow sniff mode
	#   park    - allow park mode
	#
	#lp hold,sniff;
	#
	lp rswitch,hold,sniff,park;

	# Authentication and Encryption
	auth enable;
	#encrypt enable;
}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Bluez + 6630 rfcomm was working, suddenly died.
  2005-04-20 14:42 [Bluez-users] Bluez + 6630 rfcomm was working, suddenly died Stefan Magdalinski
@ 2005-04-20 14:51 ` Marcel Holtmann
  2005-04-20 16:15   ` Stefan Magdalinski
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-04-20 14:51 UTC (permalink / raw)
  To: bluez-users

Hi Stefan,

> I had bluez + ubuntu hoary making a ppp connection over bluetooth to
> my 6630, just fine for a few days, by following the instructions here:
> 
> http://www.teaparty.net/technotes/blue-gprs.html
> 
> and then suddenly it broke.
> 
> now, when I do
> 'pppd call gprs', it just returns, the phone never prompts me to
> accept the connection, and no connection is made.
> 
> it seems to be communicating:
> 
>  rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 clean
> root@stefvaio:~ # pppd call gprs
> root@stefvaio:~ # rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> root@stefvaio:~ # rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> root@stefvaio:~ # rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> root@stefvaio:~ # rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> root@stefvaio:~ # rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> root@stefvaio:~ # rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> root@stefvaio:~ # rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> root@stefvaio:~ # rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 disconnecting [tty-attached]
> root@stefvaio:~ # rfcomm show
> rfcomm0: 00:12:62:DC:EA:63 channel 1 closed
> root@stefvaio:~ #
> 
> but it doesn't seem able to make the connection anymore
> 
> I did a couple of things (overexcited by the ease with which I got it
> working), that might have caused this.
> 
> I tried to re-pair the phone with the laptop, because I wanted to
> change the name of the phone.  So I deleted the pairing on the phone,
> and then the /etc/bluetooth/link_key . Now when I re-pair, it finds
> the device, but just hangs with 'waiting for stefvaio-0', and then
> 'says unable to pair' . The phone still works fine with another
> machine running OSX (and I realise you can change the name without
> re-pairing. woe is me)
> 
> so it looks like pairing is the cause of the problem.
> 
> How do I re-pair the phone with my laptop, short of reinstalling everything? 
> 
> where should I  be looking for further diagnostics?
> 
> I also changed my hcid.conf to try and get my palm sync working too,
> so that may have caused the problem.
> 
> I have attached the hcid.conf in case it's glaringly obvious.
> 
> This is a shame. I've waited *years* for my phone to become a decent
> access device, and then after a weekend I've broken it.

show us the output of "hcidump -X -V" as root while you are trying to
connect to your phone.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Bluez + 6630 rfcomm was working, suddenly died.
  2005-04-20 14:51 ` Marcel Holtmann
@ 2005-04-20 16:15   ` Stefan Magdalinski
  2005-04-20 16:19     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Magdalinski @ 2005-04-20 16:15 UTC (permalink / raw)
  To: bluez-users

looks like the version of hcidump (1.1.2) is too old for -V, but
here's what I get for -X

is there a repository I should be adding to sources.list to pull a newer on=
e?=20

thanks for your help

# hcidump -X
HCIDump - HCI packet analyzer ver 1.12
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
  0000: 63 ea dc 62 12 00 18 cc  02 00 00 00 01           c..b.........
> HCI Event: Command Status (0x0f) plen 4
  0000: 00 01 05 04                                       ....
> HCI Event: Link Key Request (0x17) plen 6
  0000: 63 ea dc 62 12 00                                 c..b..
> HCI Event: Connect Complete (0x03) plen 11
  0000: 22 29 00 63 ea dc 62 12  00 01 00                 ").c..b....



On 4/20/05, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Stefan,
>=20
> > I had bluez + ubuntu hoary making a ppp connection over bluetooth to
> > my 6630, just fine for a few days, by following the instructions here:
> >
> > http://www.teaparty.net/technotes/blue-gprs.html
> >
> > and then suddenly it broke.
> >
> > now, when I do
> > 'pppd call gprs', it just returns, the phone never prompts me to
> > accept the connection, and no connection is made.
> >
> > it seems to be communicating:
> >
> >  rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 clean
> > root@stefvaio:~ # pppd call gprs
> > root@stefvaio:~ # rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> > root@stefvaio:~ # rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> > root@stefvaio:~ # rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> > root@stefvaio:~ # rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> > root@stefvaio:~ # rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> > root@stefvaio:~ # rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> > root@stefvaio:~ # rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 config [tty-attached]
> > root@stefvaio:~ # rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 disconnecting [tty-attached]
> > root@stefvaio:~ # rfcomm show
> > rfcomm0: 00:12:62:DC:EA:63 channel 1 closed
> > root@stefvaio:~ #
> >
> > but it doesn't seem able to make the connection anymore
> >
> > I did a couple of things (overexcited by the ease with which I got it
> > working), that might have caused this.
> >
> > I tried to re-pair the phone with the laptop, because I wanted to
> > change the name of the phone.  So I deleted the pairing on the phone,
> > and then the /etc/bluetooth/link_key . Now when I re-pair, it finds
> > the device, but just hangs with 'waiting for stefvaio-0', and then
> > 'says unable to pair' . The phone still works fine with another
> > machine running OSX (and I realise you can change the name without
> > re-pairing. woe is me)
> >
> > so it looks like pairing is the cause of the problem.
> >
> > How do I re-pair the phone with my laptop, short of reinstalling everyt=
hing?
> >
> > where should I  be looking for further diagnostics?
> >
> > I also changed my hcid.conf to try and get my palm sync working too,
> > so that may have caused the problem.
> >
> > I have attached the hcid.conf in case it's glaringly obvious.
> >
> > This is a shame. I've waited *years* for my phone to become a decent
> > access device, and then after a weekend I've broken it.
>=20
> show us the output of "hcidump -X -V" as root while you are trying to
> connect to your phone.
>=20
> Regards
>=20
> Marcel
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime in=
fo,
> new features, or free trial, at: http://www.businessobjects.com/devxi/728
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Bluez + 6630 rfcomm was working, suddenly died.
  2005-04-20 16:15   ` Stefan Magdalinski
@ 2005-04-20 16:19     ` Marcel Holtmann
  2005-04-21 11:58       ` Stefan Magdalinski
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-04-20 16:19 UTC (permalink / raw)
  To: bluez-users

Hi Stefan,

> looks like the version of hcidump (1.1.2) is too old for -V, but
> here's what I get for -X

then install a new one, because I am not going to decode the HCI parts
any time again by hand.

> is there a repository I should be adding to sources.list to pull a newer one? 

The source is available.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Bluez + 6630 rfcomm was working, suddenly died.
  2005-04-20 16:19     ` Marcel Holtmann
@ 2005-04-21 11:58       ` Stefan Magdalinski
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Magdalinski @ 2005-04-21 11:58 UTC (permalink / raw)
  To: bluez-users

On 4/20/05, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Stefan,
>=20
> > looks like the version of hcidump (1.1.2) is too old for -V, but
> > here's what I get for -X
>=20
> then install a new one, because I am not going to decode the HCI parts
> any time again by hand.

fair enough.

so I rebuilt everything from the latest sources, was running 'hcidump
-X -V', and when I tried to connect this time, it was working again,
and I can pair the devices ok.

so thanks for your help. I'll see how it goes over the next few days.

>=20
> > is there a repository I should be adding to sources.list to pull a newe=
r one?
>=20
> The source is available.


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-21 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20 14:42 [Bluez-users] Bluez + 6630 rfcomm was working, suddenly died Stefan Magdalinski
2005-04-20 14:51 ` Marcel Holtmann
2005-04-20 16:15   ` Stefan Magdalinski
2005-04-20 16:19     ` Marcel Holtmann
2005-04-21 11:58       ` Stefan Magdalinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.