home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / datacomm / 5733 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.0 KB

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