个人工具

UbuntuHelp:BluetoothDialup/Play

来自Ubuntu中文

Wikibot讨论 | 贡献2009年11月17日 (二) 18:39的版本 (创建新页面为 '{{From|https://help.ubuntu.com/community/BluetoothDialup/Play}} {{Languages|UbuntuHelp:BluetoothDialup/Play}} content of <code><nowiki>/etc/chatscripts/BluetoothDialup</nowiki><...')

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

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.