~ubuntu-branches/ubuntu/raring/kde-l10n-nl/raring

« back to all changes in this revision

Viewing changes to docs/kdenetwork/kppp/tricks.docbook

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2011-07-13 19:24:03 UTC
  • mfrom: (1.12.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110713192403-vdjxzwc548wd7dng
Tags: 4:4.6.90-0ubuntu1
* Enable easy switching between stable and unstable translations
* Make module desktop fetching more robust by trying to step into every
  element within the messages directory and if successful try to svn export
  a related desktop file
* Update build script for new branch name
* Update build script to use ftpmaster rather than ktown
* Introduce new targets:
  - get-l10n: called by the build script and
    depends on all other targets that need execution to get l10n
  - get-desktop: prerequisites all targets to get desktop file translations
  - get-messages: prerequisites all targets to get UI translations
  - get-messages-kdepim: gets all kdepim translations
  - get-desktop-sc: gets all desktop files for all modules in the source tree
  - get-desktop-extragear: gets all desktop files for extragera apps in main
    (as per list installed by pkg-kde-tools)
  - get-desktop-kdepim: copies kdepim's desktop file to kdepim_runtime
* Introduce new debian/config file which hold settings for rules and build
  script.
* Check presence of necessary debian/config values in debian/rules
* Fetch desktop files by regex in debian/rules (split modules have multiple
  desktop_* files in their SVN path)
* Bump standards version to 3.9.2
* Update VCS paths (now living in the kubuntu-packaging project)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<chapter id="modem-tricks">
 
2
<title
 
3
>Trucs met modems en hints</title>
 
4
 
 
5
<para
 
6
>Deze sectie zou de gevreesde kwalificatie moeten krijgen op de ereplaats van modem-tweaking. De commando's hier voldoen allen aan de Hayes AT standaard, maar niet alle modems zijn gelijk, dus kunnen ze anders zijn.</para>
 
7
 
 
8
<sect1 id="modem-sessions">
 
9
<title
 
10
>Modem-sessies</title>
 
11
 
 
12
<para
 
13
>Een modemsessie stelt u in staat direct met het modem te werken. U typt commando's en het zal antwoorden. Om een modemsessie te krijgen, wanneer er geen verbinding actief is, gaat u in de dialoog <guibutton
 
14
>Instellen</guibutton
 
15
>, daarna <guilabel
 
16
>Modem</guilabel
 
17
> <guibutton
 
18
>Terminal</guibutton
 
19
>. Dit zal een venster voor interactieve instelling van het modem openen. Probeer <userinput
 
20
><command
 
21
>ATZ</command
 
22
></userinput
 
23
> in te typen (wat uw modem zal resetten). U zou een antwoord OK moeten krijgen. Gebruik <menuchoice
 
24
><guimenu
 
25
>Bestand</guimenu
 
26
><guimenuitem
 
27
>Sluiten</guimenuitem
 
28
></menuchoice
 
29
> om de sessie te beëindigen.</para>
 
30
 
 
31
</sect1>
 
32
 
 
33
<sect1 id="modem-profiles">
 
34
<title
 
35
>Modem-profielen</title>
 
36
                                        
 
37
<para
 
38
>One reason you might want to send the modem commands directly is if you have a set of modem configurations you want to keep, and not have to specify for every connection. A good way to do that is via modem profiles. Modems can have several stored profiles numbered 0,1,... <command
 
39
>AT&amp;V</command
 
40
> can be used to view them all. The default profile is usually 0 (this can be changed via <command
 
41
>AT&amp;Y</command
 
42
>.) The profile currently in use is called the <quote
 
43
>active</quote
 
44
> profile.</para>
 
45
 
 
46
<para
 
47
>When you change a setting, the active profile is modified. The <command
 
48
>ATZ</command
 
49
> command will have the modem load the default profile, erasing any changes you have made. To save changes, Load the profile you want to change via <command
 
50
>ATZ<replaceable
 
51
>n</replaceable
 
52
></command
 
53
> (where <replaceable
 
54
>n</replaceable
 
55
> is the profile number). Make the changes you want, then save it with <command
 
56
>AT&amp;W<replaceable
 
57
>n</replaceable
 
58
></command
 
59
>. To have kppp use the profile you want, change the modem initialization string (<guibutton
 
60
>Setup</guibutton
 
61
> <guilabel
 
62
>Modem</guilabel
 
63
> <guibutton
 
64
>Modem Commands</guibutton
 
65
> <guilabel
 
66
>Initialization String</guilabel
 
67
>.) For example <command
 
68
>ATZ1</command
 
69
> will have the kppp reset the modem and use stored profile #1.</para>
 
70
 
 
71
<para
 
72
>If you want reset you modem to get back to some known starting point, use <command
 
73
>AT&amp;F&amp;W</command
 
74
> to set the active profile to the factory defaults, and store those settings as the default profile.</para>
 
75
 
 
76
<para
 
77
>Voorbeelden van profielwijzigingen staan in de volgende sectie</para>
 
78
 
 
79
</sect1>
 
80
 
 
81
<sect1 id="modem-hangup">
 
82
<title
 
83
>Het modem laten ophangen</title>
 
84
 
 
85
<para
 
86
>Sometimes you may find that &kppp; has difficulties hanging up the modem. This is likely the result of a mismatch between &kppp; settings and those of the modem. A standard modem uses two methods to decide to hangup: <link linkend="hangup-command-method"
 
87
>Command</link
 
88
>, and <link linkend="hangup-dtr-method"
 
89
><acronym
 
90
>DTR</acronym
 
91
></link
 
92
>. The Command method involves sending an escape sequence to the modem, which puts it in command mode, then issuing the hangup command (<command
 
93
>ATH</command
 
94
>).</para>
 
95
 
 
96
<para
 
97
>Outside of &kppp;, when configuring the <application
 
98
>pppd</application
 
99
> package manually, it's often helpful to use the command method, so that one can exit a terminal session, and then start <application
 
100
>pppd</application
 
101
> without having the modem hangup. In most other situations, the <acronym
 
102
>DTR</acronym
 
103
> method is preferred, as it is simpler.</para>
 
104
 
 
105
<sect2 id="hangup-dtr-method">
 
106
<title
 
107
><acronym
 
108
>DTR</acronym
 
109
> (<command
 
110
>AT&amp;Dn</command
 
111
>) methode</title>
 
112
 
 
113
<para
 
114
>The <acronym
 
115
>DTR</acronym
 
116
> method will have the modem hangup whenever &kppp; stops using the modem. If you obtain a modem session, and query the state via <command
 
117
>AT&amp;V</command
 
118
>, and you can see among the displayed settings for the active profile a <command
 
119
>&amp;D0</command
 
120
>, then the <acronym
 
121
>DTR</acronym
 
122
> hangup method is disabled. To enable the <acronym
 
123
>DTR</acronym
 
124
> method, use the <guibutton
 
125
>Terminal</guibutton
 
126
> button to get a modem session, then:</para>
 
127
 
 
128
<screen
 
129
><userinput
 
130
><command
 
131
>ATZ</command
 
132
></userinput
 
133
> <lineannotation
 
134
># reset naar standaard profiel</lineannotation>
 
135
<userinput
 
136
><command
 
137
>AT&amp;D2</command
 
138
></userinput
 
139
>  <lineannotation
 
140
># Instellen om op te hangen bij vallen van DTR</lineannotation>
 
141
<userinput
 
142
><command
 
143
>AT&amp;W</command
 
144
></userinput
 
145
>  <lineannotation
 
146
># Schrijf naar standaard profiel</lineannotation
 
147
>
 
148
</screen>
 
149
 
 
150
<sect3>
 
151
<title
 
152
>Hoe de <acronym
 
153
>DTR</acronym
 
154
>-methode werkt</title>
 
155
 
 
156
<para
 
157
>Whenever the Data Terminal Ready (<acronym
 
158
>DTR</acronym
 
159
>) line on the serial line between the host computer and the modem goes high, the modem hangs up. When &kppp; opens the serial port, the <acronym
 
160
>DTR</acronym
 
161
> line is pulled low, on an external modem, you can see the <acronym
 
162
>DTR</acronym
 
163
> (or <acronym
 
164
>TR</acronym
 
165
>) light come on when this happens. When the <acronym
 
166
>TR</acronym
 
167
> light goes out (because &kppp; has closed the serial port, or something worse!), the modem will hangup.</para>
 
168
</sect3>
 
169
 
 
170
</sect2>
 
171
 
 
172
<sect2 id="hangup-command-method">
 
173
<title
 
174
>Command method</title>
 
175
 
 
176
<para
 
177
>The other way to have a modem hang up when connected (used when <command
 
178
>AT&amp;D<replaceable
 
179
>n</replaceable
 
180
></command
 
181
> where <replaceable
 
182
>n</replaceable
 
183
> is not <returnvalue
 
184
>2</returnvalue
 
185
>) is to have the modem accept the command when a session is in progress. To have it hang up properly, get a modem session, and set the guard time to a short interval like so:</para>
 
186
 
 
187
<screen
 
188
><userinput><command>ATZ</command></userinput>
 
189
<userinput><command>ATS12=5</command></userinput>
 
190
<userinput><command>AT&amp;W</command></userinput>
 
191
</screen>
 
192
 
 
193
<para
 
194
>Then use the <guilabel
 
195
>Guard Time</guilabel
 
196
> slider in the Modem commands section to match the register (<varname
 
197
>S12</varname
 
198
> to this value <returnvalue
 
199
>5</returnvalue
 
200
>. The modem should then hangup properly.</para>
 
201
 
 
202
<sect3>
 
203
<title
 
204
>How the Command Method Works</title>
 
205
 
 
206
<para
 
207
>When the local modem is connected to a remote modem, it is in the <quote
 
208
>connect</quote
 
209
> state, where it passes all characters it receives to the remote modem without interpretation. To have the modem accept the characters as commands for itself, one must put the modem into the command state. The escape code does this.</para>
 
210
 
 
211
<para
 
212
>The escape code is defined as being three intervals of time whose length is defined by <varname
 
213
>S12</varname
 
214
> in fiftieths of a second.</para>
 
215
 
 
216
<itemizedlist>
 
217
<listitem>
 
218
<para
 
219
>Quiet (must last more than <varname
 
220
>S12</varname
 
221
>/50 seconds)</para>
 
222
</listitem>
 
223
<listitem>
 
224
<para
 
225
>Escape character (defined by the register <varname
 
226
>S2</varname
 
227
>, the default is <quote
 
228
>+</quote
 
229
>), repeated three times (less than <varname
 
230
>S12</varname
 
231
>/50 seconds between each.</para>
 
232
</listitem>
 
233
<listitem>
 
234
<para
 
235
>Quiet (must last more than <varname
 
236
>S12</varname
 
237
>/50 seconds)</para>
 
238
</listitem>
 
239
</itemizedlist>
 
240
 
 
241
<para
 
242
>Once the modem is in the command state, you can send it commands. To have it hang up, send the command <command
 
243
>ATH</command
 
244
>. The escape codes and the hangup string used by &kppp; are shown in the <link linkend="modem-commands"
 
245
><guilabel
 
246
>Modem Commands</guilabel
 
247
></link
 
248
> dialog. These should match your modem.</para>
 
249
 
 
250
</sect3>
 
251
</sect2>
 
252
</sect1>
 
253
 
 
254
<sect1 id="tone-dialing-speedup">
 
255
<title
 
256
>Make Tone dialing faster</title>
 
257
 
 
258
<para
 
259
>If you can use tone dialing, the amount of time it takes to dial can be changed using the <varname
 
260
>S11</varname
 
261
> register. It gives the duration (in 100hundreds of a second) to send each tone while dialing. The default is usually 95 (almost a second.) How fast you can dial depends on the phone company's switching equipment which handles your line. The minimum duration is 50, almost twice as fast, and that speed often works. </para>
 
262
 
 
263
<screen
 
264
><userinput><command>ATZ</command></userinput>        <lineannotation># reset to default profile</lineannotation>
 
265
<userinput><command>ATS11=50</command></userinput>   <lineannotation># fastest possible dialing, use a higher number if it doesn't work</lineannotation>
 
266
<userinput><command>AT&amp;W</command></userinput>   <lineannotation># write to default profile</lineannotation>
 
267
</screen>
 
268
 
 
269
</sect1>
 
270
</chapter>