From owner-p4-projects@FreeBSD.ORG Sun Sep 14 08:45:28 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D5A811065673; Sun, 14 Sep 2008 08:45:27 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 987B2106567B for ; Sun, 14 Sep 2008 08:45:27 +0000 (UTC) (envelope-from remko@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 951638FC15 for ; Sun, 14 Sep 2008 08:45:27 +0000 (UTC) (envelope-from remko@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8E8jRIE096817 for ; Sun, 14 Sep 2008 08:45:27 GMT (envelope-from remko@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8E8jRPq096815 for perforce@freebsd.org; Sun, 14 Sep 2008 08:45:27 GMT (envelope-from remko@freebsd.org) Date: Sun, 14 Sep 2008 08:45:27 GMT Message-Id: <200809140845.m8E8jRPq096815@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to remko@freebsd.org using -f From: Remko Lodder To: Perforce Change Reviews Cc: Subject: PERFORCE change 149741 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 08:45:28 -0000 http://perforce.freebsd.org/chv.cgi?CH=149741 Change 149741 by remko@remko_nakur on 2008/09/14 08:44:47 Somewhat more WIP. Affected files ... .. //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml#6 edit Differences ... ==== //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml#6 (text+ko) ==== @@ -271,7 +271,7 @@ regel. Deze nummers dienen alleen als hulp voor de presentatie en discussie en zijn niet bedoeld om daadwerkelijk in het echte bestand geplaatst te worden. - Juiste identatie met tabs en spaties zijn ook + Juiste inspringing met tabs en spaties zijn ook belangrijk. @@ -807,9 +807,9 @@ PPP shells - Create a file called - /etc/ppp/ppp-shell containing the - following: + Creeër een bestand genaamd + /etc/ppp/ppp-shell welke de volgende + gegevens bevat: #!/bin/sh IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'` @@ -825,30 +825,32 @@ exec /usr/sbin/ppp -direct $IDENT - This script should be executable. Now make a symbolic - link called ppp-dialup to this script - using the following commands: + Dit script moet uitvoerbaar zijn. Ook moet er een + symbolische link gemaakt worden naar dit script met de naam + ppp-dialup door gebruik te maken van + de volgende commando's: &prompt.root; ln -s ppp-shell /etc/ppp/ppp-dialup - You should use this script as the - shell for all of your dialup users. - This is an example from /etc/passwd - for a dialup PPP user with username - pchilds (remember do not directly edit - the password file, use &man.vipw.8;). + U moet dit script gebruiken als de + schil voor al uw inbel gebruikers. + Dit is een voorbeeld uit /etc/passwd + voor een inbel PPP gebruiker met de gebrukersnaam + pchilds (onthoud dat u niet direct het + password bestand mag bewerken, gebruikt u daarom + &man.vipw.8;). pchilds:*:1011:300:Peter Childs PPP:/home/ppp:/etc/ppp/ppp-dialup - Create a /home/ppp directory that - is world readable containing the following 0 byte - files: + Creeër een /home/ppp directory + die beschreven kan worden door iedereen gelezen kan worden + en de volgende 0 byte grote bestanden bevat: -r--r--r-- 1 root wheel 0 May 27 02:23 .hushlogin -r--r--r-- 1 root wheel 0 May 27 02:22 .rhosts - which prevents /etc/motd from being - displayed. + wat voorkomt dat /etc/motd wordt + getoond. @@ -858,22 +860,24 @@ PPP shells - Create the ppp-shell file as above, - and for each account with statically assigned IPs create a - symbolic link to ppp-shell. + Creeër het ppp-shell bestand + zoals hierboven, en voor elk account met een statisch + aangewezen IP adres creeër een symbolische link naar + ppp-shell. - For example, if you have three dialup customers, - fred, sam, and - mary, that you route /24 CIDR networks - for, you would type the following: + Als u bijvoorbeeld drie inbel gebruikers hebt genaamd + fred, sam en + mary waar u /24 CIDR netwerken voor + routeert, moet u het volgende typen: &prompt.root; ln -s /etc/ppp/ppp-shell /etc/ppp/ppp-fred &prompt.root; ln -s /etc/ppp/ppp-shell /etc/ppp/ppp-sam &prompt.root; ln -s /etc/ppp/ppp-shell /etc/ppp/ppp-mary - Each of these users dialup accounts should have their - shell set to the symbolic link created above (for example, - mary's shell should be + Elk van deze inbel gebruiker accounts moet de shell + ingesteld hebben op de symbolische link die hierboven + is gecreeërd (bijvoorbeeld mary's + shell moet zijn /etc/ppp/ppp-mary). @@ -881,8 +885,8 @@ Het instellen van <filename>ppp.conf</filename> voor dynamische IP gebruikers - The /etc/ppp/ppp.conf file should - contain something along the lines of: + Het /etc/ppp/ppp.conf bestand moet + iets soortgelijks als hieronder bevatten: default: set debug phase lcp chat @@ -897,27 +901,28 @@ enable proxy - De indentie is belangrijk. + Het inspringen is belangrijk. - The default: section is loaded for - each session. For each dialup line enabled in - /etc/ttys create an entry similar to - the one for ttyd0: above. Each line - should get a unique IP address from your pool of IP - addresses for dynamic users. + De default: sectie wordt geladen + voor elke sectie. Voor elke inbel lijn die ingeschakeld + is in /etc/ttys moet een soortgelijke + regel worden gemaakt als die voor ttyd0: + hierboven. Elke regel moet een uniek IP adres krijgen van + uw pool van IP adressen voor dynamische gebruikers. Het instellen van <filename>ppp.conf</filename> voor statische IP gebruikers. - Along with the contents of the sample + Samen met de inhoud van het voorbeeld /usr/share/examples/ppp/ppp.conf - above you should add a section for each of the - statically assigned dialup users. We will continue with - our fred, sam, - and mary example. + bestand hierboven moet een sectie aangemaakt worden voor + elke van de statisch ingestelde inbel gebruikers. We + gaan door met ons fred, + sam en mary + voorbeeld. fred: set ifaddr 203.14.100.1 203.14.101.1 255.255.255.255 @@ -928,11 +933,12 @@ mary: set ifaddr 203.14.100.1 203.14.103.1 255.255.255.255 - The file /etc/ppp/ppp.linkup - should also contain routing information for each static - IP user if required. The line below would add a route - for the 203.14.101.0/24 - network via the client's ppp link. + Het /etc/ppp/ppp.linkup bestand + moet ook routerings informatie bevatten voor elke statische + IP gebruiker indien nodig. De regel hieronder zou een + routering toevoegen voor het + 203.14.201.0/24 netwerk + via de gebruiker's ppp link. fred: add 203.14.101.0 netmask 255.255.255.0 HISADDR @@ -959,65 +965,67 @@ LCP - Configuring and compiling mgetty - with the AUTO_PPP option enabled - allows mgetty to detect the LCP phase - of PPP connections and automatically spawn off a ppp - shell. However, since the default login/password - sequence does not occur it is necessary to authenticate - users using either PAP or CHAP. + Het configureren en compileren van + mgetty met de AUTO_PPP + optie ingeschakeld stelt mgetty in staat + om de LCP fase van PPP connecties te detecteren en daardoor + automatisch een ppp shell te creeëren. Echter omdat + de standaard login/wachtwoord procedure niet plaatsvind is + het nodig om de gebruikers te authenticeren door middel van + PAP of CHAP. - This section assumes the user has successfully - configured, compiled, and installed a version of - mgetty with the - AUTO_PPP option (v0.99beta or - later). + Deze sectie gaat ervanuit dat de gebruiker succesvol + een versie van mgetty met de + AUTO_PPP optie (v0.99beta of + later) heeft geconfigureerd, gecompileerd en + geïnstalleerd. - Make sure your + Zorg ervoor dat uw /usr/local/etc/mgetty+sendfax/login.config - file has the following in it: + bestand de volgende inhoud heeft: /AutoPPP/ - - /etc/ppp/ppp-pap-dialup - This will tell mgetty to run the - ppp-pap-dialup script for detected - PPP connections. + Dit verteld mgetty om het + ppp-pap-dialup script te starten + wanneer er PPP connecties gedetecteerd zijn. - Create a file called - /etc/ppp/ppp-pap-dialup containing the - following (the file should be executable): + Creeër een bestand genaamd + /etc/ppp/ppp-pap-dialup met de volgende + inhoud (het bestand moet uitvoerbaar zijn): #!/bin/sh exec /usr/sbin/ppp -direct pap$IDENT - For each dialup line enabled in - /etc/ttys, create a corresponding entry - in /etc/ppp/ppp.conf. This will - happily co-exist with the definitions we created - above. + Voor elke inbel regel die ingeschakeld is in + /etc/ttys, creeër een + corresponderende regel in + /etc/ppp/ppp.conf. Dit gaat goed + samen met de definities die hierboven gedaan zijn. pap: enable pap set ifaddr 203.14.100.1 203.14.100.20-203.14.100.40 enable proxy - Each user logging in with this method will need to have - a username/password in - /etc/ppp/ppp.secret file, or - alternatively add the following option to authenticate users - via PAP from the /etc/passwd file. + Elke gebruiker die op deze manier inlogged moet een + gebruikersnaam en wachtwoord hebben in het + /etc/ppp/ppp.secret bestand of de + volgende optie moet worden toegevoegd om gebruikers te + authenticeren via PAP vanuit het + /etc/passwd betand. enable passwdauth - If you wish to assign some users a static IP number, - you can specify the number as the third argument in - /etc/ppp/ppp.secret. See + Als u een aantal gebruikers een statisch IP adres wilt + geven, kan dat gespecificeerd worden als het derde argument + in /etc/ppp/ppp.secret. Zie /usr/share/examples/ppp/ppp.secret.sample - for examples. + voor voorbeelden. - MS Extensies + µsoft; Extensies DNS @@ -1029,32 +1037,34 @@ PPP - Microsoft extensions + µsoft; extensies - It is possible to configure PPP to supply DNS and - NetBIOS nameserver addresses on demand. + Het is mogelijk om PPP dusdanig te configuren dat deze + DNS en NetBIOS naamserver adressen meegeeft. - To enable these extensions with PPP version 1.x, the - following lines might be added to the relevant section of - /etc/ppp/ppp.conf. + Om deze extensies in te schakelen met PPP versie 1.x + kunnen de volgende regels toegevoegd worden aan de relevante + sectie in /etc/ppp/ppp.conf: enable msext set ns 203.14.100.1 203.14.100.2 set nbns 203.14.100.5 - And for PPP version 2 and above: + en voor PPP versie 2 en hoger: accept dns set dns 203.14.100.1 203.14.100.2 set nbns 203.14.100.5 - This will tell the clients the primary and secondary - name server addresses, and a NetBIOS nameserver host. + Dit verteld de cliënt het primaire en secundaire + naam server adres, en geeft een NetBIOS naam server + adres. - In version 2 and above, if the - set dns line is omitted, PPP will use the - values found in /etc/resolv.conf. + In versie 2 en hoger zal PPP gebruik maken van de + waarden die gevonden worden in + /etc/resolv.conf als de regel + set dns niet wordt gevonden. @@ -1064,22 +1074,24 @@ CHAP - Some ISPs set their system up so that the authentication - part of your connection is done using either of the PAP or - CHAP authentication mechanisms. If this is the case, your ISP - will not give a login: prompt when you - connect, but will start talking PPP immediately. + Sommige ISP's stellen hun systemen dusdanig op zodat het + authenticatie gedeelte van uw verbinding wordt gedaan via + het PAP of CHAP authenticatie mechanisme. Als dit het geval + is zal uw ISP u geen login: prompt geven + wanneer u verbinding maakt, maar zal deze meteen PPP gaan + praten. - PAP is less secure than CHAP, but security is not normally - an issue here as passwords, although being sent as plain text - with PAP, are being transmitted down a serial line only. - There is not much room for crackers to - eavesdrop. + PAP is minder veilig dan CHAP, maar beveiliging is meestal + geen probleem omdat wachtwoorden, ook al worden deze in platte + tekst verstuurd met PAP, alleen worden verstuurd via een + seriële lijn. Hier is maar weinig ruimte voor crackers + om stiekem mee te luisteren. - Referring back to the PPP - and Static IP addresses or PPP and Dynamic IP addresses - sections, the following alterations must be made: + Terug verwijzende naar de PPP en statische IP adressen + of PPP en dynamische IP adressen + secties moeten de volgende aanpassingen gedaan worden: 13 set authname MyUserName 14 set authkey MyPassword @@ -1090,8 +1102,8 @@ Regel 13: - This line specifies your PAP/CHAP user name. You - will need to insert the correct value for + Deze regel specificeert uw PPP/CHAP gebruikersnaam. + U moet de juiste waardes invullen voor MyUserName. @@ -1102,19 +1114,20 @@ password - This line specifies your PAP/CHAP password. You - will need to insert the correct value for - MyPassword. You may want to - add an additional line, such as: + Deze regel specificeert uw PPP/CHAP wachtwoord. + U moet de juiste waarde invullen voor + MyPassword. Misschien wilt + u een extra regel toevoegen als: 16 accept PAP - or + of 16 accept CHAP - to make it obvious that this is the intention, but - PAP and CHAP are both accepted by default. + om duidelijk te maken dat dit de intentie is, + maar zowel PAP als CHAP worden standaard allebei + geaccepteerd. @@ -1122,10 +1135,10 @@ Regel 15: - Your ISP will not normally require that you log into - the server if you are using PAP or CHAP. You must - therefore disable your set login - string. + Uw ISP zal normaal gesprokken niet eisen dat u + op de server aanlogged als u gebruik maakt van PAP of + CHAP. Daarom moet u de set login regel + uitschakelen. @@ -1135,23 +1148,24 @@ Het aanpassen van uw <command>ppp</command> configuratie terwijl deze in gebruik is - It is possible to talk to the ppp - program while it is running in the background, but only if a - suitable diagnostic port has been set up. To do this, add the - following line to your configuration: + Het is mogelijk om tegen het ppp + programma te praten terwijl het in gebruik is op de + achtergrond, maar alleen als er een geschikte diagnostische + poort ingesteld is. Om dit te doen moet de volgende regel + worden toegevoegd aan de configuratie: set server /var/run/ppp-tun%d DiagnosticPassword 0177 - This will tell PPP to listen to the specified - &unix; domain socket, asking clients for the specified - password before allowing access. The - %d in the name is replaced with the - tun device number that is in - use. + Dit vertelt PPP om te luisteren naar het gespecificeerde + &unix; domein socket, waarbij de cliënten gevraagd + worden om het gespecificeerde wachtwoord voordat toegang + verkregen kan worden. Het %d in de + naam wordt vervangen door het tun + apparaat nummer dat in gebruik is. - Once a socket has been set up, the &man.pppctl.8; - program may be used in scripts that wish to manipulate the - running program. + Zodra een socket ingesteld is kan het &man.pppctl.8; + programma gebruikt worden in scripts die het draaiende + programma willen manipuleren. @@ -1164,25 +1178,27 @@ NAT - PPP has ability to use internal NAT without kernel diverting - capabilities. This functionality may be enabled by the following - line in /etc/ppp/ppp.conf: + PPP heeft de mogelijkheid om interne NAT te geruiken zonder + dat de kernel hiervoor iets hoeft te doen. Deze functionaliteit + kan worden ingeschekd door de volgende regel in + /etc/ppp/ppp.conf: nat enable yes - Alternatively, PPP NAT may be enabled by command-line - option -nat. There is also - /etc/rc.conf knob named - ppp_nat, which is enabled by default. + Ook kan PPP NAT ingeschakeld worden door de commando + regel optie -nat. Er is ook een + /etc/rc.conf optie genaamd + ppp_nat welke standaard ingeschakeld + is. - If you use this feature, you may also find useful - the following /etc/ppp/ppp.conf options - to enable incoming connections forwarding: + Als u gebruik wilt maken van deze optie, kunt u de + volgende /etc/ppp/ppp.conf opties ook + nuttig vinden om inkomende connecties door te sturen: nat port tcp 10.0.0.2:ftp ftp nat port tcp 10.0.0.2:http http - or do not trust the outside at all + of vertrouw niets vanaf de buitenkant: nat deny_incoming yes @@ -1192,49 +1208,53 @@ PPP - configuration + configuratie - You now have ppp configured, but there - are a few more things to do before it is ready to work. They - all involve editing the /etc/rc.conf - file. + U heeft nu ppp geconfigurerd maar er + moeten nog een aantal dingen gedaan worden voordat het klaar + is om te kunnen werken. Deze betekenen allemaal dat het + /etc/rc.conf bestand bewerkt moet + worden. - Working from the top down in this file, make sure the - hostname= line is set, e.g.: + Werkende vanaf de bovenkant naar beneden in dit bestand + zorg ervoor dat de hostname= regel + ingesteld is met bijvoorbeeld: hostname="foo.example.com" - If your ISP has supplied you with a static IP address and - name, it is probably best that you use this name as your host - name. + Als uw ISP u een statisch adres en een naam heeft gegeven + is het waarschijnlijk slim dat u deze naam gebruikt als uw + host naam. - Look for the network_interfaces variable. - If you want to configure your system to dial your ISP on demand, - make sure the tun0 device is added to - the list, otherwise remove it. + Zoek naar de network_interfaces + variabele. Als u uw systeem wilt configuren om in te bellen + bij uw ISP wanneer nodig, zorg er dan voor dat het + tun0 apparaat is toegevoegd aan deze + lijst. Haal deze anders weg. network_interfaces="lo0 tun0" ifconfig_tun0= - The ifconfig_tun0 variable should be - empty, and a file called - /etc/start_if.tun0 should be created. - This file should contain the line: + De ifconfig_tun0 variabele moet + leeg zijn, en een bestand genaamd + /etc/start_if.tun0 moet aangemaakt + worden met de volgende inhoud: ppp -auto mysystem - This script is executed at network configuration time, - starting your ppp daemon in automatic mode. If you have a LAN - for which this machine is a gateway, you may also wish to use - the switch. Refer to the manual page - for further details. + Dit script wordt uitgevoerd tijdens de netwerk + configuratie, waarbij uw ppp daemon wordt gestart in + automatische mode. Als u een LAN heeft waarvoor deze + machine een gateway is wilt u wellicht ook de + meegeven. Bekijk de handleiding + voor verdere details. - Make sure that the router program is set to - NO with the following line in your - /etc/rc.conf: + Zorg ervoor dat het router programma is ingesteld op + NO door middel van de volgende regel in + uw /etc/rc.conf: router_enable="NO" @@ -1242,16 +1262,17 @@ routed - It is important that the routed daemon is - not started, as routed tends to delete the default - routing table entries created by ppp. + Het is belangrijk dat de routed daemon + niet gestart wordt, omdat routed de neiging + heeft om de standaard routerings tabel regels die gemaakt + worden door ppp te verwijderen. - It is probably a good idea to ensure that the - sendmail_flags line does not include the - option, otherwise - sendmail will attempt to do a network lookup - every now and then, possibly causing your machine to dial out. - You may try: + Het is waarschijnlijk een goed idee om te zorgen dat de + sendmail_flags regel de + niet wordt meegenomen, anders zal sendmail + een netwerk zoek opdracht doen perdiodiek wat kan zorgen dat + uw machine gaat uitbellen. U kunt het volgende + proberen: sendmail_flags="-bd" @@ -1259,14 +1280,16 @@ sendmail - The downside of this is that you must force - sendmail to re-examine the mail queue - whenever the ppp link is up by typing: + De keerzijde hiervan is dat u sendmail + moet forceren om de mail queue periodiek te bekijken zodra + de ppp link op is door het typen van: &prompt.root; /usr/sbin/sendmail -q - You may wish to use the !bg command in - ppp.linkup to do this automatically: + U wilt wellicht gebruik maken van het + !bg commando in + ppp.linkup om dit automatisch te + doen: 1 provider: 2 delete ALL @@ -1277,20 +1300,22 @@ SMTP - If you do not like this, it is possible to set up a - dfilter to block SMTP traffic. Refer to the - sample files for further details. + Als u dit niet wilt doen, is het mogelijk om een + dfiler in te stellen welke SMTP verkeer + blokkeert. Refereer naar de voorbeeld bestanden voor + verdere details. - All that is left is to reboot the machine. After rebooting, - you can now either type: + Alles wat nu nog nodig is, is het herstarten van de + machine. Na het herstarten kunt het volgende typen: &prompt.root; ppp - and then dial provider to start the PPP - session, or, if you want ppp to establish - sessions automatically when there is outbound traffic (and - you have not created the start_if.tun0 - script), type: + en daarna dial provider om de PPP + sessie te starten, of u indien u dat wilt kan + ppp automatisch sessies opzetten wanneer + er uitgaand verkeer is (en wanneer u geen + start_if.tun0 script heeft aangemaakt, + typt u: &prompt.root; ppp -auto provider @@ -1298,88 +1323,90 @@ Samenvatting - To recap, the following steps are necessary when setting up - ppp for the first time: + Om samen te vatten, de volgende stappen zijn benodigd om + PPP voor de eerste keer in te stellen: - Client side: + Aan de cliënt zijde: - Ensure that the tun device is - built into your kernel. + Zorg ervoor dat het tun + apparaat is ingebakken in uw kernel. - Ensure that the - tunN device - file is available in the /dev - directory. + Zorg ervoor dat het + tunN + apparaat bestand beschikbaar is in de + /dev directory. - Create an entry in - /etc/ppp/ppp.conf. The - pmdemand example should suffice for - most ISPs. + Creeër een regel in + /etc/ppp/ppp.conf. Het + pmdemand voorbeeld zou moeten + volstaand voor de meeste ISPs. - If you have a dynamic IP address, create an entry in - /etc/ppp/ppp.linkup. + Als u dynamische IP adressen heeft, creeër een + regel in /etc/ppp/ppp.linkup. - Update your /etc/rc.conf - file. + Update uw /etc/rc.conf + bestand. - Create a start_if.tun0 script if - you require demand dialing. + Creeër een start_if.tun0 + script als u ondemand wilt inbellen. - Server side: + Aan de server zijde: - Ensure that the tun device is - built into your kernel. + Zorg ervoor dat het tun + apparaat is ingebakken in uw kernel. - Ensure that the - tunN device - file is available in the /dev - directory. + Zorg ervoor dat het + tunN + apparaat bestand beschikbaar is in de + /dev directory. - Create an entry in /etc/passwd - (using the &man.vipw.8; program). + Creeër een regel in + /etc/passwd (door gebruik te maken + van het &man.vipw.8; programma). - Create a profile in this users home directory that runs - ppp -direct direct-server or - similar. + Creeër een profiel in deze gebruikers' home + directory die + ppp -direct direct-server start of + iets soortgelijks. - Create an entry in - /etc/ppp/ppp.conf. The - direct-server example should - suffice. + Creeër een regel in + /etc/ppp/ppp.conf. Het + direct-server voorbeeld zou moeten + volstaan. - Create an entry in + Creeër een regel in /etc/ppp/ppp.linkup. - Update your /etc/rc.conf - file. + Update uw /etc/rc.conf + bestand. @@ -1411,18 +1438,19 @@ kernel PPP - Before you start setting up PPP on your machine, make sure - that pppd is located in - /usr/sbin and the directory - /etc/ppp exists. + Voordat u begint met het opzetten van PPP op uw machine, + zorg ervoor dat het pppd commando zich + bevind in de /usr/sbin directory en dat + de directory /etc/ppp bestaat. - pppd can work in two modes: + pppd kan in twee verschillende modes + werken: - As a client — you want to connect your - machine to the outside world via a PPP serial connection or - modem line. + Als een cliënt — u wilt uw + machine verbinden met de buitenwereld via een seriële + PPP verbinding of een modem lijn. @@ -1431,20 +1459,21 @@ - As a server — your machine is located on - the network, and is used to connect other computers using - PPP. + Als een server — uw machine bevind + zich in het netwerk en wordt gebruikt om andere computers + te verbinden door middel van PPP. - In both cases you will need to set up an options file - (/etc/ppp/options or - ~/.ppprc if you have more than one user on - your machine that uses PPP). + In beide gevallen moet u een bestand met opties instellen + (/etc/ppp/options of + ~/.ppprc als er meer dan één + gebruiker is op uw machine die gebruik maakt van PPP). - You will also need some modem/serial software (preferably - comms/kermit), so you can dial and - establish a connection with the remote host. + U heeft ook enige modem/seriële software nodig + (comms/kermit wordt + aanbevolen), zodat u de andere kant kunt bellen en een + verbinding kunt opzetten. @@ -1471,26 +1500,29 @@ Cisco - The following /etc/ppp/options might be - used to connect to a Cisco terminal server PPP line. + De volgende /etc/ppp/options kan + gebruikt worden om met een Cisco terminal server PPP lijn + verbinding te maken. - crtscts # enable hardware flow control -modem # modem control line -noipdefault # remote PPP server must supply your IP address - # if the remote host does not send your IP during IPCP - # negotiation, remove this option -passive # wait for LCP packets -domain ppp.foo.com # put your domain name here + crtscts # Schakel hardware flow controle in +modem # modem controle lijn +noipdefault # De PPP server aan de andere kant moet uw IP adres + # opgeven, als de machine aan de andere kant uw IP + # adres niet meegeeft tijdens de IPCP onderhandeling + # moet deze optie worden verwijderd +passive # Wacht op LCP pakketten +domain ppp.foo.com # Vul uw domein naam hier in -:remote_ip # put the IP of remote PPP host here - # it will be used to route packets via PPP link - # if you didn't specified the noipdefault option - # change this line to local_ip:remote_ip +:remote_ip # Vul het IP adres van de PPP server in + # deze wordt gebruikt om pakketten te routeren via de + # PPP link. Als u de noipdefault optie niet heeft + # gespecificeerd verander dan deze regel in + # local_ip:remote_ip -defaultroute # put this if you want that PPP server will be your - # default router +defaultroute # Vul dit in als u wilt dat de PPP server de standaard + # router wordt - To connect: + Om verbinding te maken: Kermit @@ -1498,33 +1530,36 @@ - Dial to the remote host using - Kermit (or some other modem - program), and enter your user name and password (or whatever - is needed to enable PPP on the remote host). + Bel naar de machine aan de andere kant door middel van + Kermit (of een ander modem + programma), en vul uw gebruikersnaam en wachtwoord in (of + wat er ook nodig is om de verbinding op te brengen met de + machine aan de andere kant). - Exit Kermit (without - hanging up the line). + Stop Kermit (zonder de lijn + op te hangen). - Enter the following: + Type het volgende: &prompt.root; /usr/src/usr.sbin/pppd.new/pppd /dev/tty01 19200 - Be sure to use the appropriate speed and device name. + Wees er zeker van dat de juiste snelheid en het juiste + apparaat worden aangesproken. - Now your computer is connected with PPP. If the connection - fails, you can add the option to the - /etc/ppp/options file, and check console messages - to track the problem. + Uw computer is nu verbonden met PPP. Als de connectie + faalt, kan de optie worden meegegeven + in het /etc/ppp/options bestand waarna + de console berichten kunnen worden geraadpleegd om het probleem + te achterhalen. - Following /etc/ppp/pppup script will make - all 3 stages automatic: + Het volgende /etc/ppp/pppup script + zal alle 3 de stappen automatisch doen: #!/bin/sh pgrep -l pppd @@ -1550,13 +1585,14 @@ Kermit - /etc/ppp/kermit.dial is a - Kermit script that dials and makes all - necessary authorization on the remote host (an example of such a - script is attached to the end of this document). + /etc/ppp/kermit.dial is een + Kermit script dat belt en alle + benodigde authorizaties doet op de machine aan de andere + kant (een voorbeeld van zo'n script is bijgevoegd op het + einde van dit document). - Use the following /etc/ppp/pppdown script - to disconnect the PPP line: + Gebruik het volgende /etc/ppp/pppdown + script om de PPP lijn af te breken: #!/bin/sh pid=`pgrep pppd` @@ -1577,9 +1613,9 @@ kermit -y /etc/ppp/kermit.hup /etc/ppp/ppptest - Check to see if pppd is still running by - executing /usr/etc/ppp/ppptest, which should look - like this: + Controleer of pppd nog steeds draait door + het uitvoeren van /usr/etc/ppp/ppptest, + welke er als volgend uitziet: #!/bin/sh pid=`pgrep pppd` @@ -1592,9 +1628,9 @@ netstat -n -I ppp0 ifconfig ppp0 - To hang up the modem, execute - /etc/ppp/kermit.hup, which should - contain: + Om de modem op te hangen, voer het + /etc/ppp/kermit.hup script uit + welke het volgende bevat: set line /dev/tty01 ; put your modem device here >>> TRUNCATED FOR MAIL (1000 lines) <<<