30.11.2012 Views

Linux Networking Clearly Explained - lions-wing.net

Linux Networking Clearly Explained - lions-wing.net

Linux Networking Clearly Explained - lions-wing.net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 1 • CREATING A DIAL-UP INTERNET CONNECTION 37<br />

Now you are ready to move on to Chapter 2, where you<br />

will configure Netscape Communicator on your <strong>Linux</strong><br />

system. If you would like to learn more about the technical<br />

side of PPP connections with <strong>Linux</strong>, read the next<br />

section.<br />

Looking Under the Hood<br />

This section briefly introduces the technology that underlies<br />

PPP connections with <strong>Linux</strong>; in addition, it discusses<br />

some text-mode commands that you may wish to try. You<br />

do not need to have this information down cold to use<br />

<strong>Linux</strong> successfully; it is of interest only if you would like<br />

to learn more about how <strong>Linux</strong> works.<br />

The PPP Network Interface (ppp0)<br />

The PPP Daemon<br />

To connect your <strong>Linux</strong> system to the Inter<strong>net</strong>, it is necessary<br />

to define a <strong>net</strong>work interface. In brief, a <strong>net</strong>work<br />

interface is a file that serves as an intermediary between a<br />

<strong>net</strong>working device, such as an Ether<strong>net</strong> adapter or a<br />

modem, and the <strong>Linux</strong> kernel. When you connect to the<br />

Inter<strong>net</strong> by means of a modem, the PPP software detects<br />

your modem and creates a <strong>net</strong>work interface called ppp0.<br />

If your computer were equipped with more than one<br />

modem, the software would create additional interfaces<br />

(ppp1, ppp2, and so on).<br />

To implement PPP connections, <strong>Linux</strong> distributions make<br />

use of the pppd daemon (a daemon is a program that runs<br />

in the background, waiting to step into action when its<br />

services are needed). A pppd is not meant to be run manually;<br />

rather, it is launched by other programs. Among

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!