PDA

View Full Version : Fedora Core 5 - Bluetooth on Dell Inspiron 510m can't exchange files


nickleus
2006-05-12, 08:31 AM CDT
I have a Sony Ericsson W810i and i'm trying to send a file to my laptop running FC5. Both devices can see each other but i can't get them to communicate/exchange files.

When i start FC i run:
/etc/init.d/bluetooth

i've installed gnome-bluetooth so i go to my gnome panel menu and choose:
Applications > System Tools > Bluetooth filesharing

then the little bluetooth icon pops up in the top right corner of the gnome-panel. then i try to send a file to my laptop from my phone, but the connection fails, but it sees the laptop and the laptop sees the phone.

when i run gnome-bluetooth-manager from the console/terminal i get the following errors:
(Bluetooth Device Manager:2698): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/gnomebt/manager.py", line 274, in ?
BTManager ().main ()
File "/usr/lib/python2.4/site-packages/gnomebt/manager.py", line 85, in __init__
if not self.btctl.is_initialised():
gobject.GError: Can't get device id of hci0


My hostname is set correctly. What else am i missing?

aniketv
2006-05-12, 08:43 AM CDT
Well this could be due to SELinux .
Try disabling SELinux for bluetooth daemon in system-config-securitylevel.

nickleus
2006-05-12, 09:16 AM CDT
Ok, here's what i did:
system-config_securitylevel

went into the SELinux tab > expanded Other > put a check by Disable SELinux protection for bluetooth daemon

didn't seem to help so i rebooted, in the gnome-panel i chose:
Applications > System Tools > Bluetooth filesharing

sent the file from my phone and it worked! You genius aniketv, thanks for your help!

aniketv
2006-05-12, 09:24 AM CDT
U have to reboot to make any changes to SELinux policies applicable.
BTW better option to turn off SELinux altogether as its an overkill for the desktop/laptop environment, the iptables firewall is enough for security from internet.

Also one more suggestion.....use kdebluetooth , its much more mature compared to gnome-bluetooth. I have used both extensively and just liked kdebluetooth.

nickleus
2006-05-12, 09:26 AM CDT
BTW better option to turn off SELinux altogether as its an overkill for the desktop/laptop environment, the iptables firewall is enough for security from internet.
thanks for the tip!

marisdembovskis
2006-05-25, 07:01 AM CDT
I'v got working bluetooth on my FC 5, but I can not transfer files. I go
Applications, System Tools then Devices and Scan.
It founds NOKIA 3230, but what now. How can I do something with this phone.

Thanks, guys!

aniketv
2006-05-25, 08:05 AM CDT
use kdebluetooth to transfer files.

marisdembovskis
2006-05-26, 02:37 AM CDT
I can not install kdebluetooth
I try
yum -y install kdebluetooth
and it says:
No Match for argument: kdebluetooth
Nothing to do


I have installed:
openobex-devel-1.1-1
openobex-1.1-1
openobex-apps-1.0.0-10

gnome-bluetooth-devel-0.7.0-2
gnome-bluetooth-0.7.0-2
gnome-bluetooth-libs-0.7.0-2

bluez-libs-2.25-1
bluez-utils-2.25-4
bluez-libs-devel-2.25-1
bluez-pin-0.30-2
bluez-hcidump-1.30-1

Thanks!

aniketv
2006-05-26, 09:08 AM CDT
search for it on rpm.pbone.net. You will get it.

marisdembovskis
2006-05-29, 04:25 AM CDT
Thanks works ok.

PseudoNym
2006-06-30, 05:53 AM CDT
If you're using gnome try installing nautilus-sendto-bluetooth. Now when you right click on a file and choose "Send To ..." you should have a Send as option "Bluetooth (OBEX)", select your phone for Send to: and click send ... This worked for me with my Motorola RAZR V3.

swathi_k
2007-05-15, 09:10 AM CDT
I am new to Linux and Bluetooth
How to install BlueZ ?
If I include there headers it should work
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>

i am using O.S
Fedora core 3 2.6.12-1.1381_FC3
Fedora core 3 2.6.9-1.667


I tried in this way but did not succeed

yum search bluez
yum -y install bluez-bluefw bluez-sdp bluez-hcidump bluez-pin bluez-utils bluez-pan
by refering to this link
http://pyrorobotics.org/?page=Using_20the_20Hemisson_20Robot

after installation
/etc/bluetooth
hcid.conf pin rfcomm.conf

and then i downloaded
bluez-libs-2.10-2.src(2).rpm
used this command
rpm -Uvh bluez-libs-2.10-2.src(2).rpm

so what i have to do to make Bluetooth code to work in Fedora core 3