LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-21-2008, 04:59 AM   #1
gopi.d
Member
 
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172

Rep: Reputation: 30
Bluetooth Serial connection using Rfcomm


i want to connect to my mobile through bluetooth serial port service i tried with rfcomm but unable to connect. can anybody explain how to connect a mobile to bluetooth serial port using Rfcomm.
 
Old 01-21-2008, 07:28 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,769
Blog Entries: 1

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
I found this wiki entry to be very helpful in setting up rfcomm. As long as rfcomm support is enabled in your kernel, this should work.
 
Old 02-05-2008, 10:33 PM   #3
gopi.d
Member
 
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172

Original Poster
Rep: Reputation: 30
i had done the setup as said in the wiki entry and got the rfcomm connection created but when trying to communicate over rfcomm i get the error "unable to connect through rfcomm0 connection refused" it seems there is some problem in permissions to rfcomm. how to enable permissions for rfcomm for root account as i'm not using any user accounts.
 
Old 02-06-2008, 07:42 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,769
Blog Entries: 1

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
I set the permissions with a custom udev rule:

KERNEL=="rfcomm[0-9]*", NAME="%k", GROUP="users"


Then you would just change the GROUP to whatever group you need to give access to rfcomm.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Bluetooth hci0 and /dev/rfcomm Questions... seattleweb Linux - Newbie 0 08-23-2007 12:26 AM
Problem using bluetooth mobile as modem/rfcomm connection refused. pingu Linux - Networking 7 07-15-2006 02:13 AM
How to create a virtual serial connection through bluetooth? RHLinuxGUY Linux - Wireless Networking 1 03-31-2006 03:25 PM
Bluetooth serial port secprovider Linux - Hardware 2 08-23-2005 06:00 PM
Enable serial service with rfcomm and bluetooth. philipina Linux - General 0 06-21-2004 08:08 AM


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