Dialup Interfaces - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 8. Network Interfaces
This way a user can bring up the
because the configuration options from
While this is a very basic example, this method can be used with a variety of options and
interfaces.
The easiest way to create alias and clone interface configuration files is to use the graphical
Network Administration Tool. For more on using this tool, refer to the chapter called Network
Configuration in the Red Hat Enterprise Linux System Administration Guide.

2.5. Dialup Interfaces

If 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
number corresponding to a specific interface).
The PPP interface configuration file is created automatically when
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
DEVICE=ppp0 NAME=test WVDIALSECT=test MODEMPORT=/dev/modem LINESPEED=115200
PAPNAME=test USERCTL=true ONBOOT=no PERSIST=no DEFROUTE=yes PEERDNS=yes
DEMAND=no IDLETIMEOUT=600
Serial Line Internet Protocol (SLIP) is another dialup interface, although it is used less
frequently. SLIP files have interface configuration file names such as
Other options, not already discussed, that may be used in these files include:
DEFROUTE=<answer>
— Set this interface as the default route.
yes
— Do not set this interface as the default route.
no
, where
DEMAND=<answer>
— This interface allows
yes
— A connection must be manually established for this interface.
no
IDLETIMEOUT=<value>
interface disconnects itself.
INITSTRING=<string>
126
interface using the
eth0
ifcfg-eth0
file:
ifcfg-ppp0
, where
is one of the following:
<answer>
is one of the following:
<answer>
to initiate a connection when someone attempts to use it.
pppd
, where
is the number of seconds of idle activity before the
<value>
, where
is the initialization string passed to the modem
<string>
/sbin/ifup eth0-user
and
ifcfg-eth0-user
(where
ifcfg-ppp<X>
, the Network
wvdial
ifcfg-sl0
command
are combined.
is a unique
<X>
.

Advertisement

Table of Contents
loading

Table of Contents