To get my cellular phone working as a bluetooth modem, I did the following:
First turn bluetooth on both on your computer and you mobile phone. Also make sure that for the first time the phone must be visible to everyone.
Also make sure that the internet already works on the phone, and check the used access point's name in the connection details.
To determine the address of your phone, issue:
$ hcitool scan
Scanning ...
00:16:BC:2E:C2:62 Lucy
Then you have to know the rfcomm channel number for this service:
$ sdptool search dun
Inquiring ...
Searching for dun on 00:16:BC:2E:C2:62 ...
Service Name: Dial-Up Networking
Service RecHandle: 0x10036
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 2
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100
Now just create a small and executable script, for example ~/bin/net.phone with:
#!/bin/sh
sudo rfcomm release rfcomm0
sudo rfcomm bind 0 00:1F:E4:15:8B:B1 2
sudo /etc/init.d/mldonkey-server stop
sudo pppd /dev/rfcomm0 115200 connect "chat -V -f /home/czigola/bin/net.phone.chat" crtscts modem -detach noccp defaultroute noauth ipcp-accept-remote ipcp-accept-local noipdefault usepeerdns
sudo /etc/init.d/mldonkey-server start
Please note, that I do stop P2P and restart it afterwards.
Also create in the appropriate directory a file containing the chat script (net.phone.chat):
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
'' ATZ
OK-AT-OK AT+CGDCONT=1,"IP","wnw"
OK "ATD*99***1#"
CONNECT ''
Replace wnw with your access point's name. If it does not work, try using the number *99# .
Optionally you can configure /etc/bluetooth/rfcomm.conf to automatically create a rfcomm interface for your phone.
WM5torage is a fantastic tool for any cellular phone running Windows Mobile. Using it, you just connect you mobile to a PC via USB, and you will be able to see the memory cards of the phone as USB mass storage devices on the PC.
If you experience troubles under Linux, check the last few lines of dmesg. If the device was recognized correctly, but afterwards you see messages repeating like:
Okt 13 16:31:59 Kamorka kernel: Buffer I/O error on device sdb, logical block 1
Okt 13 16:31:59 Kamorka kernel: usb 3-1: reset full speed USB device using uhci_hcd and address 2
then deactivate wm5torage, click Start --> Settings --> Connections --> USB to PC , and disable "advanced USB functions". Now activate wm5torage again. For me, it works. ;)
Found it here: http://forum.xda-developers.com/archive/index.php/t-287482.html