> #this is for ppp0 configuration > auto ppp0 > iface ppp0 inet ppp > up /etc/iptables/iptables.sh start > provider dsl-provider > down poff -a > post-down /etc/iptables/iptables.sh stop
1. You don't need the "down" line. ifdown runs pon and poff for you. 2. The up and post-down commands don't work properly with ppp ifaces. See bug #127786. The problem is that ifup simply runs pon and then the "up" commands; pon returns immediately -- i.e., before pppd has finished bringing up the ppp connection -- so the "up" commands get run too early. A similar problem afflicts the "post-down" commands. Until this bug is fixed you have to put "up" commands into a script in /etc/ppp/ip-up.d/ and "post-down" commands into a script in /etc/ppp/ip-down.d/ . -- Thomas Hood <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]