I need to change some configuration after a PPPoE connection has been established.
(Change /etc/resolv.conf, add routes.)
I made a script, moved it to the /etc/ppp/ip-up.d/ and made it executable, but it looks like it doesn't run. If I run it manually everything works fine, but I want this process being automated.
So for now I have to run sudo pon provider, and sudo /etc/ppp/ip-up.d/provider.cfg.
How to fix it?
touch /tmp/last-pppoe-connectionto the script? – Arjan Sep 18 '10 at 6:43