From afbcb9f6b01d9c6ba60fa8f01d8b23a77b3261a2 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Mon, 30 May 2011 11:40:41 +0400 Subject: updated man and example config file for chap-secrets documentation --- accel-pppd/accel-ppp.conf | 4 ++++ accel-pppd/accel-ppp.conf.5 | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/accel-pppd/accel-ppp.conf b/accel-pppd/accel-ppp.conf index bc295c4..1f3e7f8 100644 --- a/accel-pppd/accel-ppp.conf +++ b/accel-pppd/accel-ppp.conf @@ -112,6 +112,10 @@ ip-change=/etc/ppp/ip-change radattr-prefix=/var/run/radattr verbose=1 +[chap-secrets] +gw-ip-address=192.168.100.1 +#chap-secrets=/etc/ppp/chap-secrets + [tbf] #attr=Filter-Id #down-burst-factor=0.1 diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5 index 2410e80..1c12078 100644 --- a/accel-pppd/accel-ppp.conf.5 +++ b/accel-pppd/accel-ppp.conf.5 @@ -386,6 +386,16 @@ Prefix of radattr files (for example /var/run/radattr, resulting files will be / .BI "verbose=" n If specified and greated then zero pppd_module will produce verbose logging. .TP +.SH [chap-secrets] +.br +Configuration of chap-secrets module. +.TP +.BI "gw-ip-address=" x.x.x.x +Specifies address to use as local address of ppp interfaces if chap-secrets is used for IP address assignment. +.TP +.BI "chap-secrets=" file +Specifies alternate chap-secrets file location (default is /etc/ppp/chap-secrets). +.TP .SH [ip-pool] .br Configuration of ippool module. -- cgit v1.2.3