[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: executing command after dial-in



* Jochen Kächelin <jk@linux.amsjk.de>, 2002-09-02 09:06 -0400:
> I put the following in /etc/ppp/ip-up.d/homeip:
> 
> lynx -dump http:/xxxxxxxx/homeip.php
> 
> It will execute a small php-Script which stores my dynamic IP
> from my provider in a MySQL-Database so that I know my homeip.
> 
> But the script does not execute.
> 
> When  I  execute  it  from  the shell with ./homeip everything works
> fine!! I connect to the internet with pon dsl.provider (German DSL).

Are you executing it as user or as root?

-Andre

Attachment: pgpylwWJSNsaP.pgp
Description: PGP signature


Reply to: