Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
New PET: How to get bluetooth working for file transfers.
Results 1 to 3 of 3

Thread: New PET: How to get bluetooth working for file transfers.

  1. #1

    New PET: How to get bluetooth working for file transfers.

    Ok well you got your self a fancy phone with bluetooth. In my case, a company issued SonyEricsson s710a and FC4 installed.

    If your computer doesen't have bluetooth. You get your self a supported USB Bluetooth dongle. By looking at:
    http://www.holtmann.org/linux/bluetooth/features.html

    Once you do this. You need to install some software. I've installed:
    bluez-utils-cups-2.15-7
    bluez-hcidump-1.18-1
    bluez-utils-2.15-7
    bluez-libs-2.15-1
    gnome-bluetooth-0.5.1-12
    gnome-bluetooth-libs-0.5.1-12
    bluez-pin-0.24-2

    After software is install insert the dongle to a USB port. Run dmesg to check that its insertion has been registered.

    You make sure module rfcomm is loaded:
    rfcomm 49137 2
    l2cap 34505 5 rfcomm
    bluetooth 65797 5 rfcomm,l2cap,hci_usb
    reiserfs 276665 2

    Now you need to make sure you set the pin. Pins on your phone and computer have to match. I set mine to default/common pin 1111.

    Do this by editing /etc/bluetooth/pin

    Now we need to make sure that the bluetooth service will be started on boot. You can do this by doing:

    chckconfig --add bluetooth

    Or you can go to Desktop -> System Settings -> Server Settings -> Services.

    Then you need to either start or restart bluetooth service.

    On my phone I had to not only turn on bluetooth but I also had to make it visible. In windows this is not needed. I was mostly stumped because of this.

    Then start up Bluetooth Manager (gnome). Do a scan and once your phone shows up you can close the app.

    From then on all you need to do is select the item, and send it through bluetooth.

    There is a file share manager that comes with the gnome bluetooth manager. This app dosent work for me for some reason. But if it is working I believe you can upload files to your phone aswell.

    Any questions, feel free to contact me.

    Interesting links:

    http://www.bluez.org/
    http://www.holtmann.org/linux/bluetooth/

    -----
    This PET is property of linuxjunior.org.

    Guys,


    Feel free to make any changes. Will be messing arround with this stuff some more. Will hopefully comeup with a bluetooth for networking.

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    Re:New PET: How to get bluetooth working for file transfers.

    Since the gnome-bluetooth is relying on gnokii-libs, here is how it's achieved with gammu, for those who won't install gnome-libs on their machine, belive me some of us like our fvwm without all the bloat.

    Install:
    bluez-hcidump
    bluez-pin
    bluez-utils
    libbluetooth1
    gammu
    libgammu

    Turn on bluetooth support in your kernel:
    CONFIG_BT_HCIUSB=m
    CONFIG_BT_HCIUSB_SCO=y
    CONFIG_BT_HCIUART=m
    CONFIG_BT_HCIUART_H4=y
    CONFIG_BT_HCIUART_BCSP=y
    CONFIG_BT_HCIUART_BCSP_TXCRC=y
    CONFIG_BT_HCIBCM203X=m
    CONFIG_BT_HCIBPA10X=m
    CONFIG_BT_HCIBFUSB=m
    CONFIG_BT_HCIVHCI=m

    Edit the /etc/bluetooth/pin to have your PIN for the phone. If for some reason it won't accept it, edit your /etc/bluetooth/hcid.conf file to have a option like:
    pin_helper /etc/bluetooth/givepin
    where the givepin is a small script ie:
    Code:
    #!/bin/sh
    echo "PIN:1111"
    Since for some reason the usual /usr/bin/bluez-pin program it is set to, fails from time to time..

    Edit /etc/gammurc to reflect your phone ie:
    [gammu]
    port = XX:YY:ZZ:NN:MM:RR
    connection = bluephonet
    XX:YY:ZZ:NN:MM:RR beeing the bluetooth address for your bluetooth-dongle.

    Enable bluetooth on your phone, and you're up and running ie:
    ~ > gammu --identify
    Manufacturer : Nokia
    Model : 6230 (RH-12)
    Firmware : 04.28 A (24-06-04)
    Hardware : 0605
    IMEI : xxxxxxxxxxxxxxx
    Original IMEI : xxxxxxx/xx/xxxxxx/x
    Manufactured : 08/2004
    Product code : xxxxxxx
    UEM : 288
    ~ > gammu --addfile b:/ file
    Writing: 100 percent

  3. #3
    Moderator
    Kind Mastermind
    stryder144's Avatar
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    2,925

    Re:New PET: How to get bluetooth working for file transfers.

    Hmmm...my LifeDrive has bluetooth. I might have to get a bluetooth transmitter/receiver for my computer so that I can mess with transferring files back and forth. Thanks for the PET.

    Cheers

Similar Threads

  1. starting bluetooth in rhel5
    By pdwivedi in forum Redhat / Fedora
    Replies: 0
    Last Post: 07-09-2009, 05:27 AM
  2. Bluetooth keyboard & Mouse.....
    By Bagshot in forum Windows - General Topics
    Replies: 11
    Last Post: 07-09-2006, 02:08 PM
  3. Bluetooth in linux
    By gmoreno in forum Linux - General Topics
    Replies: 3
    Last Post: 08-06-2005, 04:00 PM
  4. Linux - Windows file transfers
    By kavarogep in forum Linux - General Topics
    Replies: 1
    Last Post: 12-05-2004, 01:11 AM
  5. Ximian Gnome, RH7.3: File association not working
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 09-23-2002, 02:37 AM

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
  •