View Single Post
Posts: 13 | Thanked: 0 times | Joined on Jan 2007
#7
It works now.. this is over hsdpa with the laptop .. thanks for the help

I started with

$sudo pon mobile debug

and then looked in /var/log/messages

The number 1 in OK ATD*99***1# worked but i got disconnected all the time.. but when i changed the name in this line
OK AT+CGDCONT=1,"IP","online.telia.se"
from .com to .se it started to work. And that name is the name of the access point that is defined inside the phone.



/etc/bluetooth/rfcomm.conf
Code:
rfcomm0 {
	# Automatically bind the device at startup
	bind yes;

	# Bluetooth address of the device
	device <insert your address here>;

	# RFCOMM channel for the connection
	channel	<insert DUN profile channel here>;

	# Description of the connection
	comment "E51 Bluetooth device";
}
/etc/chatscripts/mobile
Code:
ABORT VOICE
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "NO DIAL TONE"
TIMEOUT 120
"" ATZ
OK ATV1E0
OK AT+CGDCONT=1,"IP","online.telia.se"
OK ATD*99***1#
CONNECT \c

/etc/ppp/peers/mobile
Code:
noauth

connect "/usr/sbin/chat -v -f /etc/chatscripts/mobile"

debug

/dev/rfcomm0 460800

defaultroute

usepeerdns

lcp-echo-failure 0


mobile isp: Telia
Laptop: Dell X1
Phone: Nokia E51