Kwon wrote: > Hello, > I had a situation yesterday after a reboot (uClibc 2.2.0) and Shorewall > did not start properly? > In the /var/log/message log: > > <snip> > Nov 21 14:00:28 ns1 root: Shorewall Stopped > <EOF> > > I did a manual `/etc/init.d/shorewall restart` and everything was fine! > I think my DSL modem was not up yet and that caused the Shorewall > Stopped condition.
Quite probable, I have observed a number of times the same behaviour for DSL. > The question is how can I or what is the best way to check for the > Shorewall “Stopped” condition after an unattended reboot? AFIK shorewall wants to know (detect) the addresse of the external interface in order to start. I usually add a script to /etc/init.d which just loops a few times unless a default gateway is available. If it times out we have worse network problems anyway. This script typically runs before shorewall or any other network dependent scripts are started. cheers Erich ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
