Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 24-08-2006, 08:20 AM   #1 (permalink)
In The Zone
 
adit_sen's Avatar
 
Join Date: Feb 2004
Location: Perth, A*stralia
Posts: 342
Default Bluetooth in Ubuntu


Hi,

Ubuntu managed to dectect my bluetooth USB dongle without any problems, and following the instructions at http://ubuntuforums.org/showthread.p...ht=kbluetoothd. It set up beautifully, and even deteced my phone. But when I try to connect to my phone I get a message 'Error: bluetooth pairing not allowed'.

Any help?

Cheers
Aditya
__________________
AMD 4400+ X2; Compaq Presario M2202TU; Dell Inspirion 500m; Windows Vista Ultimate
adit_sen is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 24-08-2006, 10:09 AM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Bluetooth in Ubuntu

Try to pair from your phone. It will ask for pin on the computer.Enter the same pin on both.
PS - I have observed, at least on my PC, that the pin dialog box on my computer pops up in the background, so just minimise all the windows running, if you don't see the dialog box popping up.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 25-08-2006, 12:21 AM   #3 (permalink)
In The Zone
 
adit_sen's Avatar
 
Join Date: Feb 2004
Location: Perth, A*stralia
Posts: 342
Default Re: Bluetooth in Ubuntu

Well the pin does pop up for the phone, but not on the pc. All I get is the 'pairing not allowed' message. My guess would be I would have to enable pairing from somewhere in the settings on the comp. But how?
__________________
AMD 4400+ X2; Compaq Presario M2202TU; Dell Inspirion 500m; Windows Vista Ultimate
adit_sen is offline  
Old 25-08-2006, 12:41 AM   #4 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Bluetooth in Ubuntu

There is one package available for GNOME & KDE for bluetooth connectivity.
Let me search & tell you. Please be patient.
JGuru is offline  
Old 25-08-2006, 02:27 PM   #5 (permalink)
In The Zone
 
adit_sen's Avatar
 
Join Date: Feb 2004
Location: Perth, A*stralia
Posts: 342
Default Re: Bluetooth in Ubuntu

I've tried the gnome client. Its called 'Gnome Bluetooth'. But there isnt any config options available for that. There are no settings, no pairing etc. That way I do know that KDE client, kbluetoothd, works fine. It detects my phone properly, but its just that I cant seem to pair the two devices.
__________________
AMD 4400+ X2; Compaq Presario M2202TU; Dell Inspirion 500m; Windows Vista Ultimate
adit_sen is offline  
Old 25-08-2006, 03:48 PM   #6 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Bluetooth in Ubuntu

adit_sen did you try pairing from phone to the PC? I mean search, the PC from phone and then send pairing request from the phone.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 25-08-2006, 09:28 PM   #7 (permalink)
In The Zone
 
adit_sen's Avatar
 
Join Date: Feb 2004
Location: Perth, A*stralia
Posts: 342
Default Re: Bluetooth in Ubuntu

yeah. tried that too. it detects the pc, but nothin pops up in ubuntu to ask for the pin.
__________________
AMD 4400+ X2; Compaq Presario M2202TU; Dell Inspirion 500m; Windows Vista Ultimate
adit_sen is offline  
Old 01-09-2006, 04:04 AM   #8 (permalink)
In The Zone
 
adit_sen's Avatar
 
Join Date: Feb 2004
Location: Perth, A*stralia
Posts: 342
Default Re: Bluetooth in Ubuntu

anyone?? ANYONE??
__________________
AMD 4400+ X2; Compaq Presario M2202TU; Dell Inspirion 500m; Windows Vista Ultimate
adit_sen is offline  
Old 01-09-2006, 06:40 AM   #9 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Bluetooth in Ubuntu

Just check your /etc/bluetooth/hcid.conf. If the pin helper is
Code:
pin_helper /usr/bin/pinwrapper
and that file exists in /usr/bin.
Or just for experimenting change security to none from auto in hcid.conf and see if that helps.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 01-09-2006, 12:09 PM   #10 (permalink)
The Lord of Death
 
Yamaraj's Avatar
 
Join Date: May 2005
Location: यमलोक
Posts: 253
Default Re: Bluetooth in Ubuntu

You may want to uncomment the lines in /etc/bluetooth/rfcomm.conf file.
Yamaraj is offline  
Old 05-09-2006, 11:26 PM   #11 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Bluetooth in Ubuntu

