Connecting to internet through Bluetooth in Fedora 9 (GP/Aktel/Banglalink/Teletalk/Warid)

I was amazed seeing that using mobile phone as modem in Ubuntu 8.10 is just like learning abc. You just connect a modem using USB cable or Bluetooth and Ubuntu will take care of the rest. The easy and step by step interface is so easy that any novice can configure it too.

But I am mostly Redhat variant user. I use Fedora 9 for my laptop’s OS beside Windows XP. I did not find configuring Bluetooth in Fedora as easy as in Ubuntu. But no worry, its not hard enough. I have found a good tutorial which helped me to configure bluetooth to use internet. If you need help in fully Bangla, please visit this page.

  1. To skip writing sudo before each command, you better login as root.
  2. Connect your Bluetooth Dongle (if you don’t have built in bluetooth support) and enable bluetooth on mobile phone.
  3. Then we need to find out the MAC address of our mobile. So run the following command:
    hcitool scan
  4. This may return result something like:
    00:22:FD:F3:8F:99    HungryCell
  5. So we got the MAC address which is 00:22:FD:F3:8F:99. It will differ in your case.
  6. Now we need to know the channel number for Dialup Internet Service in our mobile. So run the following command:
    sdptool search DUN | grep Channel
  7. You will get something like Channel: 1. It may be channel 2 or any other number too.
  8. We got MAC and channel. Now we will configure our device. Run
    # gedit /etc/bluetooth/rfcomm.conf
  9. Add the following contents inside the file. Replace the bold part according our retreived values.

    rfcomm0 {
    bind yes;
    device your-phone-mac-address;
    channel your-phone-rfcomm-channel;
    comment “Bluetooth PPP Connection”;
    }

  10. According to our previous retrieved values, our settings should be like:
    rfcomm0 {
    bind yes;
    device 00:22:FD:F3:8F:99;
    channel 1;
    comment “Bluetooth PPP Connection”;
    }
  11. Save the file and exit.
  12. Now we need to create Dialup Connection. Run:
    gedit /etc/wvdial.conf
  13. Put the following contents in the file and exit after saving the file:
    [Dialer bluetooth]
    Modem = /dev/rfcomm0
    Baud = 460800
    SetVolume=0
    Dail Command = ATDT
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init3 = AT+CGDCONT=1,”IP”,”APN”
    Phone = *99#
    Username = xyz
    Password = xyz
  14. You must replace the APN with appropriate Access Point Number of your ISP.
  15. Now its time to dial. Run the following command:
    wvdial bluetooth
  16. If everything goes well, then it will connect you to internet :).

Any update, correction, modification and suggestion is appreciated.

  • Employer

    Hi, I am looking for people of your potential. Although this comment may sound like a Nigerian scammer, please email me your resume, (including your current job, educational background, position, salary) to coffeechair at gmail

    Your website does not provide enough background information to contact you directly with an offer. The work is full time IT related at a large organization (>6000 employees) located in Bangladesh.

  • admin

    Hello,
    Thanks a lot for your kind consideration for me. But actually I am not interested to do any job right now. I better love to work as a freelancer and enjoy the freedom.

    Thanks again.

  • Employer

    Sorry to hear that. Well the work involved isn’t about tech support, it is actual IT systems maintenance. As I said it is with a large company heavily invested in this sector with the opportunity to branch out into other divisions (as many of our initial IT people have done successfully). That is why we are looking for new staff as the older IT batch is now management.

    Email me the information I requested, let me look at it and when I get back to you, you can review the offer and then decide if you want to remain a freelancer. You cannot decide before hand on something you haven’t seen. But anyway I will leave it at that.

  • admin

    Hello,
    that’s really lucrative. actually being a BBA graduate I will also love management job tied heavily with IT.

    ok, I will send you my CV.

    thanks

  • confused

    Hello, I was looking for the dial number for banglalink in windows XP. Please help me.

  • admin

    it should be same. the dialup number should be *99#

  • hi.
    Thanx for giving so much knowledge.i have a request, Hope u will kind enough to help.i am using reliance dial-up through my LG 6600 mobile with my vista OS. I am also want to use it with my
    fedora 9 OS. SO Please kind Help me if u have any solution.whenever i am trying to connect it shows something like
    pppon folder/directory not exist and something like child process error.so Please kindly help me regarding this for which i will be very greatfull to you.
    THANX
    waiting for your reply.

  • admin

    hello prasad,
    thanks for your comment. but i am not certain how much i can help you as you did not provide any specific information like how you tried to connect, what error you got etc. but i suggest you installing gnome-ppp to dial using mobile modem. you may need to connect the mobile using cable rather than bluetooth. You check connecting using cable before using bluetooth.

    thanks

  • Good tutorial. Thanks.

    I have a similar post, on how to connect using the Phone as the modem. Here:

    http://shubuntu.blogspot.com/2008/04/use-your-mobile-as-external-modem-in.html

  • I Completed all the steps mentioned above by You successfully on My fedora 13 OS
    But when I do run wvdial bluetooth command I get “Command Not found”
    Please help me out of it……
    What are the configurations to be achieved?
    I tried even in UBUNTU 10.04 I find the same Error as
    Command not found……….

  • The HungryCoder

    You have to install wvdial! For Ubuntu:
    sudo apt-get install wvdial

    for Fedora
    sudo yum install wvdial
    Though I am not sure whether wvdial is available on default repositories! If it says nothing found, then try adding RPMFORGE repository!

    After you have install wvdial, you can run it from shell!