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?
LVL 1
steve265Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rwenzlaCommented:
/etc/sysconfig/network-scripts/ifup-ppp

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

0
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.
0
htjCommented:
Add your programs at the end of /etc/ppp/ip-up (or ip-up.local).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
steve265Author Commented:
It worked. I created an ip-up.local and called the programs from there.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.