linux-avmb1:PPPD: executing script when pppd comes up
Marco Goebenich
mg at vierzehn.com
Fri Jan 14 11:25:03 CET 2005
Jan Schubert schrieb:
> There are several script option to pppd but there seems to be none for
> exectuting a script when pppd starts up. The init and connect options
> are used when the line/connection is activated (BTW: What is the
> difference betwenn the two of them?). Is there any chance to start a
> script when initializing pppd? This script should initialize some
> routing stuff for instance...
Hi!
In /etc/pppd/. are 2 files ip-up and ip-down, ip-up is executed when ppp
connection is established, ip-down is executed on link down.
That should be all that you need.
Regards
Marco
--
vierzehn Bahnhofstr. 27 Telefon 0 26 32 / 98 98 - 120
public relations 56626 Andernach Telefax 0 26 32 / 98 98 - 111
GmbH & Co. KG E-Mail: mg at vierzehn.com
More information about the linux-avmb1
mailing list