个人工具

“UbuntuHelp:BluetoothDialup/Cingular”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/BluetoothDialup/Cingular}} {{Languages|UbuntuHelp:BluetoothDialup/Cingular}} == Cingular Bluetooth dial-up networking == This information complem...)
 
第2行: 第2行:
 
{{Languages|UbuntuHelp:BluetoothDialup/Cingular}}
 
{{Languages|UbuntuHelp:BluetoothDialup/Cingular}}
 
== Cingular Bluetooth dial-up networking ==
 
== Cingular Bluetooth dial-up networking ==
 
 
This information complements the more generic BluetoothDialup guide.
 
This information complements the more generic BluetoothDialup guide.
 
 
<pre><nowiki>
 
<pre><nowiki>
 
TIMEOUT 35
 
TIMEOUT 35
第19行: 第17行:
 
CONNECT ""
 
CONNECT ""
 
</nowiki></pre>
 
</nowiki></pre>
 
 
The file might make a connection which doesn't allow ping. Modify your "default" configuration made via <code><nowiki>pppconfig</nowiki></code> to connect using the USB cable.  Adjust the username and passwords as needed for your plan.
 
The file might make a connection which doesn't allow ping. Modify your "default" configuration made via <code><nowiki>pppconfig</nowiki></code> to connect using the USB cable.  Adjust the username and passwords as needed for your plan.
 
 
<pre><nowiki>
 
<pre><nowiki>
 
# This optionfile was generated by pppconfig 2.3.10.
 
# This optionfile was generated by pppconfig 2.3.10.
第36行: 第32行:
 
remotename provider
 
remotename provider
 
ipparam provider
 
ipparam provider
 
 
usepeerdns
 
usepeerdns
 
</nowiki></pre>
 
</nowiki></pre>
 
 
<code><nowiki>/etc/chatscript/BluetoothDialup</nowiki></code> looks like this:
 
<code><nowiki>/etc/chatscript/BluetoothDialup</nowiki></code> looks like this:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
# This chatfile was generated by pppconfig 2.3.10.
 
# This chatfile was generated by pppconfig 2.3.10.
第56行: 第49行:
 
CONNECT \d\c
 
CONNECT \d\c
 
# prelogin
 
# prelogin
 
 
# ispname
 
# ispname
 
# isppassword
 
# isppassword
 
# postlogin
 
# postlogin
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Finally, add this to the <code><nowiki>/etc/ppp/pap-secrets</nowiki></code> file:
 
Finally, add this to the <code><nowiki>/etc/ppp/pap-secrets</nowiki></code> file:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
"[email protected]" BluetoothDialup "CINGULAR1"
 
"[email protected]" BluetoothDialup "CINGULAR1"

2007年11月30日 (五) 16:19的版本

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"