Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Guida di Installazione Pagina 163

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 162
Chapter 13. Network Scripts 163
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:
yes — Set this interface as the default route.
no — Do not set the interface as the default route.
DEMAND= answer , where answer is one of the following:
yes — This interface will allow pppd to initiate a connection when someone attempts to use it.
no — A connection must be manually established for this interface.
IDLETIMEOUT= value , where value is number of seconds of idle activity before the inter-
face will disconnect itself.
INITSTRING=
string , where string is the init string passed to the modem device. This
option is primarily used with SLIP interfaces.
LINESPEED=
value , where value is the baud rate of the device. Possible standard values
here include 57600, 38400, 19200, and 9600.
MODEMPORT=
device , where device is the name of the device that is used to establish the
connection for the interface.
MTU=
value , 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 will result in fewer dropped
packets and slightly improve the throughput for a connection.
NAME=
name , where name is the reference to the title given to a collection of dialup connec-
tion configurations.
PAPNAME=
name , where name is the username given during the Password Authentication
Protocol (PAP) exchange that occurs to allow you to connect to a remote system.
PEERDNS=
answer , where answer is one of the following:
yes — This interface will modify your system’s /etc/resolv.conf file entries to use the DNS
servers provided by the remote system when a connection is established.
Vedere la pagina 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 281 282

Commenti su questo manuale

Nessun commento