Internet Sharing via Bluetooth PAN with WM 6.1 Pro (Omnia) & Ubuntu

Thanks God at last …. i finally can get connected to internet through my OMNIA … Maybe its a starting for Me to improve n fullfill my dream/goals for this 2009 year ..

1) U do need all the neccessary packages :

sudo apt-get install bluetooth bluez bluez-compat bluez-utils gnome-bluetooth

2) Turn on the Bluetooth of Pocket PC and find the Pocket PC from the Ubuntu Laptop by issuing : (make sure u already turn on ya bluetooth and make it visible)

hcitool scan

Then, you will see the following (the address is different from yours) :

Scanning …
00:0E:07:37:7C:BD YourMobileDeviceName

Edit your /etc/default/bluetooth :

# Defaults for bluez

# start bluetooth on boot?
# compatibility note: If this variable is not found bluetooth will
# start

BLUETOOTH_ENABLED=1

# This setting will switch HID devices (e.g mouse/keyboad) to HCI mode, that is
# you will have bluetooth functionality from your dongle instead of only HID.
# Note that not every bluetooth dongle is capable of switching back to HID
# mode, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497

HID2HCI_ENABLED=1
HID2HCI_UNDO=1

#PAND_ENABLED=0
PAND_ENABLED=1

#PAND_OPTIONS=”"
PAND_OPTIONS=”–listen –role=NAP –devup /etc/bluetooth/pan/dev-up”
then save it.

3) Pairing your MobileDevice and your laptop@PC

4) Append the following lines to “/etc/network/interfaces� :

sudo vim /etc/network/interfaces

add below to the file,

auto bnep0

iface bnep0 inet dhcp

then save it.

Write this script where ever u want: example , omnia.sh

#!/bin/bash

sudo modprobe bnep
sudo pand –listen -c 00:21:D2:64:DB:FE –role=NAP -n –persist
sudo ifconfig bnep0
sudo ifup bnep0

* Change the mac address according to your mac address

chmod +x omnia.sh

Then execute it, ./omnia.sh

Pocket PC ( Windows Mobile )

1) Open the Internet Sharing Connection (ICS)

2) PC Connection: Bluetooth PAN

3) Network Connection: DiGi Internet (change it with your ISP 3G provider)

When u see,

Status : Connected

Its mean u already get connected to internet via ICS … try ping anywhere to test your connection … Gud Luck !!!


24 Responses to “Internet Sharing via Bluetooth PAN with WM 6.1 Pro (Omnia) & Ubuntu”

  • Amir Says:

    Hi
    thank you
    But how can I get connected to internet through my OMNIA via USB cable?

  • default Says:

    The instructs are to the dot!! Make sure you do not copy-paste from this web page. “–” gets converted to “–”.

    I used this instructions on Ubuntu 9.04 Jaunty.

  • BaC Says:

    Hello, THX for this tutorial, helpt me a lot!
    i got connectet over the OMNIA, but… i cant resolve DNS requests…
    is there something i have to add to the config?

    greets BaC

  • BaC Says:

    Ok problem solved.
    Had to ifdown and ifup the bnet0 interface so the /etc/resolv.conf got the new entry 192.168.0.1 :D

    Ps: Firefox doesnt get it (offline mode, blah), but when i use konqueror it just works fine :)

  • fenris Says:

    Bac,

    yeah .. for firefox u need to untick at the offline mode first. then u may start browsing with firefox

  • fenris Says:

    AMIR,

    if u r using USB, just plugin your USB cable to your OMNIA and desktop/laptop … then choose from the ICS to use your USB ..

  • matpil Says:

    hi,
    I’ve a “little” problem. I need to share internet connection from pc to pda via bt…
    I use ubuntu jaunty… Have you some ideas?

  • Hardus Says:

    Hallo, and THANKS, Ive followed about 3 different tutorials on this and each ended up not working, until this one!

    Thanks for this Easy Totorial.

  • Michel Says:

    Thank you,
    I am writing this reply with my EeePC901 running Ubuntu 9.04 on an USB Key connected to Internet using Bluetooth PAN on my HTC Touch Diamond2 (WM 6.1 Pro)
    :)

  • andy Says:

    Many thanks,
    I too am writing this on an EeePC901 running Eeebuntu 3.0 but connected to my wife’s Macbook which is using mobile broadband.
    Wanted this working before we went on holiday so we wouldn’t fight over the dongle.

  • Bayu Says:

    Wow, thank you very much!
    I’m using valencia (Samsung GT-C6625) and it simply works!.

  • veeZ Says:

    hey. am i able to do this with windows xp? ive been searching for hours now with no luck.
    all help will be greatly appreciated
    (using samsung star and want it to connect through my laptops internet connection through bluetooth)

  • fenris Says:

    @veeZ for windows xp, u just use Internet Connection Sharing (ICS)

  • Liridon Krasniqi Says:

    i have an advanced software (small size 1MB) for sharing any internet connection
    in this software package included keygen and User Manual PDF file for install and configure
    Works with these Operating Systems Win98/NT/2000/XP/2003/Vista/Win7/2008
    and works with all kind of network adapter: USB Wireless, Bluetooth, LAN Card 10/100 mbps etc….
    I am online at Europe Zone CET (GMT+1) for helping users remotely.
    Please feel free to contact my by this email address liridonk@hotmail.com

    just let you know this software costs 20 euro.
    don’t complicate things, try the easier way ;)

  • sohbet odalar? Says:

    thankx post good

  • evden eve nakliyat Says:

    oh my good .. my very nice post …

  • sohbet odalari Says:

    thanks for the info

  • nakliyat Says:

    I get that Ford is pushing the Mustang, but wouldn’t times against other cars in it’s class have been better? If the Impreza is pulling a sub 10 minute rally, then the Mustang is NOT a good rally car. All this video proves is that a rear wheel drive Ford can rally, but the Escort proved that in the WRC 20 years ago…

  • saç ekimi Says:

    I get that Ford is pushing the Mustang, but wouldn’t times against other cars in it’s class have been better? If the Impreza is pulling a sub 10 minute rally, then the Mustang is NOT a good rally car. All this video proves is that a rear wheel drive Ford can rally, but the Escort proved that in the WRC 20 years ago…

  • evden eve nakliyat Says:

    For centuries mankind has heard of the wonder of living environment on earth, an event that will raise living standards began to wrap. Effort to understand the events that appear to be ordinary, in fact the world is a place full of mystery and has led them to realize the need to resolve. Only to understand and feel the need to solve the traditional science, although science phase of the split type is not only to solve the solution includes more than just progress. Science in retrospect some of the most important numbers math, geometry, sky science and medicine is. Mathematical analysis of a wide range of systems developed since the first times I was still new formulas, systems, theories of science are being developed so that continuity is an example.

  • Söve Says:

    Great post.Thanks.

  • Never Give Up Dude, All Come From Zero Says:

    my problem solved with your article, thanks dude

  • surender Says:

    how to connect to internet on my samsung valencia using bluetooth while having windows vista operating system

    thnx in advance

  • yedek parca Says:

    Hi .. my names ahmet .. yedek parca bizde .. very nice post commnet olmus ..

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes