Contents

content of /etc/chatscripts/BluetoothDialup :

TIMEOUT 35
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
OK      'AT+CGDCONT=2,"IP","internet"'
OK      ATD*99#
CONNECT ""

content of /etc/ppp/peers/BluetoothDialup :

noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup"
usepeerdns
/dev/rfcomm0 115200
defaultroute
crtscts
#lcp-echo-failure 0
lcp-echo-interval 30
noipdefault
debug

No username/pass required. Tested on LG KU990. you may try to uncomment #lcp-echo-failure 0 if you wish. lcp-echo-interval 30 is set in order to keep alive the session - AFAIK Play automatically disconnects session idle for 180 secs.


CategoryBluetooth

BluetoothDialup/Play (last edited 2011-04-08 10:18:26 by D9784B24)