Slack 12 and Obextool How to
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
dbus bluez-libs bluez-utils You can check in /var/log/packages if they already exist.
tcl tk BWidget tablelist openobex obexftp obextool 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: tcl tk openobex obexftp Again, first check if you have them. Next, we need to get BWidget from Sourceforge Untar the tarball to /usr/lib/tcl<version> Now we get tablelist from http://www.nemethi.de/ 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: Code:
mkdir /etc/obextool Code:
cd /usr/share/obextool/etc Code:
cp *.* /etc/obextool As root, make a link from /usr/share/obextool/contrib/startup/obextool to /usr/bin/obextool Code:
ln -s /usr/share/obextool/contrib/startup/obextool /usr/bin/obextool
/etc/bluetooth/passkeys/default file and enter the passkey you want. The Readme file in /etc/bluetooth gives more detail: Code:
since bluez 3.0 the old pin_helper script has been replaced by Code:
# Default PIN code for incoming connections
Starting the bluetooth service: (root) Code:
/etc/rc.d/rc.bluetooth start Code:
hciconfig -a Activate the dongle: Code:
hciconfig hci0 up 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.
Code:
obexftp --help Hope this proves useful, if anyone has constructive comments to make, feel free. |
Hello from Italy,mdg.When you say about BWidget and tablelist "untar to /usr/lib/tcl<version>",could you pls tell me the right command?What version do you mean?The one of tcl?This is 8.4.15-i486-1.Thanx so much.Bye.
|
Yes, it's the same version. So you would cd into the /usr/lib/tcl8.4 directory and untar the BWidget and tablelist tar.gz files to there.
Code:
cd /usr/lib/tcl8.4 Code:
tar xvzf /path/to/BWidget-1.8.0.tar.gz Code:
tar xvzf /path/to/tablelist4.8.tar.gz |
Many thanks,mdg.
|
Seems to connect... nothing happens!
I have a Samsung LG CX245 and while it connects, doesn't seem to want to show any files...
Perhaps I can do a software upgrade on it. As I read somewhere in the manual that there are problems with the Canadian version. - Perry |
I'm not familiar with your phone (search turns up a home entertainment center?), but you could try
Code:
obexftp -b -l Code:
obexftp --help |
sorry to bother...
I did it for a fifth or so time in a row and always had my "blutonium" hanging there...
:-( So I finally got it working by: Code:
# hciconfig -a |
All times are GMT -5. The time now is 02:59 AM. |