31. PPP
31.1 Overview
1. Point-to-Point Protocol.
2. Typically used by dial-up users.
3. Packages
o ppp – Provides pppd daemon and other tools necessary to setup a ppp client or server.
o rp-pppoe – Required for ADSL connections that run PPP over Ethernet.
o wvdial – wvdial is an easy to use ppp client configuration tool.
o mgetty – Needed for a pppd server to listen on a serial port.
31.2 Client Configuration
1. Use wvdial to configure the client.
2. wvdial automatically detects and configures your modem.
3. Configuration Steps:
o As root, execute: /usr/bin/wvdialconf /etc/wvdial.conf – This creates the configuration file for wvdial based on your modem.
o Edit /etc/wvdial.conf and specify the phone number, login name, and password that’s needed to login to your ISP. Uncomment the 3 lines that already exist for this purpose and fill in the necessary information.
4. Connecting to your ISP
To connect to your ISP, all you need to do is execute /usr/bin/wvdial
31.3 Server Configuration
1. General pppd configuration options are placed in /etc/ppp/*
2. Configure mgetty to listen on your serial port. In /etc/inittab put the an entry similar to the following:
3. ppp0:35:respawn:/sbin/mingetty ttyS0
This tells mgetty to listen on serial port /dev/ttyS0.
4. Then, you must tell mgetty to perform automatic PPP negotiation. Put the following line in /etc/mgetty+sendfax/login.conf:
5. /AutoPPP/ – – /usr/sbin/pppd auth -chap +pap login

Download the Ensurepass Latest 2013 RHCE EX300 Practise Test PDF to pass RHCE EX300 exam.

Comments are closed.