Morgan Wajda-Levie on Mon, 16 Aug 1999 20:54:22 -0400 (EDT)


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

[Plug] Crashed logins


I use my computer as an ipmasq gateway for my parents' computer, an
old Macintosh.  The easiest way I've found for them to start and stop
an Internet connection is by creating a telnet account that simply
creates a lock on the connection, and deletes it when they log out.
As long as somebody has a lock on the connection, nobody can kill the
connection.

The problem with this system is that the Mac is almost as bad as a
Windows box; it crashes a lot.  I have a program that's run by cron on
the half hour to remove the locks on any users that are not logged
in.

In theory this should handle the problem, but it doesn't.  Today,
though the Mac had crashed and been restarted, a telnet connection
remained open for an hour and a half.  How do I get my computer to
realize that there is no computer on the other line and kill the
connection?

As always, my computer is running the latest Debian potato as of 5:00
this morning.

-- 
Morgan Wajda-Levie
http://www.worldaxes.com/wajdalev
PGP fingerprint:
A353 C750 660E D8B6 5616  F4D8 7771 DD21 7BF6 221C
http://www.worldaxes.com/wajdalev/public.asc for PGP key
encrypted mail preferred

Attachment: pgpV5hFVGivzp.pgp
Description: PGP signature