Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 1995 10:34:22 GMT
From:      Dermot Tynan <dtynan@corrib.ilo.dec.com>
To:        jkh@FreeBSD.org, ponds!rivers@dg-rtp.dg.com, terry@cs.weber.edu
Cc:        bugs@FreeBSD.org, dtynan@corrib.ilo.dec.com
Subject:   Re: Bug.
Message-ID:  <199503081034.KAA10197@corrib.ilo.dec.com>

next in thread | raw e-mail | index | archive | help
>  Yes - I'm in *exactly* that position (although, he says jealously, not
> with ISDN, just SLIP.)
> 
>  I've been thinking about hacking shell scripts, etc... 
> 
>  Another alternative is to simply set the modem to drop the line after
> one minute of non-activity, which is what I had planned to do.
> 
>  Anyway - please send me your stuff...

Well, I now have the thing running under FreeBSD-2.0 (SNAP 950210).  I
noticed an inconsistency in the SLIP/PPP network stuff in that the
slip code keeps the byte count using sc_if.if_obytes (or something
like that), whereas the PPP stuff has an entry in the sc structure
along the lines of sc_bytessent.  I added two new 'ioctls' to slip.h
to return the bytes sent and the bytes received.  I could probably
have gone the same way as slstat but that required considerably
more work and wasn't as clean an interface.  Right now, slipd doesn't
handle weird exceptions too well, and needs to be improved.  Also,
I want to use hylafax (aka flexfax) on the same line, and have an
incoming getty, so I need to follow the UUCP convention for locking
(not the greatest solution, as I remember).  One other thing, slipd
uses a library of mine called 'varlib'.  All the stuff I write uses
this library.  It is a generic way of configuring applications and
utilities, somewhat similar to the X-defaults stuff.  The 'slipd'
process reads a configuration file to determine the number to call,
the login name and the password, as well as other things such as
the decay algorithm, etc.  The daemon is a long way from being a
really general purpose utility, and has stuff hard-coded for Ireland
Online.  It was written purely for my own purposes.  Anyway, when
I iron out the remaining issues, I'll forward it to Jordan, who
can throw it in the contrib section or something, along with varlib.
						- Der



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503081034.KAA10197>