If you have a Windows Mobile 6 phone’s and want to access internet through Ubuntu 8.10 box then here are the steps which will help you to get it.
First get these packages if their not already installed:
* bluez-utils
* bluetooth
* bluez-gnome
* bluez-hcidump
You might have to enable Bluetooth:
“System->Preferences->BlueTooth Preferences”. Set the mode on the devices tab to “Other devices can connect”. Under General, set the program to always show the BlueTooth systray applet.
Next turn on Bluetooth in your WM6 device, and set it to allow other devices to search and find it. then from your phone, add a new device and choose your computer from the list. You should get a popup in Ubuntu and from there its self explanatory.
Next from console run:
hcitool scan (Write down the MAC address of your phone).
sudo nano /etc/default/bluetooth
Change or add the entries for PAND:
PAND_ENABLED=1
PAND_OPTIONS=”–role=PANU”
Save and close that file. Now in your home directory create these two bash scripts, these will enable and disable PAND
Filename: panup
#!/bin/bash
sudo pand –connect <your MAC here> -n
sleep 1
sudo ifup bnep0
Filename: pandown
#!/bin/bash
sudo ifdown bnep0
sudo pand -K
Give execute permission to these or full permission, doesn’t matter.
chmod 777 panup
chmod 777 pandown
We need to add a line to /etc/network/interfaces. Open that file with a text editor (as root) and add the following line to it near the end:
sudo nano /etc/network/interfaces
And add to the bottom of that:
iface bnep0 inet dhcp
Save that file, and restart X for good measure.. (CTRL + ALT + BACKSPACE)
Finally, start up the Internet Sharing on your phone and connect from your PC. Make sure you selected Bluetooth PAN instead of USB.
Goto where you saved those bash scripts we created and in console type:
./panup
If all went well you should connect!
ALWAYS shut it down after use..
./pandown
Here’s a quick note, if you open up Firefox and you get a working offline message, go to File, and uncheck Work Offline. That should fix it. Now this isn’t perfect, and i haven’t gotten other programs like Pidgin to work, but for basic Bluetooth over internet, it’s great!
Originally written by Ray Detwiler edited by me.