1
<chapter id="chap-and-pap">
10
>Vanaf versie 0.9.1, heeft &kppp; direct de meest gebruikelijke vorm van <acronym
12
>-authenticatie ondersteund. </para>
14
<sect1 id="pap-with-kppp">
21
>Er zijn twee verschillende manieren om <acronym
23
> te gebruiken.</para>
25
<sect2 id="client-side-authentication">
27
>Authenticatie aan de kant van de client</title>
30
>This variant is used by many commercial <acronym
32
>'s. It basically means that you (or rather, your computer) must authenticate yourself to the <acronym
36
> server. The <acronym
38
> server does not need to authenticate itself to your computer. This is no security issue, as you should know which computer you just tried to dial to.</para>
43
> u een gebruikersnaam en wachtwoord geeft en u vertelt om <acronym
45
>-authenticatie te gebruiken, dan is dat de variant die u zou moeten kiezen.</para>
49
<sect2 id="two-way-authentication">
51
>Tweeweg authenticatie</title>
54
>As above, but in this case your computer requires the <acronym
58
> server to authenticate itself. In order to establish a connection, you must chose the authentication method <guilabel
59
>Script based</guilabel
62
>, and you will have to manually edit <filename
63
>/etc/ppp/pap-secrets</filename
64
>. While &kppp; doesn't provide built in support for this variant, it is nevertheless easy to establish a connection.</para>
68
<sect2 id="preparing-kppp-for-pap">
70
>&kppp; voorbereiden voor <acronym
77
>Ga na dat het bestand <filename
78
>/etc/ppp/options</filename
80
>˜/.ppprc</filename
81
> als het bestaat) <emphasis
83
> een van de volgende argumenten bevat:</para>
125
>naam op afstand</option
131
>Het is niet erg waarschijnlijk dat een van deze opties al aanwezig zijn, maar gewoon om zeker te zijn, toch controleren.</para>
135
>&kppp; opstarten</para>
140
>Instellen</guibutton
145
>Kies het account waarmee u <acronym
147
> wilt gebruiken en klik op <guibutton
153
>Kies het tabblad <guilabel
161
> in het afrolvak <guilabel
162
>Authenticatie</guilabel
167
>If you do not want to retype the password each time you dial in, select <guilabel
168
>Store password</guilabel
169
>. This will save the password to a file, so make sure that nobody else has access to your account.</para>
173
>Dat is het. Sluit de dialogen, voer de gebruikersnaam en het wachtwoord in dat uw <acronym
175
> heeft gegeven en klik op <guibutton
176
>Verbinden</guibutton
186
<sect1 id="pap-and-chap-alternate-method">
188
>Een alternatieve methode voor het gebruik van <acronym
195
>This section is based on an email from Keith Brown <email
196
>kbrown@pdq.net</email
197
> and explains how to make &kppp; work with a generic <acronym
201
> account. If your <acronym
203
> just gave you a user id and a password for an account, you probably can skip this section, and the instructions in the previous one will be all you need.</para>
208
> seems a lot more complicated at first glance than it really is. The server (the machine you are connecting to) basically tells the client (your machine) to authenticate using <acronym
210
>. The client (<application
212
>) looks in a specific file for an entry that contains a matching server name, and a client name for this connection, and then sends the password it finds there. That's about it!</para>
215
>Dit is hoe het te laten gebeuren. Ik naam aan dat aanwezig is <acronym
217
> versie 2.2.x of beter en een standaard installatie van configuratiebestanden onder <filename class="directory"
222
>Om de bedoeling te illustreren nemen we aan dat u een internetaccount hebt met <systemitem
223
>glob.net</systemitem
224
> met de gebruikersnaam <systemitem
226
> en het wachtwoord <literal
231
>Als eerste moet u al dit toevoegen aan een bestand met de naam <filename
232
>/etc/ppp/pap-secrets</filename
233
>. De indeling van een item voor ons doel is:</para>
237
>GEBRUIKERSNAAM SERVERNAAM WACHTWOORD</userinput
241
>So you would add the following line to <filename
242
>/etc/ppp/pap-secrets</filename
243
> and then save it :</para>
247
>userbaz glob foobar</userinput
252
>U kunt elke door u gewenste naam voor de server gebruiken, als u dezelfde naam maar in de argumenten van <application
254
> gebruikt, zoals u kort hierna zult zien. Hier is het afgekort tot <userinput
256
>, maar deze naam wordt alleen gebruikt om het juiste wachtwoord te lokaliseren.</para>
260
>Vervolgens moet u de verbinding in &kppp; instellen. De basis zaken zijn hetzelfde als elke andere verbinding, dus gaan we hier niet in details, behalve om te vertellen dat u waarschijnlijk na moet gaan dat <filename
261
>/etc/ppp/options</filename
262
> leeg is en ook dat u geen aanmeldscript wilt aanmaken.</para>
265
>In the &kppp; settings dialog, at the bottom of the <guilabel
267
> tab, is a <guibutton
268
>Customize pppd Arguments</guibutton
269
> button. This brings up an editing dialog. Here you can enter values that will be sent to <application
271
> as command line arguments, and in the case of multiple value arguments, you need to enter each value as a separate entry in the listbox, in the correct order.</para>
274
>You can put in any other arguments you want first. Then add the arguments that <application
276
> uses to handle <acronym
278
> authentication. In this example, we are going to add <userinput
283
>remotename</userinput
286
> in that order.</para>
291
> tells the <application
293
> what user name to look for in the <filename
294
>pap-secrets</filename
295
> file and then to send to the server. The remotename is used by <application
297
> to match the entry in the <filename
298
>pap-secrets</filename
299
> file, so again, it can be anything you want so long as it is consistent with the entry in the <filename
300
>pap-secrets</filename
304
>That's all there is to it, and you should now be able to set up your own connection to a server with <acronym
306
> authentication. <acronym
308
> is not much different. You can see the &Linux; Network Administrators Guide for a <filename
309
>chap-secrets</filename
310
> file format, and the <application
312
> arguments used, and the rest should be simple.</para>