Bluetooth
From LinuxIntro
Bluetooth is a good way to establish a wireless connection. Here is how you can do it with Linux.
Contents |
[edit] SUSE Linux
All instructions have been tested with SUSE Linux 11.1 but should work same or similar with every combination.
[edit] Check your hardware
Your hardware must be compatible, and the correct drivers must be loaded. Here is an example how to check this:
tweedleburg:~ # hwinfo --bluetooth --short
bluetooth:
Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
tweedleburg:~ # hcitool scan
Scanning ...
00:16:4E:62:BE:31 Nokia 6230i
[edit] Transfer files
The best possibility to transfer files is to call the program bluetooth-applet.
[edit] with KDE 3.5
Using KDE 3.5 or older you can point your konqueror to bluetooth:/// and you will be able to use your phone's files just as if they were local.
[edit] with obexpushd
To transfer a file from your mobile phone to your computer, start the obex push daemon on your computer:
obexpushd -B
Then, on your mobile phone choose that you want to transfer a file to your computer.
[edit] Debian
This is a Nokia example
- apt-get install bluez-hcidump bluez-pin bluez-utils libbluetooth1 libsdp2
- /etc/init.d/./bluez-utils restart
- hcitool scan
- l2ping 00:11:9F:5E:D8:32
- sdptool browse 00:11:9F:5E:D8:32
- /etc/bluetooth/rfcomm.conf
rfcomm0 {
device 00:11:9F:5E:D8:32;
channel 9;
comment "Nokia 6230";
}
- /etc/init.d/./bluez-utils restart
- rfcomm bind /dev/rfcomm0 00:11:9F:5E:D8:32 9
[edit] Future reference
If you still have problems, have a look at the commands
- obexftp