LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-11-2007, 06:06 PM   #1
millionknives
Member
 
Registered: Jul 2004
Location: Port Charlotte Florida
Distribution: slack 12.1
Posts: 78

Rep: Reputation: 15
Bluetooth, detects phone won't connect


Ok so I followed the bluetooth slackware howto, it shows the phone as in detects it, however I can't get the phone to pair with it. I'm not sure what to do about it as it won't connect with any phones that have bluetooth that I've tested (Samsung, LG, Motorola and Nokia) so I'm at a dead halt now. Is there any other files that have to be edited that are'nt in the howto that I've missed finding out about elsewhere, as kdebluetooth detects it and gets through the bluetooth setup but still won't connect.
 
Old 02-12-2007, 10:56 AM   #2
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
Do you use a PIN to pair with your phone? And what pinhelper do you use?

flux.
 
Old 02-12-2007, 08:52 PM   #3
millionknives
Member
 
Registered: Jul 2004
Location: Port Charlotte Florida
Distribution: slack 12.1
Posts: 78

Original Poster
Rep: Reputation: 15
I'm using kdebluepin, and using the default pin that the phone is setup with, when the phone asks for the pin I put in the one that I entered into the config files and then the phone returns that it is an invalid pin.
 
Old 02-13-2007, 02:59 AM   #4
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
I have a file "pin" in /etc/bluetooth, containing my PIN, nothing else, only one line with "123456" (here a fictive PIN).

Then I have a special script to give the PIN to the mobile phone (I do not use the script out of KDE), I called it /usr/local/sbin/pin and it contains these lines:

Code:
#!/bin/bash
PIN=`cat /etc/bluetooth/pin`
echo "PIN:$PIN"
I made it executable with "chmod +x /usr/local/sbin/pin".

Then I changed the file /etc/bluetooth/hcid.conf in this way:

Code:
 # Default PIN code for incoming connections
#pin_helper /opt/kde/lib/kdebluetooth/kbluepin;
pin_helper /usr/local/sbin/pin;
With these modifications I have no problems with three mobile phones, kbluepin not always worked for me ...

Fluxx.
 
Old 02-14-2007, 07:37 AM   #5
millionknives
Member
 
Registered: Jul 2004
Location: Port Charlotte Florida
Distribution: slack 12.1
Posts: 78

Original Poster
Rep: Reputation: 15
Thanks for all the help so far I've tried out your suggestions and still get invalid pin.. not to sure what's going on however.
 
Old 02-14-2007, 09:58 AM   #6
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
Quote:
Originally Posted by millionknives
Thanks for all the help so far I've tried out your suggestions and still get invalid pin.. not to sure what's going on however.
I do NOT take the PIN of the mobile phone for the file /etc/bluetooth/pin, but another one and this works for me.

Fluxx.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where do bluetooth OBEX transfers from phone go? Guitarist88 Linux - Networking 2 01-11-2007 02:50 PM
Can't send via bluetooth phone -> computer imagineaxion Ubuntu 3 11-20-2006 07:00 AM
PPP dial-up over Bluetooth Cell-Phone TB0ne Linux - General 2 07-30-2006 08:00 PM
Connect to Motorola bluetooth phone mindcry Linux - Software 2 05-21-2006 04:15 PM
Use my computer as a headset for a bluetooth phone edman007 Linux - Software 2 12-04-2005 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration