Thaks a lot for your help! The ip-up script is run each time, as you
thought, but the reason it didn't work was a really dumb fault of
mine: i forgot to set execute permissions on ip-up.local

Sorry for the inconvenience
Bernd
Clifford Kite <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> 0 <(E-Mail Removed)> wrote:
> >>
> >> /etc/ppp/ip-up.local
> >>
> >> Put whatever you want in that file & it'll happen.
>
> > Actually, I had tried this one out already but it didn't work. in
> > fact, I have the feeling it didn't even call ip-up .
>
> That's doubtful unless ip-up doesn't have read or execute permissions.
> You likely do need to have any programs called from ip-up specified with
> the full pathname.
>
> Check on whether or not it is executed by putting this line in
> /etc/ppp/ip-up:
>
> /bin/echo $4 > /tmp/local-ip\#
>
> Here I call a firewall-up script in ip-up to bring up the firewall, and
> tear it down by a call to a firewall-down script in ip-down. It's plain
> PPP, not PPPoE, but pppd should also execute these scripts when used to
> facilitate a PPPoE connection.