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

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.