特殊:Badtitle/NS100:BluetoothDialup/Telenor:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第2行: 第2行:
{{Languages|UbuntuHelp:BluetoothDialup/Telenor}}
{{Languages|UbuntuHelp:BluetoothDialup/Telenor}}
== Telenor Sweden Bluetooth dial-up networking ==
== Telenor Sweden Bluetooth dial-up networking ==
This information complements the more generic [[UbuntuHelp:BluetoothDialup|BluetoothDialup]] guide.
This information complements the more generic BluetoothDialup guide.
The <code><nowiki>etc/ppp/peers/telenor</nowiki></code> file looks like this:
The <code><nowiki>etc/ppp/peers/telenor</nowiki></code> file looks like this:
<pre><nowiki>
<pre><nowiki>
  /dev/rfcomm0 115200
/dev/rfcomm0 115200
  defaultroute
defaultroute
  noauth
noauth
  connect "/usr/sbin/chat -v -f /etc/ppp/chat-gprs"
connect "/usr/sbin/chat -v -f /etc/ppp/chat-gprs"
  debug
debug
  updetach
updetach
  usepeerdns
usepeerdns
</nowiki></pre>
</nowiki></pre>
The corresponding <code><nowiki>/etc/ppp/chat-gprs</nowiki></code> file is as below:
The corresponding <code><nowiki>/etc/ppp/chat-gprs</nowiki></code> file is as below:
<pre><nowiki>
<pre><nowiki>
  TIMEOUT 35
TIMEOUT 35
  ECHO    ON
ECHO    ON
  ABORT  '\nBUSY\r'
ABORT  '\nBUSY\r'
  ABORT  '\nERROR\r'
ABORT  '\nERROR\r'
  ABORT  '\nNO ANSWER\r'
ABORT  '\nNO ANSWER\r'
  ABORT  '\nNO CARRIER\r'
ABORT  '\nNO CARRIER\r'
  ABORT  '\nNO DIALTONE\r'
ABORT  '\nNO DIALTONE\r'
  ABORT  '\nRINGING\r\n\r\nRINGING\r'
ABORT  '\nRINGING\r\n\r\nRINGING\r'
  ''      \rAT
''      \rAT
  OK      'AT+CGDCONT=1,"IP","internet.telenor.se"'
OK      'AT+CGDCONT=1,"IP","internet.telenor.se"'
  OK      ATD*99#
OK      ATD*99#
  CONNECT ""
CONNECT ""
</nowiki></pre>
</nowiki></pre>
The field <u>AT+CGDCONT=1</u> is the number of your internet connection number set in your mobile phone. View the settings for your internet setup in your mobile phone. The value might be something else depending on phone setup.
The field <u>AT+CGDCONT=1</u> is the number of your internet connection number set in your mobile phone. View the settings for your internet setup in your mobile phone. The value might be something else depending on phone setup.

2010年5月19日 (三) 16:53的版本

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

Telenor Sweden Bluetooth dial-up networking

This information complements the more generic BluetoothDialup guide. The etc/ppp/peers/telenor file looks like this:

/dev/rfcomm0 115200
defaultroute
noauth
connect "/usr/sbin/chat -v -f /etc/ppp/chat-gprs"
debug
updetach
usepeerdns

The corresponding /etc/ppp/chat-gprs file is as below:

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","internet.telenor.se"'
OK      ATD*99#
CONNECT ""

The field AT+CGDCONT=1 is the number of your internet connection number set in your mobile phone. View the settings for your internet setup in your mobile phone. The value might be something else depending on phone setup. If the setting ATD*99# isn't working try the values *99***2# or 99***3#. These values are to be found from the support page of Telenor Sweden, http://www.telenor.se/224.jsp