aboutsummaryrefslogtreecommitdiff
path: root/pl_PL.ISO8859-2/books/handbook/ppp-and-slip/chapter.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'pl_PL.ISO8859-2/books/handbook/ppp-and-slip/chapter.sgml')
-rw-r--r--pl_PL.ISO8859-2/books/handbook/ppp-and-slip/chapter.sgml90
1 files changed, 45 insertions, 45 deletions
diff --git a/pl_PL.ISO8859-2/books/handbook/ppp-and-slip/chapter.sgml b/pl_PL.ISO8859-2/books/handbook/ppp-and-slip/chapter.sgml
index 9fcb2d1a14..85ea9ec268 100644
--- a/pl_PL.ISO8859-2/books/handbook/ppp-and-slip/chapter.sgml
+++ b/pl_PL.ISO8859-2/books/handbook/ppp-and-slip/chapter.sgml
@@ -60,11 +60,11 @@
<indexterm id="ppp-ppp-user">
<primary>PPP</primary>
<secondary>user PPP</secondary>
- </indexterm>
+ </indexterm>
<indexterm id="ppp-ppp-kernel">
<primary>PPP</primary>
<secondary>kernel PPP</secondary>
- </indexterm>
+ </indexterm>
<indexterm id="ppp-ppp-ethernet">
<primary>PPP</primary>
<secondary>over Ethernet</secondary>
@@ -234,7 +234,7 @@
peer assign whatever IP address it sees fit.</para>
</listitem>
</itemizedlist>
-
+
<para>If you do not have any of the required information, contact
your ISP.</para>
@@ -430,7 +430,7 @@
first number first and only use the other numbers if the
first number fails, use the pipe character. Always
quote the entire set of phone numbers as shown.</para>
-
+
<para>You must enclose the phone number in quotation marks
(<literal>"</literal>) if there is any intention on using
spaces in the phone number. This can cause a simple, yet
@@ -781,10 +781,10 @@ exec /usr/sbin/ppp -direct $IDENT</programlisting>
<sect4>
<title>Setting Up <filename>ppp.conf</filename> for Dynamic-IP Users</title>
-
+
<para>The <filename>/etc/ppp/ppp.conf</filename> file should
contain something along the lines of:</para>
-
+
<programlisting>default:
set debug phase lcp chat
set timeout 0
@@ -891,7 +891,7 @@ exec /usr/sbin/ppp -direct pap$IDENT</programlisting>
above.</para>
<programlisting>pap:
- enable pap
+ enable pap
set ifaddr 203.14.100.1 203.14.100.20-203.14.100.40
enable proxy</programlisting>
@@ -912,7 +912,7 @@ exec /usr/sbin/ppp -direct pap$IDENT</programlisting>
<sect4>
<title>MS Extensions</title>
- <indexterm><primary>DNS</primary></indexterm>
+ <indexterm><primary>DNS</primary></indexterm>
<indexterm><primary>NetBIOS</primary></indexterm>
<indexterm><primary>PPP</primary><secondary>Microsoft extensions</secondary></indexterm>
<para>It is possible to configure PPP to supply DNS and
@@ -942,8 +942,8 @@ set nbns 203.14.100.5</programlisting>
<sect4 id="userppp-PAPnCHAP">
<title>PAP and CHAP Authentication</title>
- <indexterm><primary>PAP</primary></indexterm>
- <indexterm><primary>CHAP</primary></indexterm>
+ <indexterm><primary>PAP</primary></indexterm>
+ <indexterm><primary>CHAP</primary></indexterm>
<para>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
@@ -985,7 +985,7 @@ set nbns 203.14.100.5</programlisting>
will need to insert the correct value for
<replaceable>MyPassword</replaceable>. You may want to
add an additional line, such as:</para>
-
+
<programlisting>16 accept PAP</programlisting>
<para>or</para>
@@ -1039,14 +1039,14 @@ set nbns 203.14.100.5</programlisting>
<indexterm><primary>PPP</primary><secondary>NAT</secondary></indexterm>
<para>PPP has ability to use internal NAT without kernel diverting
- capabilities. This functionality may be enabled by the following
+ capabilities. This functionality may be enabled by the following
line in <filename>/etc/ppp/ppp.conf</filename>:</para>
<programlisting>nat enable yes</programlisting>
<para>Alternatively, PPP NAT may be enabled by command-line
- option <literal>-nat</literal>. There is also
- <filename>/etc/rc.conf</filename> knob named
+ option <literal>-nat</literal>. There is also
+ <filename>/etc/rc.conf</filename> knob named
<literal>ppp_nat</literal>, which is enabled by default.</para>
<para>If you use this feature, you may also find useful
@@ -1317,7 +1317,7 @@ ifconfig_tun0=</programlisting>
</author>
</authorgroup>
</sect2info>
-
+
<title>Using <command>pppd</command> as a Client</title>
<indexterm><primary>PPP</primary><secondary>client</secondary></indexterm>
<indexterm><primary>Cisco</primary></indexterm>
@@ -1369,7 +1369,7 @@ defaultroute # put this if you want that PPP server will be your
fails, you can add the <option>debug</option> option to the
<filename>/etc/ppp/options</filename> file, and check console messages
to track the problem.</para>
-
+
<para>Following <filename>/etc/ppp/pppup</filename> script will make
all 3 stages automatic:</para>
@@ -1462,7 +1462,7 @@ exit</programlisting>
<para>Here is an alternate method using <command>chat</command>
instead of <command>kermit</command>:</para>
- <para>The following two files are sufficient to accomplish a
+ <para>The following two files are sufficient to accomplish a
<command>pppd</command> connection.</para>
<para><filename>/etc/ppp/options</filename>:</para>
@@ -1514,7 +1514,7 @@ netmask 255.255.255.0 # netmask (not required)
# local ip must be different from one
# you assigned to the Ethernet (or other)
# interface on your machine.
- # remote IP is IP address that will be
+ # remote IP is IP address that will be
# assigned to the remote machine
domain ppp.foo.com # your domain
passive # wait for LCP
@@ -1524,7 +1524,7 @@ modem # modem line</programlisting>
will tell <application>pppd</application> to behave as a
server:</para>
- <programlisting>#!/bin/sh
+ <programlisting>#!/bin/sh
ps ax |grep pppd |grep -v grep
pid=`ps ax |grep pppd |grep -v grep|awk '{print $1;}'`
if [ "X${pid}" != "X" ] ; then
@@ -1551,7 +1551,7 @@ pppd /dev/tty01 19200</programlisting>
<para>Use this <filename>/etc/ppp/pppservdown</filename> script to
stop the server:</para>
- <programlisting>#!/bin/sh
+ <programlisting>#!/bin/sh
ps ax |grep pppd |grep -v grep
pid=`ps ax |grep pppd |grep -v grep|awk '{print $1;}'`
if [ "X${pid}" != "X" ] ; then
@@ -2195,7 +2195,7 @@ ppp_profile="adsl"</programlisting>
<para>For this to work correctly you will need to have used the
sample <filename>ppp.conf</filename> which is supplied with the
<filename role="package">net/pppoa</filename> port.</para>
-
+
</sect2>
<sect2>
@@ -2235,15 +2235,15 @@ adsl:
set bundle password <replaceable>password</replaceable> <co
id="co-mpd-ex-pass"/>
set bundle disable multilink
-
+
set link no pap acfcomp protocomp
set link disable chap
set link accept chap
set link keep-alive 30 10
-
+
set ipcp no vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
-
+
set iface route default
set iface disable on-demand
set iface enable proxy-arp
@@ -2297,19 +2297,19 @@ adsl:
<screen>&prompt.user; <userinput>ifconfig <replaceable>ng0</replaceable></userinput>
ng0: flags=88d1&lt;UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST&gt; mtu 1500
inet 216.136.204.117 --> 204.152.186.171 netmask 0xffffffff</screen>
-
+
<para>Using <application>mpd</application> is the recommended way to
connect to an ADSL service with &os;.</para>
-
+
</sect2>
<sect2>
<title>Using pptpclient</title>
-
+
<para>It is also possible to use FreeBSD to connect to other PPPoA
services using
<filename role="package">net/pptpclient</filename>.</para>
-
+
<para>To use <filename role="package">net/pptpclient</filename> to
connect to a DSL service, install the port or package and edit your
<filename>/etc/ppp/ppp.conf</filename>. You will need to be
@@ -2364,7 +2364,7 @@ ng0: flags=88d1&lt;UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST&gt; mtu 1500
end of the previous command because <application>pptp</application>
will not return your prompt to you otherwise.</para>
</tip>
-
+
<para>A <devicename>tun</devicename> virtual tunnel device will be
created for interaction between the <application>pptp</application>
and <application>ppp</application> processes. Once you have been
@@ -2374,7 +2374,7 @@ ng0: flags=88d1&lt;UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST&gt; mtu 1500
<screen>&prompt.user; <userinput>ifconfig <replaceable>tun0</replaceable></userinput>
tun0: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
- inet 216.136.204.21 --> 204.152.186.171 netmask 0xffffff00
+ inet 216.136.204.21 --> 204.152.186.171 netmask 0xffffff00
Opened by PID 918</screen>
<para>If you are unable to connect, check the configuration of
@@ -2437,7 +2437,7 @@ tun0: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
<para>Make sure you have the following in your kernel configuration
file:</para>
-
+
<programlisting>device sl</programlisting>
<para>It is included in the <filename>GENERIC</filename> kernel, so
@@ -2478,7 +2478,7 @@ tun0: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
<listitem>
<para>Set your hostname by editing the line that
says:</para>
-
+
<programlisting>hostname="myname.my.domain"</programlisting>
<para>Your machine's full Internet hostname should be
@@ -2516,7 +2516,7 @@ nameserver 128.32.136.12</programlisting>
</step>
<step>
- <para>Set the password for <username>root</username> and
+ <para>Set the password for <username>root</username> and
<username>toor</username> (and any other
accounts that do not have a password).</para>
</step>
@@ -2576,7 +2576,7 @@ output ***\x0d, echo \x0aCONNECTED\x0a</programlisting>
<para>If you are able to <command>ping</command> hosts on the
other side of the router, you are connected! If it does not
work, you might want to try <option>-a</option> instead of
- <option>-c</option> as an argument to
+ <option>-c</option> as an argument to
<command>slattach</command>.</para>
</step>
</procedure>
@@ -2595,8 +2595,8 @@ output ***\x0d, echo \x0aCONNECTED\x0a</programlisting>
exit from
it (<keycap>q</keycap>).</para>
- <para>The &man.slattach.8; manual page says you have
- to use <command>ifconfig sl0 down</command>
+ <para>The &man.slattach.8; manual page says you have
+ to use <command>ifconfig sl0 down</command>
to mark the interface down, but this does not
seem to make any difference.
(<command>ifconfig sl0</command> reports the same thing.)</para>
@@ -2792,7 +2792,7 @@ water.CS.Example localhost.Example. UGH 34 47641234 lo0 - 0.438
will have to edit the <filename>/etc/rc.conf</filename> file and
change the setting of the <literal>gateway_enable</literal> variable to
<option>YES</option>.</para>
-
+
<para>You will then need to reboot for the new settings to take
effect.</para>
@@ -2853,7 +2853,7 @@ water.CS.Example localhost.Example. UGH 34 47641234 lo0 - 0.438
this:</para>
<programlisting>#
-# login local-addr remote-addr mask opt1 opt2
+# login local-addr remote-addr mask opt1 opt2
# (normal,compress,noicmp)
#
Shelmerg dc-slip sl-helmerg 0xfffffc00 autocomp</programlisting>
@@ -2952,7 +2952,7 @@ Shelmerg dc-slip sl-helmerg 0xfffffc00 autocomp</programlisting
# 1 2 3 4 5 6 7-n
# slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
-/sbin/ifconfig sl$1 inet $4 $5 netmask $6
+/sbin/ifconfig sl$1 inet $4 $5 netmask $6
# Answer ARP requests for the SLIP client with our Ethernet addr
/usr/sbin/arp -s $5 00:11:22:33:44:55 pub</programlisting>
@@ -3055,7 +3055,7 @@ Shelmerg dc-slip sl-helmerg 0xfffffc00 autocomp</programlisting
</indexterm>
<para>If you are not using the <quote>proxy ARP</quote> method for
routing packets between your SLIP clients and the rest of your
- network (and perhaps the Internet), you will probably
+ network (and perhaps the Internet), you will probably
have to add static routes to your closest default router(s) to
route your SLIP clients subnet via your SLIP server.</para>
@@ -3082,10 +3082,10 @@ Shelmerg dc-slip sl-helmerg 0xfffffc00 autocomp</programlisting
</indexterm>
<note>
- <para><application>&gated;</application> is proprietary software now and
- will not be available as source code to the public anymore
+ <para><application>&gated;</application> is proprietary software now and
+ will not be available as source code to the public anymore
(more info on the <ulink
- url="http://www.gated.org/">&gated;</ulink> website). This
+ url="http://www.gated.org/">&gated;</ulink> website). This
section only exists to ensure backwards compatibility for
those that are still using an older version.</para>
</note>
@@ -3094,7 +3094,7 @@ Shelmerg dc-slip sl-helmerg 0xfffffc00 autocomp</programlisting
install <application>&gated;</application> on your FreeBSD SLIP server
and configure it to use the appropriate routing protocols
(RIP/OSPF/BGP/EGP) to tell other routers about your SLIP
- subnet.
+ subnet.
You will need to write a <filename>/etc/gated.conf</filename>
file to configure your <application>&gated;</application>; here is a sample, similar to
what the author used on a FreeBSD SLIP server:</para>
@@ -3132,7 +3132,7 @@ export proto rip interface ed {
#
# Accept routes from RIP via ed Ethernet interfaces
-
+
import proto rip interface ed {
all ;
} ;</programlisting>