Connect Hoary and Nokia phones via Bluetooth
This how-to has been tested with Hoary, Nokia 6630 and a Doyle chip (Dongle) Bluetooth (USB bluetooth).
With this How, you can:
-Send files from your PC to your Nokia phone via Bluetooth
-Send files from your Nokia phone to your PC via Bluetooth
-Do anything you need with Bluetooth let's get started!
-Open the new Rieter Package Manager
sudo synaptic
-Install these packages and their dependencies
Gnome-bluetooth
Obexserver
Bluez-utils
-load this module to the core: L2cap, Rfcomm
sudo modprobe l2cap
sudo modprobe rfcomm
-Build a new Dongle device. We set up a virtual bind from USB to serial device
sudo mknod/dev/rfcomm0 C 216 0
-Activate your phone's bluetooth. For Nokia 6630:
Menu, Connect. Bluetooth-On
Bluetooth-on-off menu, connect
Menu, Connect. Bluetooth---My phone ' s visibility, shown to all
All the visibility of the phone, Bluetooth-
Menu, Connect. Bluetooth---My phone's name---"Insert a name for your Phone"
menu, connect bluetooth, my phone name, enter a name for your phone
-Search for your phone
Hcitool Scan
This app will scan the Bluetooth device. It will show some information like this:
Scan in ...
00:11:9f:c0:fe:21 your phone name
The starting number is the address of your phone. Obviously, you're going to be different!
Copy your address into the pasteboard!
-Edit/etc/bluetooth/rfcomm.conf:
sudo gedit/etc/bluetooth/rfcomm.conf
Cancel all the content and enter these:
RFCOMM0 {
Device your mobile address;
Channel 10;
Comment "What are you want";
}
In the "Your phone address", you must enter the address that you have written on the pasteboard. For example:
RFCOMM0 {
Device 00:11:9f:c0:fe:21;
Channel 10;
Comment "My Nokia Phone";
}
-Add Nokia Channel (10) to communicate with your phone
sudo sdptool add--channel=10 opush
-Binding
sudo rfcomm bind/dev/rfcomm0 your mobile address 10
For example:
Rfcomm BIND/DEV/RFCOMM0 00:11:9f:c0:fe:21 10
-Now we can test connectivity
Transfer from PC to your Nokia phone
Gnome-obex-send file name
For example:
gnome-obex-send/home/massi/desktop/video.3gp
It will prompt for a Bluetooth device. Choose your phone, OK.
Transfer from your Nokia to your computer
Activate the obexserver on your computer to accept connections from other Bluetooth devices:
Obexserver
Go to your phone's library and use Bluetooth to transfer files. For Nokia 6630:
Menu, Gallery, Images, Namephoto.jpg, Options---Via Bluetooth
menu, gallery, image, picture name .jpg-> options, send via Bluetooth
Then select your computer and click on select
You can find your files in the Temp folder/tmp/.
Skills:
This works perfectly on the Nokia 6630, but I think using Bluetooth can work on all Nokia phones. Because the channel Number 10 we are using is the default channel for Nokia phones.
If your phone is not Nokia, but you know the channel number of your phone, you can replace it in how, I think it can also work!
Each time you restart, you have to reapply these (these you can write a startup script (Boot-script))
Modprobe L2cap
sudo modprobe rfcomm
sudo mknod/dev/rfcomm0 C 216 0
Sdptool Add--channel=10 Opush
sudo rfcomm bind/dev/rfcomm0 your_phone_address 10
Have fun, Ubuntu users!!!
Translation: Yongyi
Ubutun connect Hoary and Nokia phones via Bluetooth