Re: ip-up script won't fire after conection !!SOLVED!!

1999-01-20 Thread Martin Bialasinski
>> "JS" == Jorge Sousa <[EMAIL PROTECTED]> writes: JS> I was being stubborn on wanting to print on screen the parameters JS> that are sent to these script, the /dev/null hint and both Martin JS> and Shaleh last replies show me how to see the results I JS> pretended. If you really want output, yo

Re: ip-up script won't fire after conection !!SOLVED!!

1999-01-20 Thread Jorge Sousa
all of you were right, the scripts were running all the time I was to dumb to find out the solution. I was being stubborn on wanting to print on screen the parameters that are sent to these script, the /dev/null hint and both Martin and Shaleh last replies show me how to see the results I pretende

Re: ip-up script won't fire after conection

1999-01-20 Thread Shaleh
> > Hmmm?? this is a beginer's question, but how to avoid the output from being > redirected to /dev/null? > There is no good way. If you need the scripts to tell you something, have them store it in a file. the ppp scripts could be run via an X app, so you would not see them anyway. It also

Re: ip-up script won't fire after conection

1999-01-20 Thread Jorge Sousa
>>> "JS" == Jorge Sousa <[EMAIL PROTECTED]> writes: > >JS> And I'm able to run both ip-ip/ip-down scripts. > >So what makes you think they are not run when you dial in? I'm echoing the $* and not getting any feedback. >You know that they run with redirected stdout and stderr to /dev/null? No.

Re: ip-up script won't fire after conection

1999-01-20 Thread Jorge Sousa
>Jorge Sousa writes: >> I can dial to my ISP without any trouble but the /etc/ppp/ip-up and ip-down >> scripts never fire . > >Are you sure they are not running? They are run with stdout redirected to >/dev/null, so you won't see any output. >-- >John Hasler >[EMAIL PROTECTED] (John Hasler) >Danc

Re: ip-up script won't fire after conection

1999-01-20 Thread Martin Bialasinski
>> "JS" == Jorge Sousa <[EMAIL PROTECTED]> writes: JS> And I'm able to run both ip-ip/ip-down scripts. So what makes you think they are not run when you dial in? You know that they run with redirected stdout and stderr to /dev/null? Insert a "touch /tmp/i.am.up" into ip-up to check if they are

Re: ip-up script won't fire after conection

1999-01-20 Thread John Hasler
Jorge Sousa writes: > I can dial to my ISP without any trouble but the /etc/ppp/ip-up and ip-down > scripts never fire . Are you sure they are not running? They are run with stdout redirected to /dev/null, so you won't see any output. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse

Re: ip-up script won't fire after conection

1999-01-20 Thread Jorge Sousa
>> Any hint?? > >Make sure that logging is enabled in the ppp conf files and then look in the >log files for any errors. Also, did you try running the scripts yourself? Do >they run happily? > Logging is on, and i'm not getting any errors, the last 4 lines of /var/log/messages say .Conne

Re: ip-up script won't fire after conection

1999-01-20 Thread Shaleh
> Any hint?? Make sure that logging is enabled in the ppp conf files and then look in the log files for any errors. Also, did you try running the scripts yourself? Do they run happily?

Re: ip-up script won't fire after conection

1999-01-20 Thread Jorge Sousa
>Why are you not using the Debian provided pon/poff scripts? Cause I'm a fool, I didn't knew about these scripts until you now. OK, now I´m doing it through pon/poff >Make sure the >scripts in /etc/ppp/ip-{up,down} have chmod +x and no syntax errors, they may >be running and dying. /etc/ppp/i

RE: ip-up script won't fire after conection

1999-01-20 Thread Shaleh
On 20-Jan-99 Jorge Sousa wrote: > Hi all, > > > I can dial to my ISP without any trouble but the /etc/ppp/ip-up and ip-down > scripts never fire . > > I'm using a ppp-on and ppp-off scripts to start/close the connection, > these are just normal ppp scripts. > > thanks in advance for any hint

ip-up script won't fire after conection

1999-01-20 Thread Jorge Sousa
Hi all, I can dial to my ISP without any trouble but the /etc/ppp/ip-up and ip-down scripts never fire . I'm using a ppp-on and ppp-off scripts to start/close the connection, these are just normal ppp scripts. thanks in advance for any hint. Jorge Sousa -