diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dialup/diald/files/diald.conf |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dialup/diald/files/diald.conf')
-rw-r--r-- | net-dialup/diald/files/diald.conf | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-dialup/diald/files/diald.conf b/net-dialup/diald/files/diald.conf new file mode 100644 index 000000000000..9bbda2aa59a4 --- /dev/null +++ b/net-dialup/diald/files/diald.conf @@ -0,0 +1,38 @@ +# sample diald.conf + +# if Internet Access Type is modem +# ---------begin-section---------- +mode ppp +connect "/usr/sbin/chat -v -f /etc/network-scripts/chat-ppp0" +device /dev/modem +speed 115200 +modem +lock +crtscts +# ---------end-section------------ +# + +# if Internet Access Type is ISDN +# ---------begin-section---------- +# mode dev +# connect "/bin/sh /etc/network-scripts/net_cnx_up" +# disconnect "/bin/sh /etc/network-scripts/net_cnx_down" +# device ippp0 +# ---------end-section------------ + +local 10.0.0.2 +remote 10.0.0.3 +dynamic +defaultroute +connect-timeout 90 +redial-timeout 10 +retry-count 3 +include /etc/diald/diald.filter +fifo /var/cache/diald/diald.ctl +# +# you can start any script when interface up or down +# sample with bastille +# ---------begin-section---------- +#ip-up /sbin/bastille-firewall-reset +#ip-down /sbin/bastille-firewall-reset +# ---------end-section------------ |