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
 
Search this Thread
Old 04-24-2011, 09:59 PM   #1
geller6980
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Rep: Reputation: 0
Bluetooth Pairing


Please, if I am in the wrong place for a bluetooth question, point me to the correct location. Thanks

I'm on lubuntu and all packages are fully updated, including blueman and all bluez

I'm using RFCOMM to connect to my Nokia 6102i phone.

I can get it to connect with rfcomm, but it requires a passcode or a pin for each time I make a connection. is there a way to make this persistent once they are paired?

Steps I have taken to rectify:
  • I have the phone MAC address flagged in blueman as a trusted device
  • I have the pairing profile on the phone set to "Auto connect without confirmation"
  • I have deleted the pairing profile on the phone many times
  • I have tried other Lunix OS's (PCLinuxOS presents the EXACT same problem)
  • I have rebooted phone
  • I tried this on my blackberry, and get different prompts, but still get an accept / deny popup, asking to validate a pin

Here's my RFCOMM.conf:

Quote:
#
# RFCOMM configuration file.
#
rfcomm0 {
bind yes;
device 00:18:C5:94:23:F6;
channel 3;
}
rfcomm1 {
bind yes;
device 40:5F:BE:30:36:C7;
channel 3;
}
I posted this question on freenode #bluez-users and got the response
Quote:
Define workstation as trusted device on mobile network terminal
Unfortunately I do not know what a mobile network terminal is, but I thought I have the device flagged as trusted in all possible locations

Details on exactly what I'm doing:
in a root terminal I run: rfcomm connect 0

Phone prompts me to input a passcode. After I enter passcode, I get a popup on my machine called pairing request, asking me to put in a PIN code. They match, great and I'm good to go for that session.

Unfortunately, I need to go through this passcode process every time. I'm looking to automate the connection, so there is no need to input a PIN/Passcode everytime.
I have scrubbed the net looking for someone who has this problem, and cannot find any documentation.

Help me, Obi-Wan Kenobi (aka LinuxQuestions.org), you're my only hope...

Thanks

Scott
 
Old 04-30-2011, 07:41 PM   #2
geller6980
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Is there no response from the community because I didn't provide enough information, or is it because no-one has encountered this issue?

Just looking for some help since it's driving me crazy!

Thanks

Scott
 
Old 05-29-2011, 10:23 AM   #3
geller6980
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Not sure what the protocol is here, but I'll offer $100 transferred via paypal to the person who gets this resolved for me

Thanks

Scott
 
Old 05-29-2011, 01:16 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Is there no response from the community because I didn't provide enough information, or is it because no-one has encountered this issue?
Maybe they read "lubuntu" and just moved on, as I nearly did. Possibly they are just not interested in BT. No matter.

I just tested it (it took me a while to find a BT device, but): pairing works fine with ubuntu 10.04.2LTS (Yes, I am not "cutting edge", but which version of lubuntu are you using?).

I use gnome. Add to top panel Indicator Applet.
It has a BT icon. Fire it up, Set up new device, connect to it, enter the ubuntu-generated PIN on the device, they are paired. They stay paired. I just sent a JPG to my ancient palm T2, even after both devices were rebooted. It "just works".

So my GUI does all the dirty work for me.

Here is a link that may help you discover what is going wrong at the CLI or the config-files levels:http://www.linuxquestions.org/linux/...s_under_Ubuntu

It's also worth taking a look at /var/lib/bluetooth/* and in particular /var/lib/bluetooth/some:MAC:address(of your phone)/trusts
Maybe give it an edit and make your PC trust the BT MAC address of your phone?

Remember that restarting services on recent ubuntus has changed (with the introduction of upstart instead of SysV init) but /etc/init.d/whateverservice restart may have been replaced with service whateverservice restart. If in doubt, or it doesn't work, reboot. (Off-topic:"Services" used to be called "daemons". I never had to reboot. Is ubuntu getting more and more like windows?).

Not a definitive answer, I know, but I am not asking for money, just trying to help. Perhaps I have given you a few pointers.

I'm quite busy, but will keep an eye on this thread. It's probably something simple, and fixable. Good luck.
 
Old 05-29-2011, 09:07 PM   #5
geller6980
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you!

I will be in front of my server on Thursday (traveling for business now) and I'll be sure to post my progress.

Scott
 
  


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
[SOLVED] bluetooth pairing denied matters Slackware 10 11-05-2010 03:33 AM
bluetooth pairing deadlinx Ubuntu 15 08-02-2009 03:26 PM
Bluetooth pairing jmike72 Linux - Hardware 2 01-06-2008 09:08 AM
Bluetooth pairing Dj Blaze Linux - Laptop and Netbook 0 01-28-2006 05:46 AM
bluetooth pairing meknb Linux - Hardware 0 01-05-2006 05:06 PM


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