特殊:Badtitle/NS100:BluetoothDialup/Cingular

来自Ubuntu中文
Wikibot留言 | 贡献2010年5月19日 (三) 21:44的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航跳到搜索
可打印版本不再受到支持且可能有渲染错误。请更新您的浏览器书签并改用浏览器默认打印功能。

{{#ifexist: :BluetoothDialup/Cingular/zh | | {{#ifexist: BluetoothDialup/Cingular/zh | | {{#ifeq: {{#titleparts:BluetoothDialup/Cingular|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BluetoothDialup/Cingular|1|-1|}} | zh | | }}

Cingular Bluetooth dial-up networking

This information complements the more generic BluetoothDialup guide.

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=1,"IP","WAP.CINGULAR"'
OK      ATD*99***1#
CONNECT ""

The file might make a connection which doesn't allow ping. Modify your "default" configuration made via pppconfig to connect using the USB cable. Adjust the username and passwords as needed for your plan.

# This optionfile was generated by pppconfig 2.3.10.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/rfcomm0 115200
defaultroute
noipdefault
user "[email protected]"
remotename provider
ipparam provider

usepeerdns

/etc/chatscript/BluetoothDialup looks like this:

# This chatfile was generated by pppconfig 2.3.10.
# Please do not delete any of the comments.  Pppconfig needs them.
#
# ispauth PAP
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
# ispnumber
OK-AT-OK "ATDT*99***1#"
# ispconnect
CONNECT \d\c
# prelogin

# ispname
# isppassword
# postlogin

Finally, add this to the /etc/ppp/pap-secrets file:

"[email protected]" BluetoothDialup "CINGULAR1"