int13
05-16-2005, 04:52 PM
I have Slackware 10.1 , I use pppd and I need to execute a script after connect. I know that ip-up is the file which should contain the commands to execute after connect. But I didn't have any ip-up whatsoever in /etc/ppp. So I created one:
----------
#!/bin/bash
echo "connect"
----------
chmod +x it in order to be executable
I connected pppd but no echo appeared.
I renamed it to ip-up.local, but no eche after connect too.
I created a dir called /etc/ppp/ip-up.d and put the script there ...but again a filure.
The logs didn;t show anything wrong - no errors.
What's wrong!!! WTF?!?!?!?
Please help ME!!
----------
#!/bin/bash
echo "connect"
----------
chmod +x it in order to be executable
I connected pppd but no echo appeared.
I renamed it to ip-up.local, but no eche after connect too.
I created a dir called /etc/ppp/ip-up.d and put the script there ...but again a filure.
The logs didn;t show anything wrong - no errors.
What's wrong!!! WTF?!?!?!?
Please help ME!!