config_eth0=( null ) config_ppp0=( ppp ) #Available plugins: pppoe, pppoa, capiplugin, etc. plugins_ppp0=( pppoe ) #Transport channel: interface name for PPPoE/PPPoA links or serial line for dial-up links (e.g. /dev/ttyS0) link_ppp0="eth0" username_ppp0="adsl" password_ppp0="pass" pppd_ppp0=( # #Enables connection debugging facilities through syslog with facility daemon and level debug # "debug" #Do not require the peer to authenticate itself "noauth" # #if you wanna set the default route to the peer, uncomment following line # "defaultroute" # #set it when you want to use peer DNS entries # #/etc/resolv.conf will be changed when link goes up # #and restored to the previous content when link goes down # "usepeerdns" #uncomment following line for on-demand links #idle - the link will go down after n seconds of inactivity #: - phony initial IP addresses (at least remote address must be set) #ipcp-accept-* - accepts peer's idea of local/remote address #demand idle 60 10.112.112.112:10.112.112.113 ipcp-accept-remote ipcp-accept-local" #holdoff = Specifies how many seconds to wait before re-initiating the link after it terminates #lcp-echo-interval = Send a LCP echo request frame to the peer at every n seconds #lcp-echo-failure = The peer will be presumed dead after n consecutive unreplied echo frames "holdoff 3 lcp-echo-interval 15 lcp-echo-failure 3" # #this options disable compression completely # "noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp" ############Following options are only for normal PPP links (aka dial-up) on serial links ################ # #lock serial port # "lock" # #set serial port baud rate # "115200" # #enable hard flow control # "modem crtscts" # #set IP local addres and/or IP remote address # #usually these settings should be received from peer # "192.168.0.1:192.168.0.2" ) ############Following settings are only for dial-up PPP links ################ #Dial-up only settings phone_number_ppp0=( '12345689' ) #maximum 2 phone numbers are supported; if you need more, add them to chat options chat_ppp0=( 'ABORT' 'BUSY' 'ABORT' 'ERROR' 'ABORT' 'NO ANSWER' 'ABORT' 'NO CARRIER' 'ABORT' 'NO DIALTONE' 'ABORT' 'Invalid Login' 'ABORT' 'Login incorrect' 'TIMEOUT' '5' '' 'ATZ' # 'OK' 'AT' #Put here your modem initialization string 'OK' 'ATDT\T' 'TIMEOUT' '60' # 'OK' 'ATDT\U' #uncomment it when you need to send a 2nd telephone number 'CONNECT' '' 'TIMEOUT' '5' '~--' '' )