2006 / Siemens S68, Debian GNU/Linux, Bluetooth and ObexFS
Siemens S68, Debian GNU/Linux, Bluetooth and ObexFS
With Debian Etch shortly before release, I thought I might try to get
Bluetooth (on my MacBook) working with it. Here's a short description
how I did it.
Installing the right packages
$ sudo apt-get install bluetooth bluez-utils obexfs obexftp ussp-push scmxx bluez-firmware
Configuring Bluetooth in Debian
sudo vi /etc/bluetooth/hcid.conf
Here, set security to auto and passkey to some
secret number you choose (you will need this number when pairing your S68
with your computer). Save the file, exit. Then, restart the bluetooth
utilities for your changes to take effect:
sudo /etc/init.d/bluetooth restart.
Searching for the device
Make sure bluetooth is enabled on your phone. Then, search for your mobile
phone on the computer and vice versa: hcitool scan. You should
receive the bluetooth address of your device. Remember this address. I tend
to save this address in an environment variable, so I don't have to type it
everytime i need it.
Using FUSE + ObexFS
Make sure your computer and mobile phone are paired (add the computer to
the phone's list of known devices and authorize it -- you will have to enter
the PIN you configured before). Then, add yourself to the fuse
group (in /etc/group). You now have to log out and log back in
so that you will appear in that group. Then, make sure the fuse
kernel module is loaded: sudo modprobe fuse. Create a
folder in your home directory where you want to mount your phone, then type
obexfs -b $YOUR_PHONE_BT_ADDRESS /path/to/mount/dir.
This should enable you to browse your phone's memory :) You have to unmount
the filesystem (using standard umount procedures) before you can
use your phone again. Enjoy.
Mon May 28 13:59:50 2007 +0000