LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2006, 11:20 AM   #1
i_joh
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 82

Rep: Reputation: 5
Have anyone set up Bluez 3.0?


Hi all

I've been trying to set up Bluez 3.0 (both the libraries and utilities) in Slackware 10.2. I successfully set up previous releases of them, but this attempt wasn't so successful.

First off I did compile and set up D-BUS. It's a requirement of bluez-utils 3.0, and it's up and running with no errors. The problem is the pin-code used for pairing those devices.

In the past I used a simple shell-script for the pin-code because the shipped pinhelper wouldn't work because of some python/GTK error. The script:

Code:
#!/bin/sh
echo "PIN:1833"
This script would be /usr/local/sbin/pinhelper.sh (which only root can read), and thus the following change to /etc/bluetooth/hcid.conf would be needed:

Code:
pin_helper /usr/local/sbin/pinhelper.sh
I tried doing that with bluez-utils 3.0, but the un-modified packaged config-file does not even have the pin_helper setting. I tried adding it anyway, but it did not do anything. So my question is simply: How do I set the pincode for OUTGOING connections from the Linux-box to my Nokia 6230?

I know bluez is otherwise working because an 'hcitool scan' gives the following output:

Code:
Scanning ...
        00:15:2A:20:F6:19       Nokia 6230
For the record I'm using ObexFTP to transfer files to/from the phone, and I don't need incoming connections to the Linux box to work. I only need outgoing connection to the phone. I connect to the phone with 'obexftp -b 00:15:2A:20:F6:19 -l' for whatever it matters, and get the following output:

Code:
Browsing 00:15:2A:20:F6:19 ...
Channel: 10
Connecting...failed: connect
Still trying to connect
Connecting...
I type the pin 1833 on the phone, and then the phone tells the Linux-box to get lost. I suppose the Linux-box does not know the pincode, and the stupid phone won't take an empty pin for a valid input.

I'm stuck. Someone please help me.
 
Old 06-14-2006, 01:36 AM   #2
i_joh
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 82

Original Poster
Rep: Reputation: 5
No matter. I'd advice everyone to stay away from this 3.0 release until the developers write some serious documentation. I got bluetooth working with FreeBSD now. All that matters is not having to install the bad Toshiba bluetooth stack onto the 2k box.
 
  


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
dbus and bluez chopp Slackware 3 02-20-2006 01:49 AM
bluez make problem! maginotjr Slackware 2 07-08-2005 06:00 PM
missing Bluez triona Fedora 1 05-05-2005 05:36 AM
Bluez????? abhay7182 Linux - Laptop and Netbook 0 08-20-2004 06:00 AM
Problem¦installing¦bluez curridj Linux - Software 2 12-08-2003 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:41 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