At 11:23 AM 7/29/2007 -0500, JD Bronson wrote:
At 06:11 PM 7/29/2007 +0200, Matthias Kilian wrote:
On Sun, Jul 29, 2007 at 09:48:29AM -0500, JD Bronson wrote:
> My question is, is there a way to politely shut down the pppoe0
> interface during a reboot?
Sure. Add
ifconfig pppoe0 down
to your /etc/rc.shutdown.
I will test this. I am not sure it will help, but I doubt
it will hurt!
-JD
A combination of both of these works perfect.
/etc/rc.shutdown:
/sbin/ifconfig pppoe0 down
/bin/sleep 8
and then adding this to the kernel config:
option PPPOE_TERM_UNKNOWN_SESSIONS
..these both seem to work great together.
The option value will help on reboot but still takes a few tries
(faster auth than without this though) - using just config auth takes
about 1min or more.
but killing the pppoe nicely before rebooting seems to have the best effect.
With both, auth is within 10 seconds.
-JD