Page 1 of 10 123 ... LastLast
Results 1 to 10 of 95

Thread: HOWTO: Hoary and Nokia Phones via Bluetooth

  1. #1
    Join Date
    Dec 2004
    Location
    Venice
    Beans
    70

    Talking HOWTO: Hoary and Nokia Phones via Bluetooth

    This how to is tested with Hoary and Nokia 6630 and a Dongle Bluetooth (Usb Bluetooth)

    With this How To you could :

    - Send Files via Bluetooth from your Pc to your Nokia Phone
    - Send Files via Bluetooth from your Nokia Phone to your Pc
    - Do everything you want with Bluetooth

    Let's Start


    - Open Synaptics

    sudo synaptic
    - Install this packages and their dependences

    gnome-bluetooth
    obexserver
    bluez-utils
    - Load this modules into the kernel : l2cap, rfcomm

    sudo modprobe l2cap
    sudo modprobe rfcomm
    - Create the new device of the Dongle. We create a virtual bind from the Usb to the Serial Device

    sudo mknod /dev/rfcomm0 c 216 0
    - Activate the Bluetooth in your Phone . For the Nokia 6630 :

    Menu -> Connect. -> Bluetooth -> On
    Menu -> Connect. -> Bluetooth -> My phone's visibility -> Shown to all
    Menu -> Connect. -> Bluetooth -> My Phone's Name -> "Insert a name for your phone"
    - Scan for your phone

    hcitool scan
    This utils will scan the devices's Bluetooth ... it'll show something like this :

    Scanning ...
    00:11:9F:C0:FE:21 YOUR_PHONE_NAME
    The first number is your Phone's Address. Obviously yours will be different !
    Copy your Address on a post-it !

    - Edit your /etc/bluetooth/rfcomm.conf

    sudo gedit /etc/bluetooth/rfcomm.conf
    Cancell all and insert this :

    rfcomm0 {

    device ADDRESS_OF_YOUR_PHONE;
    channel 10;
    comment "What you want ";

    }
    In ADDRESS_OF_YOUR_PHONE you must insert the Address wich you have write in the Post it
    For example :

    rfcomm0 {

    device 00:11:9F:C0:FE:21;
    channel 10;
    comment "My Nokia Phone";

    }
    - Add the Nokia Channel (10) to communicate with your phone

    sudo sdptool add --channel=10 OPUSH
    - Do the binding

    sudo rfcomm bind /dev/rfcomm0 ADDRESS_OF_YOUR_PHONE 10
    for example : rfcomm bind /dev/rfcomm0 00:11:9F:C0:FE:21 10

    - Now we can test the connectivity

    To Send from the PC to your Nokia Phone
    gnome-obex-send filename
    for example
    gnome-obex-send /home/massi/Desktop/Video.3gp
    It'll show a prompt with the Bluetooth Device. Select your Phone and Click OK.

    To Send from Your Nokia Phone to your PC
    Activate the ObexServer on your PC to accept connections from other Bluetooth Devices :
    obexserver
    Go to your Gallery of the Phone and do Send file with Bluetooth. For Nokia 6630 :
    Menu -> Gallery -> Images -> NamePhoto.jpg -> Options -> Send -> Via Bluetooth
    and Select your Pc and click SELECT
    You can find your files into the temp directory /tmp/

    Tips

    This works perfectly on Nokia 6630 but i think it could works on ALL Nokia Phone with Bluetooth because we use the Channel number 10 which is the default channel of all Nokia Phone.
    I think also that if you know the channel number of your Phones which isn't Nokia you could replace in the How To and it could works !

    Everytime that you reboot you must re apply this things (which you could insert into a 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's user !!!
    Last edited by globalspace; May 16th, 2005 at 12:31 PM.
    I'm not a Linux's genius. But i know that I Love Ubuntu

  2. #2
    Join Date
    Nov 2004
    Location
    Bern, Switzerland
    Beans
    578

    Re: HOWTO: Hoary and Nokia Phones via Bluetooth

    you are my hero!! now bluetooth is finally working for me.
    I've a sony ericsson T610 and channel 10 works also for me. By default it was set to 1. I've no idea what channel means what. If someone knows, it would be great to le me know

    in rfcomm.conf you could also set bind to yes, maybe this would make some commands obsolete. Unfortunately I know barely nothing about bluetooth and linux.
    it looks like that for me now
    Code:
     rfcomm0 {
      bind yes;
    #	# Bluetooth address of the device
    	device 00:0E:07:D3:B0:08;
    #	# RFCOMM channel for the connection
    	channel	10;
    #	# Description of the connection
    	comment "My T610";
    }

  3. #3
    Join Date
    Dec 2004
    Location
    Venice
    Beans
    70

    Re: HOWTO: Hoary and Nokia Phones via Bluetooth

    Quote Originally Posted by rwabel
    you are my hero!! now bluetooth is finally working for me.
    I've a sony ericsson T610 and channel 10 works also for me. By default it was set to 1. I've no idea what channel means what. If someone knows, it would be great to le me know

    in rfcomm.conf you could also set bind to yes, maybe this would make some commands obsolete. Unfortunately I know barely nothing about bluetooth and linux.
    it looks like that for me now
    Code:
     rfcomm0 {
      bind yes;
    #	# Bluetooth address of the device
    	device 00:0E:07:D3:B0:08;
    #	# RFCOMM channel for the connection
    	channel	10;
    #	# Description of the connection
    	comment "My T610";
    }

    i'm very happy for you !
    glad that my how to is profit
    I'm not a Linux's genius. But i know that I Love Ubuntu

  4. #4
    Join Date
    Apr 2005
    Beans
    320
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Hoary and Nokia Phones via Bluetooth

    Thanks man, I was FINALLY able to get my motorola V551 to transer files! (now, if I could only get my webcam working i'd get completely rid of windows)

    For anybody with a Motorola one, here is what you have to do:

    First, go into your menu (middle button) connections---Bluetooth---setup

    Turn on Bluetooth. Turn on "Find Me" (nokia reference shown to all)

    Follow tutorial from hcitool down to sending/receiving files.

    To be able to send files from your phone, you will first have to send a file to it. Why? Motorola has to be able to have a connection in the list in order to send files from it, and since we can't manually add one, we have to give one to the phone. Start up a file transfer of a file (any file) and then as soon as transfer starts, cancel it. There, our phone now has the neccessary settings to send files.

    My example, I took some pictures. Lets get my pictures. Goto settings--- Multimedia---Pictures. Select a picture you want to send to your PC. Highlight it and press the middle button. A bunch of options are shown, scroll down to MOVE. The name of your computer that you sent a file to your phone from, will be listed. MAKE SURE OBEXSERVER is on, and you can transfer files no problem. Same things goes with recorded sounds and videos.

    NOTE: Unlike windows, we cannot copy and paste more than one file at a time. (unless someone knows how) because after one files transfers, obexserver shuts down, so you have to reopen it everytime.

    Anyone know how to keep obexserver on all the time, please post it here, it is REALLY frustrating.

  5. #5
    Join Date
    Dec 2004
    Location
    Venice
    Beans
    70

    Re: HOWTO: Hoary and Nokia Phones via Bluetooth

    Quote Originally Posted by derrick1985
    Anyone know how to keep obexserver on all the time, please post it here, it is REALLY frustrating.
    i think you could run at startup like all the command ...
    I'm not a Linux's genius. But i know that I Love Ubuntu

  6. #6
    Join Date
    Apr 2005
    Beans
    320
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Hoary and Nokia Phones via Bluetooth

    Quote Originally Posted by globalspace
    i think you could run at startup like all the command ...
    No, I mean when I type obexserver to receive a file, it receives it and then the program shuts down. I have to turn it on everytime to receive a file.

  7. #7
    Join Date
    Dec 2004
    Location
    Venice
    Beans
    70

    Re: HOWTO: Hoary and Nokia Phones via Bluetooth

    Quote Originally Posted by derrick1985
    No, I mean when I type obexserver to receive a file, it receives it and then the program shuts down. I have to turn it on everytime to receive a file.

    try to use

    gnome-obex-server
    let me know
    I'm not a Linux's genius. But i know that I Love Ubuntu

  8. #8
    Join Date
    Apr 2005
    Beans
    320
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Hoary and Nokia Phones via Bluetooth

    Better, but still a no go. Every time my computer receives a file now, it asks to save it, and that interfers on the continuous transfer. The good news is i don't have to continuously start obexserver after every upload.

    Oh yeah, and gnome-obex-server now saves the files in my home directory, that's another plus.

  9. #9
    Join Date
    Jan 2005
    Beans
    11

    Re: HOWTO: Hoary and Nokia Phones via Bluetooth

    When my 6600 finds my PC it asks for a code.

    Hence everything I type is in asterixes i cannot spell my user/root code.

    Does anyone know of a solution to this?

  10. #10
    Join Date
    Mar 2005
    Beans
    3

    Re: HOWTO: Hoary and Nokia Phones via Bluetooth

    worked like a charm for me!
    thx a lot man!
    Keep up the good brain use

Page 1 of 10 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •