/[vps]/baselayout-vserver/trunk/net-scripts/conf.d/net.example
Gentoo

Diff of /baselayout-vserver/trunk/net-scripts/conf.d/net.example

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 64 Revision 65
335# This is exactly the same as a depend() function in our init scripts 335# This is exactly the same as a depend() function in our init scripts
336#depend_br0() { 336#depend_br0() {
337# need net.eth0 net.eth1 337# need net.eth0 net.eth1
338#} 338#}
339 339
340
341#-----------------------------------------------------------------------------
342# PPP
343# For PPP support, emerge net-dialup/ppp
344# PPP is used for most dialup connections, including ADSL.
345# The older ADSL module is documented below, but you are encouraged to try
346# this module first.
347#
348# You need to create the PPP net script yourself. Make it like so
349#cd /etc/init.d
350#ln -s net.lo net.ppp0
351#
352# Each PPP interface requires an interface to use as a "Link"
353#link_ppp0="eth0" # PPPoE requires an ethernet interface
354#link_ppp0="/dev/ttyS0" # Most PPP links will use a serial port
355#
356# PPP requires at least a username. You can optionally set a password here too
357# If you don't, then it will use the password specified in /etc/ppp/*-secrets
358# against the specified username
359#username_ppp0="user"
360#password_ppp0="password"
361#
362# The PPP daemon has many options you can specify - although there are many
363# and may seem daunting, it is recommended that you read the ppp man page
364# before enabling any of them
365#pppd_ppp0=(
366# "debug" # Enables syslog debugging
367# "noauth" # Do not require the peer to authenticate itself
368# "defaultroute" # Make this PPP interface the default route
369# "userpeerdns" # Use the DNS settings provided by PPP
370#
371# On demand options
372# "demand" # Enable dial on demand
373# "idle 30" # The link will go down after 30 seconds of inactivity
374# "10.112.112.112:10.112.112.113" # Phony IP addresses
375# "ipcp-accept-remote" # Accept the peers idea of remote address
376# "ipcp-accept-local" # Accept the peers idea of local address
377# "holdoff 3" # Wait 3 seconds after link dies before re-starting
378# "lcp-echo-interval 15" # Send a LCP echo every 15 seconds
379# "lcp-echo-failure 3" # Make peer dead after 3 seconds of in-activity
380#
381# Compression options - use these to completely disable compression
382# "noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp"
383#
384# Dial-up settings
385# "lock" # Lock serial port
386# "115200" # Set the serial port baud rate
387# "modem crtscts" # Enable hardware flow control
388# "192.168.0.1:192.168.0.2" # Local and remote IP addresses
389#)
390#
391# Dial-up PPP users need to specify a telephone number
392#phone_number_ppp0=( "12345689" )
393# They will also need a chat script - here's a good one
394#chat_ppp0=(
395# 'ABORT' 'BUSY'
396# 'ABORT' 'ERROR'
397# 'ABORT' 'NO ANSWER'
398# 'ABORT' 'NO CARRIER'
399# 'ABORT' 'NO DIALTONE'
400# 'ABORT' 'Invalid Login'
401# 'ABORT' 'Login incorrect'
402# 'TIMEOUT' '5'
403# '' 'ATZ'
404# 'OK' 'AT' # Put your modem initialization string here
405# 'OK' 'ATDT\T'
406# 'TIMEOUT' '60'
407# 'CONNECT' ''
408# 'TIMEOUT' '5'
409# '~--' ''
410#)
411
340#----------------------------------------------------------------------------- 412#-----------------------------------------------------------------------------
341# ADSL 413# ADSL
342# For ADSL support, emerge net-dialup/rp-pppoe 414# For ADSL support, emerge net-dialup/rp-pppoe
415# WARNING: This ADSL module is being deprecated in favour of the PPP module
416# above.
343# You should make the following settings and also put your 417# You should make the following settings and also put your
344# username/password information in /etc/ppp/pap-secrets 418# username/password information in /etc/ppp/pap-secrets
345 419
346# Configure the interface to use ADSL 420# Configure the interface to use ADSL
347#config_eth0=( "adsl" ) 421#config_eth0=( "adsl" )

Legend:
Removed from v.64  
changed lines
  Added in v.65

  ViewVC Help
Powered by ViewVC 1.1.20