-=> Quoting Bob Holiday to All <=-
BH> Hello All!
BH> I've been using PPPDIAL.CMD v31 with Binkleyterm/2 XR4 to dial into my
BH> temporary provider AT&T worldnet, and ftp to a site to download some
BH> message files. Right now I have it setup as a function key exit from
BH> Binkleyterm, in order to test this connection before I automate it.
BH> Problem I'm having is that PPPDIAL doesn't seem to time out. Looking
BH> over the REXX code in PPPDIAL, it looks as though it should time out
BH> after 1.5 minutes of inactivity. Does anyone have PPPDIAL timing out
BH> properly? Am I NOT doing something right, or forgetting something?
I noticed that pppdial would sometimes not timeout. It acted as it was
missing the "NO CARRIER" or "BUSY" message, but I'm not sure.
I ended up writing my own rexx script kill ppp (and pppdial.cmd) and
start all over. It also does some other things specific to my system,
such as creating a RxQueue for some IPC. Here's the basic idea;
/* pppon.cmd */
do forever
'detach ppp.exe ... 2>&1 >\tmp\ppplog.txt'
sleep 30 seconds
ping host 10 times
if successful then leave
kill ppp
sleep 10 seconds
end
do forever
check rxqueue for busy string(s)
if none then leave
sleep 5
end
kill ppp
This was with pppdial v2.8, it may be fixed in v2.9 or v3.0.
Phil Crown pcrown@airmail.net http://web2.airmail.net/pcrown/
--- Blue Wave/OS2 v2.30
---------------
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 972-250-4479 * (1:124/1208)
|