UbuntuHelp:BluetoothDialup/Play
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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.