Chapter 12. Network Scripts
161
yes
This device should be activated at boot time.
no
This device should not be activated at boot time.
PEERDNS= answer
, where
answer
is one of the following:
Z
[
Z
[
yes
Modify
/etc/resolv.conf
if the DNS directive is set. If you are using DCHP, then
yes
is the default.
no
Do not modify
/etc/resolv.conf
.
SRCADDR= address
, where
address
is the specified source IP address for outgoing
Z
[
Z
[
packets.
USERCTL= answer
, where
answer
is one of the following:
Z
[
Z
[
yes
Non root users are allowed to control this device.
no
Non root users are not allowed to control this device.
12.2.2. Dialup Interfaces
If you connect to the Internet via PPP dialup connection, you need a configuration file for that interface
as well.
This file is created automatically for you when you use
wvdial
, Network Administration Tool or
Kppp to create a dialup account. In addition, any changes to dialup account settings are reflected
in these interface configuration files. The Official Red Hat Linux Getting Started Guide contains in
structions for using these GUI based dialup connection tools. You can also create and edit this file
manually. A typical
ifcfg ppp0
files looks like this:
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 less commonly used.
SLIP files have interface configuration file names such as
ifcfg sl0
.
Among the options not already discussed that may be used in these files:
DEFROUTE= answer
, where
answer
is one of the following:
Z
[
Z
[
yes
Set this interface as the default route.
no
Do not set this interface as the default route.
DEMAND= answer
, where
answer
is one of the following:
Z
[
Z
[
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved