🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.networking.ras
6 messages
6 total messages Started by David Lloyd Sun, 20 Oct 1996 00:00
How make RAS hang up after inactivity
#37
Author: David Lloyd
Date: Sun, 20 Oct 1996 00:00
12 lines
834 bytes
Hi,

I would like to configure RAS to dial up to my ISP every now and then,
download mail, and then hang up. Can I do this by specifying a length
of time to wait with no TCP/IP activity, after which it will drop the
line.

If I can't do this with RAS is there anything else which can? 

Cheers,
David
Re: How make RAS hang up after inactivity
#38
Author: David Lloyd
Date: Mon, 21 Oct 1996 00:00
18 lines
1009 bytes
david@technique.demon.co.uk (David Lloyd) wrote:

>Hi,

>I would like to configure RAS to dial up to my ISP every now and then,
>download mail, and then hang up. Can I do this by specifying a length
>of time to wait with no TCP/IP activity, after which it will drop the
>line.

>If I can't do this with RAS is there anything else which can? 

>Cheers,
>David
I should have mentioned:
its Windows NT Workstation 3.51

David
Re: How make RAS hang up after inactivity
#39
Author: John Beardmore
Date: Mon, 21 Oct 1996 00:00
19 lines
1162 bytes
In article <326b5028.41534503@news.demon.co.uk>, Markus Weber
<maildrop@kinky.demon.co.uk> writes

>You can specify an inactivity timeout. Demon's London COLT seems to
>defeat it, though.
>
>On NT 4, open the phone book, go to More->User Preferences, and enter
>the appropraite number of seconds. The default is 900.

I think you can specify it in switch.inf thus on the ppp line that you
send to Demon.

From memory, specifying ppp,120 would give you a 2 minute timeout.


Cheers, J/.
-- 
John Beardmore
Re: How make RAS hang up after inactivity
#40
Author: Iain McWilliams
Date: Tue, 05 Nov 1996 00:00
42 lines
2048 bytes
In article <327394e5.215141587@news.demon.co.uk>, 
maildrop@kinky.demon.co.uk says...
>
>Come to think of it, all you need is provided with NT.
>
>You can dial from the command line "rasdial PHONE_BOK_ENTRY"; use 
the
>scheduler service to automate this. If you have problems getting RAS
>to hang up (as I do), schedule a second job to force RAS to hang up
>("rasdial /disconnect ENTRY").
>
>Cheers
>-Markus

80% of the time this works for us, however

   rasdial demonx
   if errorlevel 1 goto end
   ping news.demon.co.uk
   if not errorlevel 1 goto linkup
   net send iain Demon not responding 
   rasdial demonx /disconnect 
   goto end
   :linkup
   tellnews reque
   tellnews update
   :end

the above script will leave the ras port active if the modem goes 
into retrain and therefore fails the ping test. It appears that the 
rasdial /disconnect command will not abort the (continuous) retrain, 
the job then completes and nobody can then access the modem without 
rebooting the server :-(

(80% of the time we get a clean connection and the inactivity timer 
of 60 seconds always kills the line.)
Has anyone come across this problem, or even better a work-around.

--
Iain McWilliams                            LMP Technical Services Ltd
mcwill@lmp.co.uk                           Tel : 01536 85285
Re: How make RAS hang up after inactivity
#41
Author: Edward Schernau
Date: Tue, 05 Nov 1996 00:00
31 lines
1980 bytes
Christopher Sharp wrote:
> 
> On Fri, 25 Oct 1996 21:11:06 GMT, in demon.ip.support.other, Markus Weber
> (maildrop@kinky.demon.co.uk (Markus Weber)) wrote:
> 
> > Come to think of it, all you need is provided with NT.
> >
> > You can dial from the command line "rasdial PHONE_BOK_ENTRY"; use the
> > scheduler service to automate this. If you have problems getting RAS
> > to hang up (as I do), schedule a second job to force RAS to hang up
> > ("rasdial /disconnect ENTRY").
> >
> > Cheers
> > -Markus
> 
> Yes, "at /?" tells the whole story (you should have you "Scheduler" service
> started and you should note who it logs on as for security).  The Resource Kit
> even includes a GUI configuration utility.  Until recently I had a batch file
> that I would have the scheduler service kick off early each morning but
> unfourtunately it was lost/deleted when I changed drives.
> 
> The trick is the error correction loops to check that you really did connect and
> to see if there's still e-mail waiting (there's no point in hanging around if
> there's no mail waiting, but equally you want to get your e-mail then if you
> can).

No, I'm talking on the SERVER side; i.e. we have clients that
dial in and forget to hang up!

Ed
Re: How make RAS hang up after inactivity
#42
Author: Christopher Sharp
Date: Sat, 09 Nov 1996 00:00
35 lines
2041 bytes
On Tue, 05 Nov 1996 19:19:58 -0500, in demon.ip.support.other, Edward Schernau
(Edward Schernau <mithrandir@ids.net>) wrote:

> Christopher Sharp wrote:
> > 
> > On Fri, 25 Oct 1996 21:11:06 GMT, in demon.ip.support.other, Markus Weber
> > (maildrop@kinky.demon.co.uk (Markus Weber)) wrote:

> No, I'm talking on the SERVER side; i.e. we have clients that
> dial in and forget to hang up!
> 
> Ed

I'm still not quite sure what you're asking but I'll have a shot at answering
it.

If you're running a RAS server in NT and you want to timeout inactive clients
then as far as I can see from the documentation there's no way of setting an
inactivity time out.

If you're trying to dial into Demon and you want their end (the ascends) to hang
up after so many minutes of inactivity then you can specify this in your logon
script.  I believe that when Demon ask for "Protocol:" you can then reply "PPP,
120" where you then have an inactivity time out of 120.  I have heard it said
though that the ascends defeat this by sending keep-alive packets to the other
end of the link to check that it's still there.


Christopher


--
Christopher Sharp   *   chriss@resharp.demon.co.uk   *   chriss@fourthnet.co.uk
  PGP public key available - Support the Blue Ribbon and Golden Key Campaigns
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads