个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第3行: 第3行:
 
== Vodacom (SA) Bluetooth dial-up networking ==
 
== Vodacom (SA) Bluetooth dial-up networking ==
 
This information complements the more generic [[UbuntuHelp:BluetoothDialup|BluetoothDialup]] guide.
 
This information complements the more generic [[UbuntuHelp:BluetoothDialup|BluetoothDialup]] guide.
The <code><nowiki>etc/ppp/peers/vodacom</nowiki></code> file looks like this:
+
The <pre><nowiki>etc/ppp/peers/vodacom</nowiki></pre> file looks like this:
 
<pre><nowiki>     
 
<pre><nowiki>     
/dev/rfcomm0 115200
+
    /dev/rfcomm0 115200
connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
+
    connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
crtscts
+
    crtscts
modem -detach
+
    modem -detach
noccp
+
    noccp
defaultroute
+
    defaultroute
usepeerdns
+
    usepeerdns
noauth
+
    noauth
ipcp-accept-remote
+
    ipcp-accept-remote
ipcp-accept-local
+
    ipcp-accept-local
 
</nowiki></pre>
 
</nowiki></pre>
The corresponding <code><nowiki>/etc/ppp/chat-gprs</nowiki></code> file is as below:
+
The corresponding <pre><nowiki>/etc/ppp/chat-gprs</nowiki></pre> file is as below:
 
<pre><nowiki>
 
<pre><nowiki>
 
"" ATZ OK
 
"" ATZ OK
 
AT+CGDCONT=1,"IP","internet"
 
AT+CGDCONT=1,"IP","internet"
OK "ATD*99***1#"
+
OK "ATD*99***1#"
CONNECT
+
CONNECT
 
</nowiki></pre>
 
</nowiki></pre>
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年12月6日 (四) 10:06的版本

Vodacom (SA) Bluetooth dial-up networking

This information complements the more generic BluetoothDialup guide.

The
etc/ppp/peers/vodacom
file looks like this:
    
    /dev/rfcomm0 115200
    connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
    crtscts
    modem -detach
    noccp
    defaultroute
    usepeerdns
    noauth
    ipcp-accept-remote
    ipcp-accept-local
The corresponding
/etc/ppp/chat-gprs
file is as below:
"" ATZ OK
AT+CGDCONT=1,"IP","internet"
 OK "ATD*99***1#"
 CONNECT