Post PPP connection commands

I would like to run a couple of programs up after my modem connects to my internet provider. I am using Mandrake 6.1 and the connection is established with "ifup ppp0". What script do I add my commands to in order to execute after I've connected and logged in?
Who is Participating?
htjConnect With a Mentor Commented:
Add your programs at the end of /etc/ppp/ip-up (or ip-up.local).

add after the line that starts pppd (remember if the line ends in a '\'  the next line is really part of it.

steve265Author Commented:
I tried executing the script from that file but pppd must be logged on to my provider for the script ot execute and that file is run during the log on process. I need a file that is runn after the logon is complete and I have my dynamic IP from my provider.
steve265Author Commented:
It worked. I created an ip-up.local and called the programs from there.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.