old-www/HOWTO/PPP-HOWTO/index.html

791 lines
11 KiB
HTML

<HTML
><HEAD
><TITLE
>Linux PPP HOWTO</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.52"><LINK
REL="NEXT"
TITLE="About This Document"
HREF="f20.html"></HEAD
><BODY
CLASS="BOOK"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="BOOK"
><A
NAME="AEN1"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN2"
><A
HREF="http://www.linuxports.com/howto/ppp"
TARGET="_top"
>Linux PPP HOWTO</A
></A
></H1
><H3
CLASS="AUTHOR"
><A
NAME="AEN5"
>Corwin Light-Williams</A
></H3
><H3
CLASS="AUTHOR"
><A
NAME="AEN8"
>Joshua Drake</A
></H3
><P
CLASS="COPYRIGHT"
>Copyright &copy; 2000 by <SPAN
CLASS="HOLDER"
>Commandprompt, Inc</SPAN
></P
><P
CLASS="COPYRIGHT"
>Copyright &copy; 1997 by <SPAN
CLASS="HOLDER"
>Robert Hart</SPAN
></P
><DIV
><DIV
CLASS="ABSTRACT"
><P
></P
><P
>This is a LinuxPorts.Com Document for the Linux Documentation Project.</P
><P
></P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="f20.html"
>About This Document</A
></DT
><DT
>1. <A
HREF="c28.html"
>How can I help?</A
></DT
><DT
>2. <A
HREF="c44.html"
>Introduction</A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="c44.html#AEN52"
>Clients and Servers</A
></DT
><DT
>2.2. <A
HREF="x71.html"
>Differences between Linux distributions</A
></DT
><DT
>2.3. <A
HREF="x100.html"
>PPP configuration tools</A
></DT
></DL
></DD
><DT
>3. <A
HREF="c112.html"
>IP Numbers</A
></DT
><DT
>4. <A
HREF="c143.html"
>Aims of this Document</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="c143.html#AEN145"
>Setting up a PPP Client</A
></DT
><DT
>4.2. <A
HREF="x150.html"
>Linking two LANs or a LAN to the Internet using PPP</A
></DT
><DT
>4.3. <A
HREF="x153.html"
>Using intuitive configuration tools to set up PPP</A
></DT
><DT
>4.4. <A
HREF="x156.html"
>Setting up a PPP server</A
></DT
><DT
>4.5. <A
HREF="x161.html"
>Using PPP over a direct null modem connection</A
></DT
><DT
>4.6. <A
HREF="x164.html"
>This document at present does NOT cover...</A
></DT
></DL
></DD
><DT
>5. <A
HREF="c180.html"
>Software versions covered</A
></DT
><DT
>6. <A
HREF="c189.html"
>Other Useful/Important Documents</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="c189.html#AEN227"
>Useful Linux Mailing Lists</A
></DT
></DL
></DD
><DT
>7. <A
HREF="tools.html"
>Easy Configuration Utilities for PPP</A
></DT
><DD
><DL
><DT
>7.1. <A
HREF="tools.html#AEN238"
>KPPP - The KDE PPP Dialer</A
></DT
><DT
>7.2. <A
HREF="x314.html"
>WvDial - A command-line pppd driver</A
></DT
><DT
>7.3. <A
HREF="x328.html"
>rp3 - RedHat PPP dialer</A
></DT
><DT
>7.4. <A
HREF="x342.html"
>Linuxconf - Universal (almost) Linux PPP dialer</A
></DT
></DL
></DD
><DT
>8. <A
HREF="problems.html"
>Debugging</A
></DT
><DD
><DL
><DT
>8.1. <A
HREF="problems.html#AEN386"
>I have compiled PPP support into the kernel, but...</A
></DT
><DT
>8.2. <A
HREF="x412.html"
>My modem connects but ppp never starts up</A
></DT
><DT
>8.3. <A
HREF="x419.html"
>The syslog says "serial line is not 8 bit clean"</A
></DT
><DT
>8.4. <A
HREF="x452.html"
>Default route not set</A
></DT
><DT
>8.5. <A
HREF="x459.html"
>Other Problems</A
></DT
></DL
></DD
><DT
>9. <A
HREF="c463.html"
>Overview of what has to be done to get PPP working as a client</A
></DT
><DD
><DL
><DT
>9.1. <A
HREF="c463.html#AEN467"
>Obtaining/Installing the software</A
></DT
><DT
>9.2. <A
HREF="x474.html"
>Compiling PPP support into the kernel</A
></DT
><DT
>9.3. <A
HREF="x492.html"
>Obtaining information from your ISP</A
></DT
><DT
>9.4. <A
HREF="x499.html"
>Configuring your modem and serial port</A
></DT
><DT
>9.5. <A
HREF="x505.html"
>Setting up Name to Address Resolution (DNS)</A
></DT
><DT
>9.6. <A
HREF="x521.html"
>PPP and root Privileges</A
></DT
><DT
>9.7. <A
HREF="x526.html"
>Checking your distribution PPP Files and setting up the PPP Options</A
></DT
><DT
>9.8. <A
HREF="x537.html"
>If your PPP server uses PAP (Password Authentication Protocol)</A
></DT
><DT
>9.9. <A
HREF="x545.html"
>Connecting to the PPP server by hand</A
></DT
><DT
>9.10. <A
HREF="x550.html"
>Automating your PPP Connection</A
></DT
><DT
>9.11. <A
HREF="x557.html"
>Shutting down the link</A
></DT
><DT
>9.12. <A
HREF="x562.html"
>If you have problems</A
></DT
><DT
>9.13. <A
HREF="x570.html"
>After the link comes up</A
></DT
><DT
>9.14. <A
HREF="x577.html"
>Problems with standard IP services on a Dynamic IP number PPP link</A
></DT
><DT
>9.15. <A
HREF="x582.html"
>Maintaining a permanent connection to the net with <I
CLASS="EMPHASIS"
>pppd</I
>.</A
></DT
></DL
></DD
><DT
>10. <A
HREF="kernel-configuration.html"
>Configuring your Linux Kernel</A
></DT
><DD
><DL
><DT
>10.1. <A
HREF="kernel-configuration.html#AEN609"
>Installing the Linux Kernel source</A
></DT
><DT
>10.2. <A
HREF="x640.html"
>Knowing your hardware</A
></DT
><DT
>10.3. <A
HREF="x644.html"
>Kernel compilation - the Linux 1.2.13 kernel</A
></DT
><DT
>10.4. <A
HREF="x656.html"
>Kernel compilation - the Linux 1.3.x, 2.0.x, and 2.2.x kernels</A
></DT
><DT
>10.5. <A
HREF="x676.html"
>Note on PPP-2.x and <TT
CLASS="LITERAL"
>/proc/net/dev</TT
></A
></DT
><DT
>10.6. <A
HREF="x686.html"
>General kernel config considerations for PPP</A
></DT
></DL
></DD
><DT
>11. <A
HREF="server-info.html"
>Getting the Information you need about the PPP server</A
></DT
><DT
>12. <A
HREF="modem.html"
>Configuring your modem and serial port</A
></DT
><DD
><DL
><DT
>12.1. <A
HREF="modem.html#AEN745"
>A note about serial ports and speed capabilities</A
></DT
><DT
>12.2. <A
HREF="x753.html"
>Serial Port Names</A
></DT
><DT
>12.3. <A
HREF="x761.html"
>Configuring your modem</A
></DT
><DT
>12.4. <A
HREF="x797.html"
>Note on Serial Flow Control</A
></DT
><DT
>12.5. <A
HREF="x808.html"
>Testing your modem for dial out</A
></DT
></DL
></DD
><DT
>13. <A
HREF="dns.html"
>Setting up Name to Address Resolution (DNS)</A
></DT
><DD
><DL
><DT
>13.1. <A
HREF="dns.html#AEN877"
>The <TT
CLASS="LITERAL"
>/etc/resolv.conf</TT
> file</A
></DT
><DT
>13.2. <A
HREF="x892.html"
>The <TT
CLASS="LITERAL"
>/etc/host.conf</TT
> file</A
></DT
></DL
></DD
><DT
>14. <A
HREF="root.html"
>Using PPP and root privileges</A
></DT
><DT
>15. <A
HREF="options.html"
>Setting up the PPP connection files</A
></DT
><DD
><DL
><DT
>15.1. <A
HREF="options.html#AEN964"
>The supplied options.tpl file</A
></DT
><DT
>15.2. <A
HREF="x970.html"
>What options should I use? (No PAP/CHAP)</A
></DT
><DT
>15.3. <A
HREF="x980.html"
>Other options to consider adding</A
></DT
></DL
></DD
><DT
>16. <A
HREF="pap.html"
>If your PPP server uses PAP (Password Authentication
Protocol)</A
></DT
><DD
><DL
><DT
>16.1. <A
HREF="pap.html#AEN994"
>Using MSCHAP</A
></DT
><DT
>16.2. <A
HREF="x1005.html"
>The PAP/CHAP secrets file</A
></DT
><DT
>16.3. <A
HREF="x1034.html"
>The PAP secrets file</A
></DT
><DT
>16.4. <A
HREF="x1053.html"
>The CHAP secrets file</A
></DT
><DT
>16.5. <A
HREF="x1071.html"
>Handling multiple PAP-authenticated connections</A
></DT
></DL
></DD
><DT
>17. <A
HREF="manual.html"
>Setting up the PPP connection manually</A
></DT
><DT
>18. <A
HREF="automate.html"
>Automating your connections - Creating the connection scripts</A
></DT
><DD
><DL
><DT
>18.1. <A
HREF="automate.html#AEN1173"
>Connection scripts for User name/Password Authentication</A
></DT
><DT
>18.2. <A
HREF="x1188.html"
>The ppp-on script</A
></DT
><DT
>18.3. <A
HREF="x1200.html"
>Editing the supplied PPP startup scripts</A
></DT
><DT
>18.4. <A
HREF="x1219.html"
>What a Chat script means...</A
></DT
><DT
>18.5. <A
HREF="x1285.html"
>A chat script for PAP/CHAP authenticated connections</A
></DT
><DT
>18.6. <A
HREF="x1290.html"
>The pppd <TT
CLASS="LITERAL"
>debug</TT
> and <TT
CLASS="LITERAL"
>file option_file</TT
> options</A
></DT
></DL
></DD
><DT
>19. <A
HREF="c1303.html"
>Testing your connection script</A
></DT
><DT
>20. <A
HREF="off.html"
>Shutting down the PPP link</A
></DT
><DT
>21. <A
HREF="c1329.html"
>Getting Help when totally stuck</A
></DT
><DT
>22. <A
HREF="c1337.html"
>Common Problems once the link is working</A
></DT
><DD
><DL
><DT
>22.1. <A
HREF="c1337.html#AEN1341"
>I can't see beyond the PPP server I connect to</A
></DT
><DT
>22.2. <A
HREF="x1354.html"
>I can send email, but not receive it</A
></DT
><DT
>22.3. <A
HREF="x1357.html"
>Why can't people finger, WWW, gopher, talk, etc. to my machine?</A
></DT
></DL
></DD
><DT
>23. <A
HREF="dynamic-server.html"
>Using Internet services with Dynamic IP numbers</A
></DT
><DD
><DL
><DT
>23.1. <A
HREF="dynamic-server.html#AEN1368"
>Setting up email</A
></DT
><DT
>23.2. <A
HREF="x1386.html"
>Setting Up a local Name server</A
></DT
></DL
></DD
><DT
>24. <A
HREF="wan.html"
>Linking two networks using PPP</A
></DT
><DD
><DL
><DT
>24.1. <A
HREF="wan.html#AEN1403"
>Setting up the IP numbers</A
></DT
><DT
>24.2. <A
HREF="x1410.html"
>Setting up the routing</A
></DT
><DT
>24.3. <A
HREF="x1418.html"
>Network security</A
></DT
></DL
></DD
><DT
>25. <A
HREF="ip-up.html"
>After the link comes up - the <TT
CLASS="LITERAL"
>/etc/ppp/ip-up</TT
> script</A
></DT
><DD
><DL
><DT
>25.1. <A
HREF="ip-up.html#AEN1442"
>Special routing</A
></DT
><DT
>25.2. <A
HREF="x1448.html"
>Handling email queues</A
></DT
><DT
>25.3. <A
HREF="x1455.html"
>A sample <TT
CLASS="LITERAL"
>/etc/ppp/ip-up</TT
> script</A
></DT
><DT
>25.4. <A
HREF="x1464.html"
>Handling email</A
></DT
></DL
></DD
><DT
>26. <A
HREF="c1477.html"
>Using <TT
CLASS="LITERAL"
>/etc/ppp/ip-down</TT
></A
></DT
><DT
>27. <A
HREF="c1482.html"
>Routing issues on a LAN</A
></DT
><DD
><DL
><DT
>27.1. <A
HREF="c1482.html#AEN1500"
>Note on Security</A
></DT
></DL
></DD
><DT
>28. <A
HREF="ppp-server.html"
>Setting up a PPP server</A
></DT
><DD
><DL
><DT
>28.1. <A
HREF="ppp-server.html#AEN1510"
>Kernel compilation</A
></DT
><DT
>28.2. <A
HREF="x1516.html"
>Overview of the server system</A
></DT
><DT
>28.3. <A
HREF="x1535.html"
>Getting the software together</A
></DT
><DT
>28.4. <A
HREF="x1547.html"
>Setting up standard (shell access) dialup.</A
></DT
><DT
>28.5. <A
HREF="x1552.html"
>Setting up the PPP options files</A
></DT
><DT
>28.6. <A
HREF="x1569.html"
>Setting pppd up to allow users to (successfully) run it</A
></DT
><DT
>28.7. <A
HREF="x1577.html"
>Setting up the global alias for pppd</A
></DT
></DL
></DD
><DT
>29. <A
HREF="direct.html"
>Using PPP across a null modem (direct serial) connection</A
></DT
><DT
>30. <A
HREF="c1609.html"
>PPPoE or PPP over Ethernet</A
></DT
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="f20.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>About This Document</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>