debug 24

linkname "fx"
linkdesc "FX Internet"

# Lock in use devices
lock

device /dev/ttyS1

modem
crtscts
speed 115200

mode ppp

authsimple	"/etc/diald/fx/auth"

accounting-log	"/var/log/diald.fx"
pidfile		"/var/run/diald.fx"
fifo		"/var/adm/diald/fx"
tcpport		10000

# Use fake addresses initially. Once FX has told us our real
# address we know it is static.
local		192.168.1.5
remote		192.168.1.4

# Subnet mask for the wan link
netmask 255.255.255.0

# The IP addresses will be asigned when connection starts.
dynamic 

# If link goes down by remote end, start it again only if there is
# outgoing packets.
two-way

# When link is up, route directly to the real ppp interface, not the proxy
# interface. Not to do this is a performance lost of about 20 per cent.
# There are old kernels that do not support reroute. See diald manual for
# more information
reroute

#sticky

pppd-options	noipdefault

# Diald will set up the default route the the SLIP interface used as proxy
# We can reach the world via FX...
defaultroute

# More or less standard stuff.
redial-timeout	30
died-retry-count 0
connect-timeout	600
#retry-count	3
#dial-fail-limit 10
start-pppd-timeout 120

pppd-options noauth user rodan@fx.ro

connect		"/usr/share/diald/connect"
include		"/usr/share/diald/filter/standard"
