14.2.5. Dialup Interfaces

14.2.5. Dialup Interfaces

If you are connecting to the Internet via a dialup connection, a configuration file is necessary for the interface.

PPP interface files are named using the following format:


where <X> is a unique number corresponding to a specific interface.

The PPP interface configuration file is created automatically when wvdial, the Network Administration Tool or Kppp is used to create a dialup account. It is also possible to create and edit this file manually.

The following is a typical ifcfg-ppp0 file:


Serial Line Internet Protocol (SLIP) is another dialup interface, although it is used less frequently. SLIP files have interface configuration file names such as ifcfg-sl0.

Other options that may be used in these files include:


where <answer> is one of the following:

  • yes — Set this interface as the default route.

  • no — Do not set this interface as the default route.


where <answer> is one of the following:

  • yes — This interface allows pppd to initiate a connection when someone attempts to use it.

  • no — A connection must be manually established for this interface.


where <value> is the number of seconds of idle activity before the interface disconnects itself.


where <string> is the initialization string passed to the modem device. This option is primarily used in conjunction with SLIP interfaces.


where <value> is the baud rate of the device. Possible standard values include 57600, 38400, 19200, and 9600.


where <device> is the name of the serial device that is used to establish the connection for the interface.


where <value> is the Maximum Transfer Unit (MTU) setting for the interface. The MTU refers to the largest number of bytes of data a frame can carry, not counting its header information. In some dialup situations, setting this to a value of 576 results in fewer packets dropped and a slight improvement to the throughput for a connection.


where <name> is the reference to the title given to a collection of dialup connection configurations.


where <name> is the username given during the Password Authentication Protocol (PAP) exchange that occurs to allow connections to a remote system.


where <answer> is one of the following:

  • yes — This interface should be kept active at all times, even if deactivated after a modem hang up.

  • no — This interface should not be kept active at all times.


where <address> is the IP address of the remote system. This is usually left unspecified.


where <name> associates this interface with a dialer configuration in /etc/wvdial.conf. This file contains the phone number to be dialed and other important information for the interface.

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.