On Mon, Jun 17, 2002 at 12:10:59AM -0400, tvn1981 wrote: > Hello, I have dialup and ip masq to share my dial up connection among my > personal network. The problem is when I stop the connection, and redial > again, I 'have' to rerun the rc.firewall in order for ipmasq to work. > > Is this a normal behavior ? Is there anyway so that I don't have to > re-run rc.firewall everytime I redial ?
You can put scripts (or links to scripts) in /etc/ppp/ip-up.d which are run when your dialup connection comes up. Similarly, scripts in /etc/ppp/ip-down.d are run when the connection drops. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]