summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2001-09-12 19:35:32 +0000
committerbrian <brian@cvs.openbsd.org>2001-09-12 19:35:32 +0000
commit0ade34e7a36363a0fc16fd6366435456348839c8 (patch)
tree5ee69a3db552a406b40b06a476e6ab6911113785
parent349bf126cd9c4c9ef5e60780523a63d65a3ba54a (diff)
An example of how to do PPPoE
-rw-r--r--etc/ppp/ppp.conf.sample13
1 files changed, 11 insertions, 2 deletions
diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample
index afa993816de..5027e500beb 100644
--- a/etc/ppp/ppp.conf.sample
+++ b/etc/ppp/ppp.conf.sample
@@ -4,7 +4,7 @@
#
# Originally written by Toshiharu OHNO
#
-# $OpenBSD: ppp.conf.sample,v 1.19 2001/07/02 12:24:44 brian Exp $
+# $OpenBSD: ppp.conf.sample,v 1.20 2001/09/12 19:35:31 brian Exp $
#
#################################################################
@@ -502,7 +502,6 @@ dialback:
# same time. The `dial' command may also be prefixed with a specific
# link that should do the dialing.
#
-
mloop:
load loop
set mode interactive
@@ -520,3 +519,13 @@ mloop-in:
allow mode direct
set mrru 1500
set mru 1504 # Room for the MP header
+
+# A PPPoE (PPP over Ethernet) setup may look like this:
+#
+pppoe:
+ set device "!/usr/sbin/pppoe"
+ set mtu max 1492
+ set mru max 1492
+ set speed sync
+ disable acfcomp protocomp
+ deny acfcomp