From owner-p4-projects@FreeBSD.ORG Tue Sep 9 09:18:42 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8003F106567C; Tue, 9 Sep 2008 09:18:42 +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 2ACD6106567B for ; Tue, 9 Sep 2008 09:18:42 +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 1C8418FC18 for ; Tue, 9 Sep 2008 09:18:42 +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 m899IgGa036787 for ; Tue, 9 Sep 2008 09:18:42 GMT (envelope-from remko@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m899Ignv036779 for perforce@freebsd.org; Tue, 9 Sep 2008 09:18:42 GMT (envelope-from remko@freebsd.org) Date: Tue, 9 Sep 2008 09:18:42 GMT Message-Id: <200809090918.m899Ignv036779@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 149463 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: Tue, 09 Sep 2008 09:18:43 -0000 http://perforce.freebsd.org/chv.cgi?CH=149463 Change 149463 by remko@remko_nakur on 2008/09/09 09:18:34 More WIP, stylify (this chapter has a lot of work wrt. style's which are not being followed thoroughly). Affected files ... .. //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml#5 edit Differences ... ==== //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml#5 (text+ko) ==== @@ -28,9 +28,11 @@ Overzicht + PPP + SLIP @@ -69,10 +71,12 @@ PPP gebruiker PPP + PPP kernel PPP + PPP over Ethernet @@ -84,6 +88,7 @@ Bekend zijn met basis netwerk terminologie. + De basis en doeleinden van een inbel verbinding en van PPP en/of SLIP. @@ -157,9 +162,11 @@ ISP + PPP + Een account bij een Internet Service Provider (ISP) waarmee verbinding gemaakt wordt door mdidel van @@ -179,18 +186,23 @@ PAP + CHAP + UNIX + login naam + wachtwoord + Uw loginnaam en wachtwoord (danwel een standaard &unix; style login en wachtwoord combinatie of een PAP of CHAP @@ -200,6 +212,7 @@ naamserver + Het IP adres van één of meerdere naam servers. Normaal gesproken krijgt u twee IP adressen van @@ -214,7 +227,7 @@ - De volgende informatie kan aangeleverd worden door uw + De volgende informatie kan aangeleverd worden door uw ISP maar is niet volledig noodzakelijk: @@ -241,6 +254,7 @@ statisch ip adres + Als uw ISP een vast IP adres en hostname levert, kunt u dit invoeren. In andere gevallen laten bepaalt de @@ -498,7 +512,9 @@ PAP + CHAP + Als u gebruik maakt van PPP en CHAP, zal er geen login op dit moment zijn, en moet deze regel uitgecommentarieerd worden of verwijderd. Zie het @@ -528,6 +544,7 @@ Regel 16: timeout + Selt de standaard idle timeout in (in seconden) voor de connectie. Hier wordt de connectie @@ -539,8 +556,10 @@ - Retel 17: + Regel 17: + ISP + Stelt het interface adres in. De string x.x.x.x moet vervangen @@ -724,75 +743,75 @@ gateway_enable="YES" - - Welke getty? + + Welke getty? - Het configureren van &os; voor - inbel diensten levert een goede omschrijving van - het inschakelen van inbel diensten door gebruik te maken - van &man.getty.8;. + Het configureren van &os; voor + inbel diensten levert een goede omschrijving van + het inschakelen van inbel diensten door gebruik te maken + van &man.getty.8;. - Een alternatief voor getty is mgetty, - een slimmere versie van getty ontworpen - met inbel lijnen in het achterhoofd. + Een alternatief voor getty is mgetty, + een slimmere versie van getty ontworpen + met inbel lijnen in het achterhoofd. - De voordelen van het gebruik van - mgetty is dat het actief - praat tegen modems, wat betekend - dat als de port uitgeschakeld is in - /etc/ttys zal de modem de telefoon - niet beantwoorden. + De voordelen van het gebruik van + mgetty is dat het actief + praat tegen modems, wat betekend + dat als de port uitgeschakeld is in + /etc/ttys zal de modem de telefoon + niet beantwoorden. - Latere versies van mgetty (vanaf - 0.99beta en later) ondersteunen ook het automatisch - detecteren van PPP stromen waardoor cliënten - zonder extra scripting toegang kunnen krijgen tot uw - server. + Latere versies van mgetty (vanaf + 0.99beta en later) ondersteunen ook het automatisch + detecteren van PPP stromen waardoor cliënten + zonder extra scripting toegang kunnen krijgen tot uw + server. - Refereer naar Mgetty en - AutoPPP voor meer informatie over - mgetty. - + Refereer naar Mgetty en + AutoPPP voor meer informatie over + mgetty. + - - <application>PPP</application> Permissies + + <application>PPP</application> Permissies - Het ppp commando moet normaal - gesproken gestart worden door de root - gebruiker. Als u echter wilt toestaan dat - ppp in server mode gestart wordt door - een normale gebruiker door het uitvoeren van - ppp zoals beschreven hieronder moet - deze gebruiker permissies gegeven worden om - ppp te starten door deze toe te - voegen aan de network groep in - /etc/group. + Het ppp commando moet normaal + gesproken gestart worden door de root + gebruiker. Als u echter wilt toestaan dat + ppp in server mode gestart wordt door + een normale gebruiker door het uitvoeren van + ppp zoals beschreven hieronder moet + deze gebruiker permissies gegeven worden om + ppp te starten door deze toe te + voegen aan de network groep in + /etc/group. - U moet ze ook toegang geven tot één - of meerdere secties in het configuratie bestand door - gebruik te maken van het allow - commando: + U moet ze ook toegang geven tot één + of meerdere secties in het configuratie bestand door + gebruik te maken van het allow + commando: - allow users fred mary + allow users fred mary - Als dit commando wordt gebruikt in de - default sectie, geeft het alle - gespecificeerde gebruikers toegang tot alles. - + Als dit commando wordt gebruikt in de + default sectie, geeft het alle + gespecificeerde gebruikers toegang tot alles. + - - PPP Shells for Dynamic-IP Users + + PPP shells voor dynamische IP gebruikers - - PPP shells - + + PPP shells + - Create a file called - /etc/ppp/ppp-shell containing the - following: + Create a file called + /etc/ppp/ppp-shell containing the + following: - #!/bin/sh + #!/bin/sh IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'` CALLEDAS="$IDENT" TTY=`tty` @@ -806,66 +825,66 @@ 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: + This script should be executable. Now make a symbolic + link called ppp-dialup to this script + using the following commands: - &prompt.root; ln -s ppp-shell /etc/ppp/ppp-dialup + &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;). + 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;). - pchilds:*:1011:300:Peter Childs PPP:/home/ppp:/etc/ppp/ppp-dialup + 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: + Create a /home/ppp directory that + is world readable containing the following 0 byte + files: - -r--r--r-- 1 root wheel 0 May 27 02:23 .hushlogin + -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. - + which prevents /etc/motd from being + displayed. + - - PPP Shells for Static-IP Users + + PPP shells voor statische IP gebruikers - - PPP shells - + + PPP shells + - Create the ppp-shell file as above, - and for each account with statically assigned IPs create a - symbolic link to ppp-shell. + Create the ppp-shell file as above, + and for each account with statically assigned IPs create a + symbolic link to 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: + For example, if you have three dialup customers, + fred, sam, and + mary, that you route /24 CIDR networks + for, you would type the following: - &prompt.root; ln -s /etc/ppp/ppp-shell /etc/ppp/ppp-fred + &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 - /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 + /etc/ppp/ppp-mary). + - - Setting Up <filename>ppp.conf</filename> for Dynamic-IP - Users + + Het instellen van <filename>ppp.conf</filename> voor + dynamische IP gebruikers - The /etc/ppp/ppp.conf file should - contain something along the lines of: + The /etc/ppp/ppp.conf file should + contain something along the lines of: - default: + default: set debug phase lcp chat set timeout 0 @@ -877,30 +896,30 @@ set ifaddr 203.14.100.1 203.14.100.21 255.255.255.255 enable proxy - - The indenting is important. - + + De indentie 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. - + 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. + - - Setting Up <filename>ppp.conf</filename> for Static-IP - Users + + Het instellen van <filename>ppp.conf</filename> voor + statische IP gebruikers. - Along with the contents of the sample - /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. + Along with the contents of the sample + /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. - fred: + fred: set ifaddr 203.14.100.1 203.14.101.1 255.255.255.255 sam: @@ -909,13 +928,13 @@ 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. + 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. - fred: + fred: add 203.14.101.0 netmask 255.255.255.0 HISADDR sam: @@ -925,123 +944,126 @@ add 203.14.103.0 netmask 255.255.255.0 HISADDR - - <command>mgetty</command> and AutoPPP + + <command>mgetty</command> en AutoPPP - - mgetty - + + mgetty + - - AutoPPP - + + AutoPPP + - - LCP - + + 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. + 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. - This section assumes the user has successfully - configured, compiled, and installed a version of - mgetty with the - AUTO_PPP option (v0.99beta or - later). + This section assumes the user has successfully + configured, compiled, and installed a version of + mgetty with the + AUTO_PPP option (v0.99beta or + later). - Make sure your - /usr/local/etc/mgetty+sendfax/login.config - file has the following in it: + Make sure your + /usr/local/etc/mgetty+sendfax/login.config + file has the following in it: - /AutoPPP/ - - /etc/ppp/ppp-pap-dialup + /AutoPPP/ - - /etc/ppp/ppp-pap-dialup - This will tell mgetty to run the - ppp-pap-dialup script for detected - PPP connections. + This will tell mgetty to run the + ppp-pap-dialup script for detected + PPP connections. - Create a file called - /etc/ppp/ppp-pap-dialup containing the - following (the file should be executable): + Create a file called + /etc/ppp/ppp-pap-dialup containing the + following (the file should be executable): - #!/bin/sh + #!/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. + 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. - pap: + 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. + 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. - enable passwdauth + 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 - /usr/share/examples/ppp/ppp.secret.sample - for examples. - + 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 + /usr/share/examples/ppp/ppp.secret.sample + for examples. + - - MS Extensions + + MS Extensies - - DNS - + + DNS + - - NetBIOS - + + NetBIOS + - - PPP - Microsoft extensions - + + PPP + Microsoft extensions + - It is possible to configure PPP to supply DNS and - NetBIOS nameserver addresses on demand. + It is possible to configure PPP to supply DNS and + NetBIOS nameserver addresses on demand. - To enable these extensions with PPP version 1.x, the - following lines might be added to the relevant section of - /etc/ppp/ppp.conf. + To enable these extensions with PPP version 1.x, the + following lines might be added to the relevant section of + /etc/ppp/ppp.conf. - enable msext + 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: + And for PPP version 2 and above: - accept dns + 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. + This will tell the clients the primary and secondary + name server addresses, and a NetBIOS nameserver host. - In version 2 and above, if the - set dns line is omitted, PPP will use the - values found in /etc/resolv.conf. + In version 2 and above, if the + set dns line is omitted, PPP will use the + values found in /etc/resolv.conf. - PAP and CHAP Authentication + PAP en CHAP authenticatie + PAP + 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 @@ -1065,7 +1087,7 @@ - Line 13: + Regel 13: This line specifies your PAP/CHAP user name. You @@ -1075,8 +1097,10 @@ - Line 14: + Regel 14: + password + This line specifies your PAP/CHAP password. You will need to insert the correct value for @@ -1095,7 +1119,7 @@ - Line 15: + Regel 15: Your ISP will not normally require that you log into @@ -1108,8 +1132,8 @@ - Changing Your <command>ppp</command> Configuration on the - Fly + 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 @@ -1132,10 +1156,12 @@ - Using PPP Network Address Translation Capability + PPP's netwerk adres translatie mogelijkheden + gebruiken - PPPNAT + PPP + NAT PPP has ability to use internal NAT without kernel diverting @@ -1162,10 +1188,11 @@ - Final System Configuration + Laatste systeem configuratie - PPPconfiguration + PPP + configuration You now have ppp configured, but there @@ -1229,8 +1256,9 @@ sendmail_flags="-bd" - sendmail - + 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: @@ -1268,7 +1296,7 @@ - Summary + Samenvatting To recap, the following steps are necessary when setting up ppp for the first time: @@ -1364,7 +1392,7 @@ Gennady B. Sorokopud - Parts originally contributed by + Delen origineel bijgedragen door Robert @@ -1373,10 +1401,10 @@ - Using Kernel PPP + Kernel PPP gebruiken - Setting Up Kernel PPP + Het opzetten van kernel PPP PPP @@ -1425,13 +1453,14 @@ Trev Roydhouse - Based on information provided by + Gebaseerd op informatie geleverd door - Using <command>pppd</command> as a Client + Gebruik maken van <command>pppd</command> als + cliënt PPP @@ -1464,7 +1493,9 @@ To connect: Kermit + modem + Dial to the remote host using @@ -1628,7 +1659,8 @@ - Using <command>pppd</command> as a Server + Gebruik maken van <command>pppd</command> als + server<title> <para><filename>/etc/ppp/options</filename> should contain something similar to the following:</para> @@ -1860,7 +1892,7 @@ <indexterm> <primary>PPP</primary> - <secondary>troubleshooting</secondary> + <secondary>troubleshooten</secondary> </indexterm> <para>This section covers a few issues which may arise when @@ -1876,7 +1908,7 @@ step.</para> <sect2> - <title>Check the Device Nodes + Controleer de apparaat nodes If you reconfigured your kernel then you recall the sio device. If you did not @@ -1898,7 +1930,7 @@ - Connecting Manually + Handmatig verbinding maken Connecting to the Internet by manually controlling ppp is quick, easy, and a great way to @@ -1976,13 +2008,13 @@ to use ppp as we want an Internet connection. - Ppp ON example> + PPP ON example> Notice that in this example the first has been capitalized. This shows that we have successfully connected to the ISP. - PPp ON example> + PPP ON example> We have successfully authenticated with our ISP and are waiting for the @@ -2017,7 +2049,7 @@ ppp only has these 2 states. - Debugging + Debuggen If you have a direct line and cannot seem to make a connection, then turn hardware flow @@ -2106,9 +2138,6 @@ - - - @@ -2133,11 +2162,11 @@ PPP, over Ethernet - This section describes how to set up PPP over Ethernet + Deze sectie beschrijft hoe PPP over Ethernet opgezet kan worden (PPPoE). - Configuring the Kernel + Het configureren van de kernel No kernel configuration is necessary for PPPoE any longer. If the necessary netgraph support is not built into the kernel, it will @@ -2145,7 +2174,7 @@ - Setting Up <filename>ppp.conf</filename> + Het instellen van <filename>ppp.conf</filename> Here is an example of a working ppp.conf: @@ -2165,16 +2194,16 @@ - Running <application>ppp</application> + Het draaien van <application>ppp</application> As root, you can run: &prompt.root; ppp -ddial name_of_service_provider - - Starting <application>ppp</application> at Boot + Het opstarten van <application>ppp</application> tijdens het + opstarten Add the following to your /etc/rc.conf file: @@ -2186,7 +2215,7 @@ - Using a PPPoE Service Tag + Gebruik maken van een PPPoE service label Sometimes it will be necessary to use a service tag to establish your connection. Service tags are used to distinguish between @@ -2240,7 +2269,7 @@ - PPPoE with a &tm.3com; <trademark + <title>PPPoE met een &tm.3com; <trademark class="registered">HomeConnect</trademark> ADSL Modem Dual Link @@ -2272,7 +2301,8 @@ - Using <application>PPP</application> over ATM (PPPoA) + Gebruik maken van <application>PPP</application> over ATM + (PPPoA) PPP @@ -2288,7 +2318,7 @@ PPPoA is a popular choice among European DSL providers. - Using PPPoA with the Alcatel &speedtouch; USB + Gebruik maken van PPPoA met de Alcatel &speedtouch; USB PPPoA support for this device is supplied as a port in FreeBSD because the firmware is distributed under - Using mpd + Gebruik maken van mpd You can use mpd to connect to a variety of services, in particular PPTP services. You can find @@ -2396,6 +2426,7 @@ The username used to authenticate with your ISP. + The password used to authenticate with your ISP. @@ -2420,6 +2451,7 @@ The IP address of your &os; computer which you will be using mpd from. + The IP address of your ADSL modem. For the Alcatel &speedtouch; Home this address defaults to - Using pptpclient + Gebruik maken van pptpclient It is also possible to use FreeBSD to connect to other PPPoA services using @@ -2469,26 +2501,28 @@ set ifaddr 0 0 add default HISADDR - - - The username of your account with the DSL provider. - - - The password for your account. - - + + + The username of your account with the DSL provider. + + + + The password for your account. + + >>> TRUNCATED FOR MAIL (1000 lines) <<<