summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-04-02 18:30:58 +0000
committerDonny Davies <woodchip@gentoo.org>2002-04-02 18:30:58 +0000
commit1c56013c86d12e18e709a0fd3675c1d9a5806170 (patch)
treea408120fd26139b241476f10ea3f3d15c07e3aca /net-dialup/diald/files/diald.conf
parent1.8.11 (diff)
downloadhistorical-1c56013c86d12e18e709a0fd3675c1d9a5806170.tar.gz
historical-1c56013c86d12e18e709a0fd3675c1d9a5806170.tar.bz2
historical-1c56013c86d12e18e709a0fd3675c1d9a5806170.zip
new package
Diffstat (limited to 'net-dialup/diald/files/diald.conf')
-rw-r--r--net-dialup/diald/files/diald.conf38
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------------