Bluetooth "pairing" problem on Debian Sarge
I am setting up a dialup networking over a bluetooth link between a Motorola V600 cell phone and Debian Sarge (kernel 2.6.8-2-386). I have done this before with Mandriva 2006LE, but I can't get it working on Debian.
I believe the bluez bluetooth stack is compiled into this kernel. Other necessary daemons (l2cap and usbcore) are loaded as modules and are shown with lsmod. I have it ALMOST working. I can detect the phone by running "hcitool inq" on the command line. I can get the list of dialup networking services provided by the phone with "sdptool search DUN". However, when I try to connect to the Internet using pppd (as root) and my chat script (the same one I use successfully in Mandriva), "pairing" between the phone and the computer fails. On the telephone, I get the request to connect and am asked to enter the PIN. After I enter the PIN, the /usr/bin/bluepin "pin helper" program is supposed to put up a dialog box to ask me for the pairing PIN. It does not appear, so I cannot "pair" with the telephone. I opened /etc/bluetooth/hcid.conf and specified /usr/bin/bluez-pin as the "PIN helper", with no results. /usr/bin/bluepin is a python script. I can run it directly from the command line (as root). bluez-pin will also run from the command line either as root or regular user. At any rate, I run pppd for this connection as root. |
did you set the security level right?
Code:
security user; |
Yes, the secirity level is set to "user" in my hcid.conf file.
The hcid.conf file looks like this: Quote:
Quote:
|
Try uncommenting "#auth enable;"
My hcid.conf look like: Code:
# |
Thanks for the help, binary_y2k2.
Quote:
This problem is extremely frustrating. Why should this break on Debian? |
I'm running Kubuntu (based on Debian) and that config works for me so I don't know why it's not working for you.
Have you tryed coppying the config from Mandriva? (You probably have) You could try seeing if there are any packages that you need to install "apt-cache search bluetooth" |
Yes, I copied the bluetooth config files directly over from Mandriva.
gprs is my main way to connect to the Internet. I am going to try Ubuntu, but I will also continue to look for the problem in Debian. |
All times are GMT -5. The time now is 05:29 PM. |