Click to See Complete Forum and Search --> : ip-up can't start


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!!

bigrigdriver
05-16-2005, 09:51 PM
Read this (http://gus-br.linuxmag.com.br/pt/config/ppp.html) . It tells you how to use pppsetup (a slackware utility, I think) to set up ppp.

int13
05-17-2005, 01:45 AM
Hi again,
as I'm using rp-pppoe and it says in it's manual not to touch any pppd conf files, I will not touch them because the connection is fine, but I'm only concerned bout this ip-up thnig. Any other suggestions?