mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
75a4a592e5
Mon Apr 25 13:37:00 UTC 2011 Slackware 13.37 x86_64 stable is released! Thanks to everyone who pitched in on this release: the Slackware team, the folks producing upstream code, and linuxquestions.org for providing a great forum for collaboration and testing. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. As always, thanks to the Slackware community for testing, suggestions, and feedback. :-) Have fun!
166 lines
5.5 KiB
HTML
166 lines
5.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta name="generator" content="HTML Tidy, see www.w3.org" />
|
|
<title>PPP</title>
|
|
<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" />
|
|
<link rel="HOME" title="Slackware Linux Essentials" href="index.html" />
|
|
<link rel="UP" title="Network Configuration" href="network-configuration.html" />
|
|
<link rel="PREVIOUS" title="TCP/IP Configuration"
|
|
href="network-configuration-tcpip.html" />
|
|
<link rel="NEXT" title="Wireless" href="network-configuration-wireless.html" />
|
|
<link rel="STYLESHEET" type="text/css" href="docbook.css" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
</head>
|
|
<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"
|
|
alink="#0000FF">
|
|
<div class="NAVHEADER">
|
|
<table summary="Header navigation table" width="100%" border="0" cellpadding="0"
|
|
cellspacing="0">
|
|
<tr>
|
|
<th colspan="3" align="center">Slackware Linux Essentials</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="10%" align="left" valign="bottom"><a href="network-configuration-tcpip.html"
|
|
accesskey="P">Prev</a></td>
|
|
<td width="80%" align="center" valign="bottom">Chapter 5 Network Configuration</td>
|
|
<td width="10%" align="right" valign="bottom"><a
|
|
href="network-configuration-wireless.html" accesskey="N">Next</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<hr align="LEFT" width="100%" />
|
|
</div>
|
|
|
|
<div class="SECT1">
|
|
<h1 class="SECT1"><a id="NETWORK-CONFIGURATION-PPP" name="NETWORK-CONFIGURATION-PPP">5.4
|
|
PPP</a></h1>
|
|
|
|
<p>Many people still connect to the Internet through some kind of dialup connection. The
|
|
most common method is PPP, though SLIP is still occasionally used. Setting up your system
|
|
to speak PPP to a remote server is pretty easy. We've included a few tools to help you in
|
|
setting it up.</p>
|
|
|
|
<div class="SECT2">
|
|
<h2 class="SECT2"><a id="AEN1954" name="AEN1954">5.4.1 <tt
|
|
class="COMMAND">pppsetup</tt></a></h2>
|
|
|
|
<p>Slackware includes a program called <tt class="COMMAND">pppsetup</tt> to configure
|
|
your system to use your dialup account. It shares a look and feel similar to our <tt
|
|
class="COMMAND">netconfig</tt> program. To run the program, make sure you are logged in
|
|
as root. Then type <tt class="COMMAND">pppsetup</tt> to run it. You should see a screen
|
|
like this:</p>
|
|
|
|
<p>The program will present a series of questions, to which you will feed it appropriate
|
|
answers. Things like your modem device, the modem initialization string, and the ISP
|
|
phone number. Some items will have a default, which you can accept in most cases.</p>
|
|
|
|
<p>After the program runs, it will create a <tt class="COMMAND">ppp-go</tt> program and a
|
|
<tt class="COMMAND">ppp-off</tt> program. These are used to start and stop, respectively,
|
|
the PPP connection. The two programs are located in <tt class="FILENAME">/usr/sbin</tt>
|
|
and need root privileges to run.</p>
|
|
</div>
|
|
|
|
<div class="SECT2">
|
|
<h2 class="SECT2"><a id="AEN1969" name="AEN1969">5.4.2 <tt
|
|
class="FILENAME">/etc/ppp</tt></a></h2>
|
|
|
|
<p>For most users, running <tt class="COMMAND">pppsetup</tt> will be sufficient. However,
|
|
there may be an instance where you want to tweak some of the values used by the PPP
|
|
daemon. All of the configuration information is kept in <tt
|
|
class="FILENAME">/etc/ppp</tt>. Here is a list of what the different files are for:</p>
|
|
|
|
<div class="INFORMALTABLE"><a id="AEN1975" name="AEN1975"></a>
|
|
<table border="0" frame="void" class="CALSTABLE">
|
|
<col width="1*" />
|
|
<col width="3*" />
|
|
<tbody>
|
|
<tr>
|
|
<td><tt class="COMMAND">ip-down</tt></td>
|
|
<td>
|
|
<p>This script is run by <tt class="COMMAND">pppd</tt> after the PPP connection is
|
|
ended.</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><tt class="COMMAND">ip-up</tt></td>
|
|
<td>
|
|
<p>This script is run by <tt class="COMMAND">pppd</tt> when there's a successful ppp
|
|
connection. Put any commands you want run after a successful connection in this file.</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><tt class="FILENAME">options</tt></td>
|
|
<td>
|
|
<p>General configuration options for <tt class="COMMAND">pppd</tt>.</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><tt class="FILENAME">options.demand</tt></td>
|
|
<td>
|
|
<p>General configuration options for <tt class="COMMAND">pppd</tt> when run in demand
|
|
dialing mode.</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><tt class="COMMAND">pppscript</tt></td>
|
|
<td>
|
|
<p>The commands sent to the modem.</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><tt class="FILENAME">pppsetup.txt</tt></td>
|
|
<td>
|
|
<p>A log of what you entered when you ran <tt class="COMMAND">pppsetup</tt>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="NOTE">
|
|
<table class="NOTE" width="100%" border="0">
|
|
<tr>
|
|
<td width="25" align="CENTER" valign="TOP"><img src="./imagelib/admon/note.png"
|
|
hspace="5" alt="Note" /></td>
|
|
<td align="LEFT" valign="TOP">
|
|
<p>Most of these files won't be there until after you run <tt
|
|
class="COMMAND">pppsetup</tt>.</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="NAVFOOTER">
|
|
<hr align="LEFT" width="100%" />
|
|
<table summary="Footer navigation table" width="100%" border="0" cellpadding="0"
|
|
cellspacing="0">
|
|
<tr>
|
|
<td width="33%" align="left" valign="top"><a href="network-configuration-tcpip.html"
|
|
accesskey="P">Prev</a></td>
|
|
<td width="34%" align="center" valign="top"><a href="index.html"
|
|
accesskey="H">Home</a></td>
|
|
<td width="33%" align="right" valign="top"><a href="network-configuration-wireless.html"
|
|
accesskey="N">Next</a></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="33%" align="left" valign="top">TCP/IP Configuration</td>
|
|
<td width="34%" align="center" valign="top"><a href="network-configuration.html"
|
|
accesskey="U">Up</a></td>
|
|
<td width="33%" align="right" valign="top">Wireless</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|