New mobile phone and Bluetooth
My two years old mobile phone died, so I bought a Nokia 6111, a small, nice and very usable phone.
This is my first Bluetooth mobile phone, so I tried for the first time Bluetooth on my MacBook. On Debian it works out of the box (you only need the bluetooth package), but Debian doesn’t have packages for GNOME Bluetooth, so I tried the packages from tuxfamily.org. To use them install the GPG key:
wget http://download.tuxfamily.org/osrdebian/61B8DB62.gpg -O- | apt-key add -
Then add the repository to /etc/apt/sources.list:
deb http://download.tuxfamily.org/osrdebian unstable gnome-bluetooth
gnome-obex-server (the program used to receive files) works, but gnome-obex-send (the program used to send files) cannot list devices even if “hcitool scan” is working correctly. This Ubuntu bug describes the problem and suggests to use “hciconfig hci0 inqmode 0”, but it doesn’t work for me.
I’m going to use Bluetooth only a few times and I’m lazy, so I decided not to solve this problem and to use a simple script to send files to other devices:
#! /bin/sh
if [ $# -lt 2 ]; then
echo "Usage: $0 DEVICE-NAME FILES"
exit
fi
ADDR=`hcitool scan | grep $1 | awk '{ print $1; }'`
if [ -n "$ADDR" ]; then
shift
gnome-obex-send -d $ADDR "$@"
else
echo "Device \`$1' not found" >&2
fi
A more annoying problem is that, when I try to use Bluetooth, I get disconnected from wireless. Dear Lazyweb, how can I solve this?


Try nautilus-sendto 0.10 which has bluetooth obex support and fixes.
I was not very lucky with BT under Linux either btw…