home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!usc!sdd.hp.com!swrinde!news.dell.com!math.utexas.edu!ut-emx!ccwf.cc.utexas.edu
- From: mjl@ccwf.cc.utexas.edu (Maurice J. LeBrun)
- Newsgroups: comp.sys.amiga.datacomm
- Subject: Re: How to avoid no-activity disconnect w/ VLT?
- Message-ID: <77618@ut-emx.uucp>
- Date: 13 Aug 92 05:37:01 GMT
- References: <4139@winnie.fit.edu>
- Sender: news@ut-emx.uucp
- Organization: The University of Texas at Austin, Austin TX
- Lines: 29
-
- In article <4139@winnie.fit.edu> wood@ra.phy.fit.edu (Matt A. Wood) writes:
- >Hello: Our local system disconnects dial-up connections that are
- >inactive after about 5 minutes, which is mighty short IMHO.
- >Is there a way to simulate some activity from within VLT (AREXX
- >macro or something) so that I can stay connected when I go off
- >to make a sandwich or when I have a conversation with someone
- >who stops by my office?
-
- I used to have this problem and just kludged my way around it by invoking a
- simple Rexx script that periodically (every minute or so) sent a relatively
- innocuous sequence. I wasn't too happy with it because I'd come back and
- forget that it was still going. I had it send a XON-XOFF (^S^Q) which
- generally worked ok, except for the obvious case of emacs :-\.
-
- An interesting thing to try if you have access to a Sun workstation is to
- always access through DNet. That alone won't do the trick as far as I know
- (I don't see any evidence of ACKing going on unless I am actually
- sending/receiving data). But you can alter the properties of a socket with
- a setsockopt() call, and there is this option called SO_KEEPALIVE which
- forces an ACK every so often (minute I think) if there is no activity. So
- apparently this would defeat the auto-logout. You'd need to modify the
- dnet unix end so that calls to socket() are followed by calls to
- setsockopt() with the SO_KEEPALIVE option. But I haven't tried it so
- you're on your own with this. (I'd be interested if anyone plays with this
- though.)
-
- --
- Maurice LeBrun mjl@fusion.ph.utexas.edu
- Institute for Fusion Studies, University of Texas at Austin
-