Chapter 14. Serial Modem configuration

Revision History
Revision 0.42004-05-04ES
Update for leaf.cfg
Revision 0.32004-03-06ES
Update for Bering-uClibc
Revision 0.22002-04-14JN
corrected and edited
Revision 0.12002-03-15JN
initial revision

Table of Contents

Objectives
Step 1: declare the ppp package
Step 2: declare the ppp modules
Step 3: configure ppp
Step 4: configure your interfaces file
Step 5: configure Shorewall
Step 6: Make the connection persistent (optional)
Step 7: reboot...
ppp-filter.lrp

Objectives

We assume here that you can only get connected to internet through a serial modem connection and that you want to share that connection with other (internal) computers in your home or office. What follows describe the configuration of this dial-up modem router. Your external interface (to the internet) will be ppp0, your internal interface (to your internal network) is supposed to be done through an ethernet network card (eth0).

The PPP-Howto is a useful reference for this section.

Comments on this section should be addressed to its maintainer: Eric Spakman . Thanks to Lee who provided useful additions to this section.

Bering-uClibc comes with two ppp daemons, one with filter support and one without. The ppp.lrp package on the base image contains the ppp daemon without filter support. The ppp-filter.lrp package can be used for demand-dialing mode and needs the libpcap.lrp package. Before using the filter version, the package needs to be renamed to ppp.lrp.

The ppp source is version 2.4.2 and supports ipv6, mschapv2, mppe and optional pppoe or pppoatm with plugins