LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-03-2003, 09:10 AM   #1
little_ball
Member
 
Registered: Oct 2003
Location: teddy bears Land
Distribution: Slackware 10
Posts: 176

Rep: Reputation: 30
Problem configuring Bluetooth in Debian.


Hello, i'm trying to configure Bluetooth in my Debian Box, and I still can't this is the fews step I have make and therefore still doesn't work. If someone could help me I would be very regard. Check what I have done:

First of all I configure the Kernel 2.4.21
Code:
CONFIG_BLUEZ=m
CONFIG_BLUEZ_L2CAP=m
CONFIG_BLUEZ_SCO=m
CONFIG_BLUEZ_RFCOMM=m
CONFIG_BLUEZ_RFCOMM_TTY=y
CONFIG_BLUEZ_BNEP=m
CONFIG_BLUEZ_HCIUSB=m

Adding to /etc/modules.conf
Code:
alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm

then I install the Bluetooth
i also install too OpenObex
install Obexserver
I run Hcid and SdPd
save channel 10, like this:
Code:
sdptool add --channel=10 OPUSH

I modify the script /etc/bluetooth/pin to make the program run without requesting Password.
Code:
#!/bin/sh
echo "PIN:<my pass>"

then I install p3nfs
configure /etc/bluetooth/hcid.conf
I run the new configuration.
Code:
hcid -f /etc/bluetooth/hcid.conf

I probe that my computer reconigze my phone
Code:
hcitool scan

What i'm receiving this answer from my Linux box:

Scanning ...
00:60:57:4C:9F:EF ..aDiKcIoN..

Ok everything is going fine, I try to established connection whit my phone:
Code:
rfcomm bind /dev/rfcomm0 mac_direction_of_my_phone 4
My phone, request for a password, I write it, the same one I put in /etc/bluetooth/pin but it says it can't established a connection. So i tried to established connection of my phone to my computer, instead of my computer to the phone like before, it ask me for my password. I put it in, and it says Error and closed the connection. I have tried it whit the Obexserver but it doesn't work it never connect it just leave waiting. Does anyone knows whats wrong??
 
Old 08-20-2004, 05:41 AM   #2
fedoro
LQ Newbie
 
Registered: Aug 2004
Distribution: fedora core 2
Posts: 1

Rep: Reputation: 0
bluetooth connection

Hi,
if you alredy have /dev/rfcomm0,
try this:
rfcomm bind 0 <your_telephone_mac_addres> 1

and then connect it

Bye
Davide
 
  


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
configuring network in debian Lipchitz Debian 4 03-27-2005 11:04 AM
pcmcia wi-fi + bluetooth adapter under debian mmm Linux - Hardware 0 05-24-2004 08:49 AM
problem configuring X on debian(woody) n3tw0rk Linux - General 1 11-07-2003 02:44 AM
Bluetooth Problem Bicco Linux - General 0 08-11-2003 07:55 AM
Bluetooth Problem Bicco Linux - Networking 0 08-11-2003 07:50 AM


All times are GMT -5. The time now is 03:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration