Need help with Ubuntu Eee?
This isn't the place for support, please go here for help

How to transfer pictures, music and videos from and to your Nokia phone using Bluetooth in Ubuntu

This should work with all phones with OBEX (pretty much any phone) and all versions of Ubuntu. I have tried different applications for the task of transferring files from and to my phone. The good thing about this solution, is that the phone will be mounted as a device, meaning it can be incorporated with Nautilus / Rhythmbox / Amarok / F-spot / Picasa / any application you’re using for your music and pictures.

080226phone.pngInstall needed applications
Y
es, this is a copy and paste from my How to use your Nokia to connect to the Internet in Ubuntu. If you’ve already followed the first step in that how to, just install obexfs.

  1. Open up a Terminal and copy&paste these 3 commands:
    wget -q http://download.tuxfamily.org/blueman/blueman.gpg -O- | sudo apt-key add -

    sudo wget http://download.tuxfamily.org/blueman/hardy.list -O /etc/apt/sources.list.d/blueman.list

    sudo apt-get update

  2. Go to System - Administration - Synaptic …

  3. Find “blueman” and “obexfs”, mark them for installation and click Apply

  4. When done, all open applications can be closed .

a
080220blueman.pngUse Blueman

  1. Start Blueman from Applications - Accessories

  2. Click Inquiry, select your phone and click Bond

  3. Type the same pin on both your computer and your phone and the bonding should be successful

  4. With the phone selected, click Other and select “Set trusted”

  5. With your phone selected, go to Properties - Get Service List

  6. Take note of the OBEX File Transfer channel (ex: 11)

  7. Click “Device Information” and copy the Device Address (ex: 00:1D:FD:6C:9B:66)

  8. When done, Blueman can be closed

a

System changes

  1. Click Alt + F2 and the Run Application dialog pops up. Write:

    gksudo adduser YOURUSERNAME fuse && gksudo chgrp fuse /dev/fuse

  2. Log out and in again (System – Quit – Log out)

a

Create a folder

  1. Go to Places – Home Folder

  2. Select File – Create Folder and name it Phone

a

080226mount.pngMake shortcuts for mounting and dismounting the Phone

  1. Right click Applications and select “Edit Menus”

  2. Click “New Menu”
    Name: Phone
    Click the image and select any icon

  3. Select Phone in the sidebar and click “New Item”

  4. Name: Mount Phone
    Command: “obexfs -b THEDEVICEADDRESS -B THECHANNEL /home/YOURUSERNAME/Phone”
    (ex: “obexfs -b 00:1D:FD:6C:9B:66 -B 11 /home/ramvi/Phone”)
    Click the image and select any icon

  5. Click OK and “New Item” again

  6. Name: Dismount Phone
    Command: gksudo umount /home/YOURUSERNAME/Phone
    (ex: gksudo umount /home/ramvi/Phone)
    Click the image and select any icon

a

  • Select Mount Phone under Applications - Phone and Nautilus should pop up with your phone. It’s now accessible from any application

    a

  • Here’s some icon ideas:

    1. http://www.iconfinder.net/?q=phone
    2. /usr/share/icons/ on your machine

    aUPDATE
    There seems to be a bug in Ubuntu Hardy’s obexfs. I’m only able to read files. I’m not able to write files to the phone. This should be working in Ubuntu Gutsy though..? The bug in hardy will probably be fixed soon as well.

    February 26th, 2008 | Other | 3 comments

    How to use your Nokia to connect to the Internet in Ubuntu

    OS X is without a doubt the easiest OS for configuring Bluetooth devices. Adding phones, keyboards and headsets is (more or less) as easy as it could be. Windows is way behind. You can add your phone, but where OS X automatically sets up the phone as a modem connection, you will have to download some PC Suite crap or hack your way onto the phone. Ubuntu is somewhere between Windows and OS X, but (sad to say) closer to Windows.
    So, to ease the pain, here’s a how to use your Nokia to connect to the Internet in Ubuntu. I’m using Ubuntu Gutsy Beta 4 and a Nokia N82. Everything should be pretty much the same for older Ubuntu versions and other Nokias.

    Everything in the guide is really (that is, when you’re following it) without the quotes.

    080220synaptic.png

    a

    1. Install needed applications
    a

    1. Go to System - Administration - Software Sources
    2. Select Third-Party Software and add “deb http://download.tuxfamily.org/blueman ubuntu bluetooth”
    3. Close Software Sources. It will ask for permission to update. Yes, you’d like that…
    4. Go to System - Administration - Synaptic …
    5. Find “blueman” and “gnome-ppp”, mark them for installation and click Apply
    6. When done, all open applications can be closed

    080220blueman.png

    a

    2. Configure Blueman
    a

    1. Start Blueman from Applications - Accessories
    2. Click Inquiry, select your phone and click Bond
    3. Type the same pin on both your computer and your phone and the bonding should be successful
    4. With the phone selected, click Other and select “Set trusted”
    5. Now go to Edit and select Services
    6. Enable Serial, check autostart and click the configuration button
    7. From the Host dropdown, select your phone
    8. From the Service dropdown, select “dun: Dial-Up Networking” and click Add Port
    9. When done, Blueman can be closed

    080220gnomeppp.png

    a

    3. Configure the dial-up
    a

    1. Start GNOME PPP from Applications - Internet
    2. Click Setup and write “/dev/rfcomm0″ in the Device field
    3. Under Options, I recommend you check “On connect Dock in notification area”
    4. Click Close
    5. If you have gotten your own unique username, password and phone number, write those in
    6. Otherwise, write your phone number as username and password and *99***# as phone number”"
    7. “Remember password” must be checked (this is a bug)
    8. Now, click Connect

    How to connect in the future

    1. Start GNOME PPP and click Connect

    a

    UPDATE 8th of May 08

    How to use the data cable / usb cable instead of bluetooth

    1. Connect the phone with the cable
    2. In 3.2, where you type /dev/rfcomm0, click Detect instead.
    3. Close and Connect

    February 20th, 2008 | Other | 9 comments