# 
# diald.conf for anathoth
#
# Select the demand dial rules you want
# Bring the link up for anything, timeout in seconds. Use this for 
# when the dompute has its own phone line
# accept any 420 any
# Use the filter file that comes with diald.  This can be a bit drastic, 
# so use the filter below
# include /usr/lib/diald/standard.filter
# or use the filter that brings the link up for use on a line shared with
# a phone
include /etc/diald/phone.filter

# stuff to set up the diald connection

# General options
mode ppp
accounting-log /var/log/diald.log
fifo /etc/diald/diald.ctl
pppd-options noauth passive ipcp-accept-local ipcp-accept-remote user nppp

#Device configuration
device /dev/ttyS1
device /dev/ttyF0
rotate-devices
speed 38400
modem
lock
crtscts

#Networking configuration

# We may get another terminal server, thus use
# 'dynamic' and do not tell PPP the IP number of the other end
# For use with gated, comment out the 'dynamic' option, and
# set remote to be the same as local
#dynamic
remote 192.168.15.2
local 192.168.15.249

# Delay sending packets for 5 seconds after PPP device opens - 
# this allows routes to be established back to the appropriate dialup server.
up-delay 5
#defaultroute
mtu 576
mru 576
window 2048

#Timeouts
redial-backoff-start 4
redial-backoff-limit 300
dial-fail-limit 10

connect /etc/diald/connect
#connect /etc/ppp/peers/call-etecsa
redial-timeout 10
# restrict 9:00:00 17:45:00 1 * *
# or-restrict 9:00:00 17:45:00 2 * *
# or-restrict 9:00:00 17:45:00 3 * *
# or-restrict 9:00:00 17:45:00 4 * *
# or-restrict 9:00:00 17:45:00 5 * *
# up
