Page 1 of 5 123 ... LastLast
Results 1 to 10 of 46

Thread: Configure GPRS/EDGE via Bluetooth

  1. #1
    Join Date
    May 2005
    Location
    Kolkata
    Beans
    20
    Distro
    Ubuntu

    Question Configure GPRS/EDGE via Bluetooth

    How to configure internet access through GPRS/EDGE, using bluetooth connection with your GSM phone.

    I am using ubuntu and Nokia 6630 phone with Airtel Connection, but this will work with any distribution and any bluetooth capable phone..

    * Requirements:

    1) GPRS/EDGE Enabled Phone (Here Nokia 6630)
    2) GPRS Connection (Here Airtel, Kolkata, India)
    3) BlueTooth Dongle
    4) bluez-utils
    sudo apt-get install bluez-utils

    5) openobex
    Download here and compile,
    You need gawk and gcc,
    sudo apt-get install gawk
    sudo apt-get install gcc

    6) ppp
    sudo apt-get install ppp

    7) latest 2.6 kernel

    * Now the simple easy steps:


    Step 1.
    Plugin The bluetooth dongle and activate the bluetooth on your mobile
    Step 2.
    Kernel Configuration
    You may ignore this part if your hardware is recognised, Ubuntu Magic
    CONFIG_BT=y
    CONFIG_BT_L2CAP=m
    CONFIG_BT_SCO=m
    CONFIG_BT_RFCOMM=m
    CONFIG_BT_RFCOMM_TTY=y
    CONFIG_BT_BNEP=m
    CONFIG_BT_BNEP_MC_FILTER=y
    CONFIG_BT_BNEP_PROTO_FILTER=y
    CONFIG_BT_HIDP=m
    ## Bluetooth device drivers
    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_HCIBCM203X=m
    CONFIG_BT_HCIBPA10X=m
    CONFIG_BT_HCIBFUSB=m
    CONFIG_BT_HCIDTL1=m
    CONFIG_BT_HCIBT3C=m
    CONFIG_BT_HCIBLUECARD=m
    CONFIG_BT_HCIBTUART=m
    CONFIG_BT_HCIVHCI=m
    ## PPP
    CONFIG_PPP=y
    CONFIG_PPP_ASYNC=y
    CONFIG_PPP_SYNC_TTY=m
    CONFIG_PPP_DEFLATE=m
    CONFIG_PPP_BSDCOMP=m
    CONFIG_PPP_MPPE=m
    Step 3.
    Issue this command
    hcitool scan
    It will give you an output like this
    Scanning ...
    00:11:9F1:05:A4 Nokia 6630
    Note/Copy the address "00:11:9F1:05:A4" somewhere.
    This is the bluetooth address of the phone.

    Step 4.
    Issue this command
    sudo vi /etc/bluetooth/pin-helper
    Put this on that file and save
    #!/bin/sh
    echo -n "PIN:" cat /etc/bluetooth/pin
    also remember to check the file "/etc/bluetooth/pin"
    which should have something like this "1234", If it is not there create that files and put "1234"


    Step 5.
    Issue this
    sudo vi /etc/bluetooth/rfcomm.conf
    Put this
    rfcomm0 {
    bind yes;
    device 00:11:9F1:05:A4;
    channel 1;
    comment "Nokia";
    }
    Remember to replace this "00:11:9F1:05:A4" with the address you copied in step 3.

    Step 6.

    Create a file
    sudo vi /etc/ppp/peers/airtel
    Put this
    /dev/rfcomm0 115200
    connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
    crtscts
    modem -detach
    noccp
    defaultroute
    usepeerdns
    noauth
    ipcp-accept-remote
    ipcp-accept-local
    noipdefault
    Step 7.
    Create a file
    sudo vi /etc/ppp/chat-gprs
    Put this
    '' ATZ OK
    AT+CGDCONT=1,"IP","airtelgprs.com"
    OK "ATD*99***1#"
    CONNECT ''
    You need to ask your service provider and replace the "airtelgprs.com"
    and "*99***1#", these are the IP/host name of gprs provider and dialup no.

    Step 8.

    YOU ARE DONE! THATS IT? YEAH....
    just issue this command
    pppd call airtel
    Thanks..Enjoy Ubuntu.


    Last edited by mukherjee.siddhartha; September 14th, 2006 at 09:05 AM.
    Life Is Linux.

  2. #2
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Configure GPRS/EDGE via Bluetooth

    Nice How-to mukherjee.siddhartha.

    This thread has been added to the UDSF wiki.

    How-to Internet Access Bluetooth GSM Phone
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  3. #3
    Join Date
    May 2005
    Location
    Kolkata
    Beans
    20
    Distro
    Ubuntu

    Re: Configure GPRS/EDGE via Bluetooth

    Thanks, Internet is a nice place, full with nice people
    Life Is Linux.

  4. #4
    Join Date
    May 2005
    Location
    Kolkata
    Beans
    20
    Distro
    Ubuntu

    Unhappy Re: Configure GPRS/EDGE via Bluetooth

    I tried this on edgy,
    Its not possible there, you wont be able to pair the phone with ubuntu.
    Any help help on this will be great.

    BTW, I did not like Edgy, SO rollback to dapper again. Everything works on Dapper.
    Life Is Linux.

  5. #5
    Join Date
    Nov 2006
    Location
    Slovakia
    Beans
    2
    Distro
    Kubuntu 6.10 Edgy

    Re: Configure GPRS/EDGE via Bluetooth

    Quote Originally Posted by mukherjee.siddhartha View Post
    I tried this on edgy,
    Its not possible there, you wont be able to pair the phone with ubuntu.
    Any help help on this will be great.

    BTW, I did not like Edgy, SO rollback to dapper again. Everything works on Dapper.
    I installed Edgy month ago, but I still have problem with pairing my phone with PC. There is some problem with passkey in hcid.conf , I think.

  6. #6
    Join Date
    May 2005
    Location
    Kolkata
    Beans
    20
    Distro
    Ubuntu

    Re: Configure GPRS/EDGE via Bluetooth

    I think its impossible to pair in Edgy
    Life Is Linux.

  7. #7
    Join Date
    Sep 2006
    Location
    South Africa
    Beans
    31
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Configure GPRS/EDGE via Bluetooth

    does anybody know how to get gprs and bluetooth working for edgy ????

    btw, all the info is in here to get it working on dapper except that u must change pin-helper to /usr/bin/bluepin

    http://www.howtoforge.org/linux_inte...ooth_gsm_phone
    |Linux User #355086|Machine Registration #248938|
    NEVER sudo rm -rf anything! and don't run any command with rm in it unless you know exactly what you're doing. Read this for more information.
    Getting the Best Help on Linux Forums

  8. #8
    Join Date
    May 2005
    Location
    Kolkata
    Beans
    20
    Distro
    Ubuntu

    Re: Configure GPRS/EDGE via Bluetooth

    I do what exactly same is here, no need for change the pin helper
    Life Is Linux.

  9. #9
    Join Date
    Nov 2006
    Beans
    192

    Re: Configure GPRS/EDGE via Bluetooth

    Quote Originally Posted by mukherjee.siddhartha View Post
    I think its impossible to pair in Edgy
    I just managed it (6.10). I plugged in my USB Bluetooth dongle and turned on Bluetooth on my phone (SE Z5201).

    I followed the instructions in the earlier post to do a hcitool scan and it could see the phone, so I edited pin-helper and rfcomm.conf as suggested, and added a number to bluetooth/pin. Set the phone to scan and it found the laptop. Requested a pairing and a window popped up and asked me to enter the passcode, and it paired.

    Only trouble is, a scan for services shows the laptop offering nothing. What software is needed on Edgy to offer remote cursor/enter control (eg for presentations)? File transfer already worked OK before this (unpaired), using the installed Bluetooth File Sharing application.

  10. #10
    Join Date
    Nov 2006
    Beans
    111
    Distro
    Ubuntu 6.10 Edgy

    Re: Configure GPRS/EDGE via Bluetooth

    pppd: In file /etc/ppp/peers/gp: unrecognized option '/dev/rfcomm0'

    sucks
    Ubuntu 6.10 edgy user
    i love ubuntu.and i am learning it now.

Page 1 of 5 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
  •