49 lines
2.6 KiB
Plaintext
49 lines
2.6 KiB
Plaintext
# /etc/conf.d/net.ppp0:
|
|
|
|
# Config file for /etc/init.d/net.ppp0
|
|
|
|
PEER="MyPeer" # Define peer (aka ISP)
|
|
DEBUG="no" # Turn on debugging
|
|
PERSIST="no" # Redial after being dropped
|
|
ONDEMAND="no" # Only bring the interface up on demand?
|
|
MODEMPORT="/dev/ttyS1" # TTY device modem is connected to
|
|
LINESPEED="115200" # Speed pppd should try to connect at
|
|
INITSTRING="" # Extra init string for the modem
|
|
DEFROUTE="yes" # Must pppd set the default route?
|
|
HARDFLOWCTL="yes" # Use hardware flow control?
|
|
ESCAPECHARS="yes" # Use escape caracters ?
|
|
PPPOPTIONS="" # Extra options for pppd
|
|
USERNAME="user" # The PAP/CHAP username
|
|
PASSWORD="passwd" # Your password/secret. Ugly I know, but i
|
|
# will work on something more secure later
|
|
# on. 700 permission on /etc/init.d/net.ppp0
|
|
# should be enouth for now.
|
|
NUMBER="9180000" # The telephone number of your ISP
|
|
# leave blank for leased-line operation.
|
|
REMIP="" # The ip of the remote box if it should be set
|
|
NETMASK="" # Netmask
|
|
IPADDR="" # Our IP if we have a static one
|
|
MRU="768" # Sets the MRU
|
|
MTU="768" # Sets the MTU
|
|
RETRYTIMEOUT="60" # Retry timeout for when ONDEMAND="yes" or
|
|
# PERSIST="yes"
|
|
IDLETIMEOUT="600" # Idle timeout for when ONDEMAND="yes"
|
|
PEERDNS="no" # Should pppd set the peer dns?
|
|
|
|
AUTOCFGFILES="yes" # By default this scripts will generate
|
|
# /etc/ppp/chat-isp, /etc/ppp/chap-secrets,
|
|
# /etc/ppp/pap-secrets and /etc/ppp/peers/isp
|
|
# automatically. Set to "no" if you experience
|
|
# problems, or need specialized scripts. You
|
|
# will have to create these files by hand then.
|
|
|
|
AUTOCHATSCRIPT="yes" # By default this script iwll generate
|
|
# /etc/ppp/chat-${PEER} automatically. Set to "no"
|
|
# if you experience problems, or need specialized
|
|
# scripts. You will have to create these files by
|
|
# hand then.
|
|
|
|
|
|
# Directory where the templates is stored
|
|
TEMPLATEDIR=/etc/ppp
|