Bill Jonas on Thu, 25 May 2000 17:01:29 -0400 (EDT)


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

Re: [PLUG] Running a program after kppp makes a connection


On Thu, 25 May 2000, Michael C. Toren wrote:

>Assuming that kppp is an interface to the standard ppp daemon, you can use
>some of pppd's builtin functionality for this.  Try searching for "ip-up"
>in the pppd man page.

The ip-up script was one of the first things I tried.  There is a
directory under /etc/ppp called ip-up.d, and everything in this
directory is ran via

run-parts /etc/ppp/ip-up.d

with that being the last functional line of the script.  I had placed my
script in /etc/ppp/ip-up.d/.  I figured it out; run-parts was not, for
some reason, running all the stuff in the ip-up.d/ directory.  So I
commented that one out, and added

for i in /etc/ppp/ip-up.d/*;do $i;done

and now it works fine.  :)

On Thu, 25 May 2000 beldon@scamail.com wrote:

>What Distro/Version are you using kppp with?  For instance, Caldera 2.4 uses a 
>wildly different version of kppp for enhanced security.  Check the Help button 
>on kppp and it should tell you where these files
>are.

Corel 1.1.  And it's documentation was lousy.  :)   (Thanks, though.)

Bill
-- 
>Ever heard of .cshrc?             | "Linux means never having to delete
That's a city in Bosnia. Right?    |  your love mail." -- Don Marti
(Discussion in comp.os.linux.misc  |  http://www.netaxs.com/~bj/
on the intuitiveness of commands.) |  http://www.harrybrowne.org/


______________________________________________________________________
Philadelphia Linux Users Group       -       http://plug.nothinbut.net
Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce
General Discussion   -   http://lists.nothinbut.net/mail/listinfo/plug