Some ideas

"Sarel J. Botha" (sjb@dundee.lia.net)
Sun, 28 Nov 1999 00:13:08 +0200


On Sat, Nov 27, 1999 at 08:37:56PM +0100, Gert Doering wrote:
> As mgetty does not do *any* authentication *at all*, this is not something
> that should be done inside mgetty.

ohh, didn't know that.

Oh I see, it calls whatever is in login.config...

> > 4) When the connection is terminated it again executes a perl script but
> >    this time it has args like: username, reason for disconnect, bytes
> >    transferred.
> 
> This is kinda hard, as usually there is noone to "clean up" after a
> call and to run the script.

Well, I could use /etc/ppp/ip-down, but it doesn't have the byte accounting
stuff.

Seems like I'll have to use pppd's plugin option and code a lib.

Thanks for the help. I thought I knew exactly what was needed to be done,
oh well.

-- 
------------------
Sarel Botha
sjb@dundee.lia.net
------------------

99 little bugs in the code, 99 bugs in the code,
          fix one bug, compile it again...
          101 little bugs in the code....