Malmö 11.12.2012
 
There is a lot of tutorials about using bluetooth networking on Linux, here are
 
my experience.
I have never had any problem with Sony Ericson telephones. They always create 
interface usb0 on Ubuntu and work out of the box after connecting the usb cable.
 
But once I've got LG and I couldn’t use phone as modem. It was possible only 
with Windows application.
This is how I use phone as modem with help of bluetooth.
Pair phone with computer via bluetooth.
Edit file /etc/bluetootth/rfcomm.conf it should look like this:
rfcomm0 {
	# Automatically bind the device at startup
	bind no;
	# Bluetooth address of the device
	device 20:21:A5:8A:4F:CE;
	# RFCOMM channel for the connection
	channel	7;
	# Description of the connection
	comment "LG-GW520-Pawel";
}
Replace bluetooth device address with bluetooth MAC of your phone and feel free 
Create file /etc/ppp/peers/chat-blue
I use swedish Comviq/Tele2 service. You mast do changes for you provider.
TIMEOUT 5 ECHO ON ABORT '\nBUSY\r' ABORT '\nERROR\r' ABORT '\nNO ANSWER\r' ABORT '\nNO CARRIER\r' ABORT '\nNO DIALTONE\r' ABORT '\nRINGING\r\n\r\nRINGING\r' '' \rAT TIMEOUT 12 SAY "Press CTRL-C to close the connection at any stage!" SAY "\ndefining PDP context...\n" OK ATH OK ATE1 OK 'AT+CGDCONT=1,"IP","internet.tele2.se"' OK ATM1L3DT*99# TIMEOUT 10 SAY "\nwaiting for connect...\n" CONNECT ""Now create file /etc/ppp/peers/blue-net
/dev/rfcomm0 115200 connect "/usr/sbin/chat -v -f /etc/ppp/peers/chat-blue" noauth # name internet.tele2.se defaultroute updetachTo start connection I run commands:
rfcomm bind rfcomm0 20:21:A5:8A:4F:CE 7 pppd call blue-net
It can happen that I get no DNS servers, so I created file at my home directory
/home/pawel/resolv.conf 
nameserver 208.67.222.222 nameserver 208.67.220.220and run command
cp /home/pawel/resolv.conf /etc/