Link to home
Start Free TrialLog in
Avatar of steve265
steve265

asked on

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?
Avatar of rwenzla
rwenzla

/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.

Avatar of steve265

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of htj
htj

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It worked. I created an ip-up.local and called the programs from there.