Try if these commands work
Code:
sudo hcitool con <device address>
sudo hcitool auth <device address>
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 06-09-2006, 12:11 AM   #12 (permalink)
In The Zone
 
adit_sen's Avatar
 
Join Date: Feb 2004
Location: Perth, A*stralia
Posts: 342
Default Re: Bluetooth in Ubuntu

Just an update. I checked the /etc/bluetooth/hcid.conf file and have set the pin_helper to /usr/bin/pinwrapper. The pinwrapper file also exists. Now like I said, my phone is detected in ubuntu, but i just cant seem to pair it. I tried from the comp to send a file to the phone using OBEX file transfer in the bluetooth utilities. On doing so, on my phone i get a prompt to enter the pin (yay!!), but I don't know what the pin is!! I've tried the usual 1234 / 0000 etc but they are all rejected. Now the questin is, what is the pin?

cheers
aditya
__________________
AMD 4400+ X2; Compaq Presario M2202TU; Dell Inspirion 500m; Windows Vista Ultimate
adit_sen is offline  
Old 06-09-2006, 12:27 AM   #13 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Bluetooth in Ubuntu

@Adit Sen, you may read this.
Contains Info on Bluetooth phone connection in Linux.
Try 12345 as PIN number. Also you can disable PIN code query from the phone.
You'll find the option for it in the Bluetooth menu, where connection pairings
are listed.Selecting a connection gives another menu where you can select
whether PIN code query is used for connection.

Last edited by JGuru; 06-09-2006 at 12:33 AM.
JGuru is offline  
Old 06-09-2006, 02:13 AM   #14 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Bluetooth in Ubuntu

There's no such no. Just enter a pin on your computer then again enter the same on your cell. The pin should only be numbers, alphabets don't work.
Still if this does not work check the pin in /etc/bluetooth/pin and enter it in your phone.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 06-09-2006, 04:13 AM   #15 (permalink)
In The Zone
 
adit_sen's Avatar
 
Join Date: Feb 2004
Location: Perth, A*stralia
Posts: 342
Default Re: Bluetooth in Ubuntu

Hmm. Still no luck.
@JGuru: 12345 is not accepted. My phone does not support pairing without a pin, so that's also not an option

@tech: the /etc/bluetooth/pin file contains '1234'. But 1234 is not being accepted as a valid pin

cheers
aditya
__________________
AMD 4400+ X2; Compaq Presario M2202TU; Dell Inspirion 500m; Windows Vista Ultimate
adit_sen is offline  
Old 06-09-2006, 10:30 AM   #16 (permalink)
sariq
Guest
 
Posts: n/a
Default Re: Bluetooth in Ubuntu

I deleted all paired devices on phone, searched new device, it found "ubuntu-0", i paired it from phone, it asked pin on phone, i entered 1234. Device was paired, no popup on pc during entire process.
No used following, Here is screenshot
Code:
aaa@ubuntu:~$ sudo hcitool cc 00:13:70:98:0E:4E
aaa@ubuntu:~$ sudo hcitool con 00:13:70:98:0E:4E
<ACL 00:13:70:98:0E:4E handle 1 state 1 lm MASTER
aaa@ubuntu:~$ hcitool auth 00:13:70:98:0E:4E
HCI authentication request failed: Operation not permitted
aaa@ubuntu:~$ sudo hcitool auth 00:13:70:98:0E:4E
Password:
aaa@ubuntu:~$
<edited> i have used actual address at terminal. replaced with <btaddr> for posting here. it doesnt do anything.
Hey! How can i edit rfcomm.conf file? It shows "you dont have permissions.,"

Last edited by sariq; 07-09-2006 at 06:32 PM. Reason: as pointed out by tech_your_future regarding <btaddr>
 
Old 06-09-2006, 10:39 AM   #17 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Bluetooth in Ubuntu

sariq you will have to replace <btaddr> with 00:13:70:98:0E:4E.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 06-09-2006, 12:47 PM   #18 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default Re: Bluetooth in Ubuntu

Quote:
Originally Posted by sariq
Hey! How can i edit rfcomm.conf file? It shows "you dont have permissions.,"
Code:
$ sudo gedit /etc/bluetooth/rfcomm.conf
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2