On 15 Feb 2001, at 4:07, Kenneth Hadley wrote:

> I'm not sure how many on this list are aware how I was able to get PPPoE to
> run correctly under Eigerstein and why I would like to come up with a
> cleaner solution....

> Basically the main problem under PPPoE was getting the interface to come up
> before the firewall rules are in place [...]

> Method 1
> /init.d/pppoe file
> Have a pppoe script in /init.d/ that runs the "adsl-start" command and then
> a "svi network ipfilter reload" which if I understand correctly will reload
> the firewall rules...

Almost... but this invites an infinite loop.  Why not just create 
/etc/init.d/pppoe and order it in the startup process so that it runs 
before the firewall rules?

Look at the other files in /etc/init.d and see how they use 
"RCDLINKS=" and add one of these lines to /etc/init.d/pppoe so that 
pppoe is ordered after the network is loaded but before the firewall.

Also, make sure that the script understands parameters:

start: start PPPoE
stop: stop PPPoE
restart <if needed>: stop, pause if needed, start
<nothing>: usage

The other files in /etc/init.d should help you understand this better.

-- 
David Douthitt
UNIX Systems Administrator
HP-UX, Linux, Unixware
[EMAIL PROTECTED]

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to