This is a relatively simple way to transfer files between Slackware 12 and your mobile phone.
I'm no expert and I'm sure there are better methods out there, but this worked for me. There's no compiling involved and the end result allows you to send and receive files with a GUI (tested with two phones, Nokia 6230i and Samsung E250)
Also, I did give kdebluetooth a try and I would have preferred using it, but I couldn't get it to work.
Just for the record, when I installed Slackware, I did a full install and I had no dependency problems setting up Obextool. YMMV
- Installing packages for Bluetooth
If you did a full Slack 12 install, you should already have everything set up. If not, you'll need to install these packages from the install cd or from the Slack 12 mirrors:
You can check in /var/log/packages if they already exist.
- Installing packages for Obextool
The packages you need are:
The good news is most of those should already be installed in a full install. If not, these are the packages to install from the install cd:
Again, first check if you have them.
Next, we need to get BWidget
Untar the tarball to /usr/lib/tcl<version>
Now we get tablelist
Again, untar to /usr/lib/tcl<version>
You should now have two new
directories (BWidget and tablelist) in /usr/lib/tcl No compiling required.
Finally, we get obextool
(the GUI frontend for obexftp) from here
Untar to /usr/share
There are some files that need to be copied over, so, as root, make a new directory in /etc:
Copy all the files in /usr/share/obextool/etc to /etc/obextool
cp *.* /etc/obextool
As root, make a link from /usr/share/obextool/contrib/startup/obextool to /usr/bin/obextool
ln -s /usr/share/obextool/contrib/startup/obextool /usr/bin/obextool
This will be the obextool executable.
Now we set a passkey (PIN code). As root, edit the
/etc/bluetooth/passkeys/default file and enter the passkey you want. The Readme file in /etc/bluetooth gives more detail:
since bluez 3.0 the old pin_helper script has been replaced by
the dbus interface. To add a default passkey for every outgoing
request (e.g. the old /etc/bluetooth/pin file) drop it into
/etc/bluetooth/passkeys/default. (e.g. echo -n "1234" >
To add a passkey for a specific outgoing connection replace default
with the device's address. ( /etc/bluetooth/passkeys/aa:bb:cc:dd:ee:ff
will contain passkey for aa:bb:cc:dd:ee:ff ).
After adding a passkey you should restart bluetooth with
You'll also need to edit /etc/bluetooth/hcid.conf to add in the same passkey:
# Default PIN code for incoming connections
passkey "<your passkey>";
Make sure your bluetooth dongle is connected to the computer and your phone has bluetooth activated.
Starting the bluetooth service: (root)
Get bluetooth to recognize your dongle:
The device is usually seen as "hci0". If yours has a different name, change the next command accordingly.
Activate the dongle:
If everything went smoothly, you can now type "obextool" at the command prompt and you should be able to send and receive.
When downloading files from the phone, the files will be downloaded to whatever directory you were in when you started obextool. There is a post
at the obextool forum on how to set the download directory.
For those who are happy with a CLI, you only need openobex and obexftp (along with bluetooth, of course). Once bluetooth is running, typing
will tell you what you need to know.
Hope this proves useful, if anyone has constructive comments to make, feel free.