Timeout for AutoPPP login - and an add-on for the mgetty/vgetty program...

"Thorbjoern List" (list@list.dk)
Mon, 5 Jul 1999 19:58:09 +0200


Hi There

I have now successfully (=3D almost tested) created a small addition to =
the mgetty.c / vgetty.c, which makes it
possible to call the CND_CHECK program already after 2 rings, and take =
the return value from this as the
number of rings to wait in total for the present call.

This is very useful for MSN ISDN...!!!

Does this hold any interest, Marc and Gert...?


Furthermore, I have a problem with the login:

	07/05 19:40:45 yS0    looking for utmp entry... (my PID: 12032)
	07/05 19:40:45 yS0   utmp + wtmp entry made
	07/05 19:40:46 yS0   tio_set_flow_control( HARD )
	07/05 19:40:46 yS0   print welcome banner (/etc/issue)
	07/05 19:40:46 yS0   getlogname (AUTO_PPP), read:
	07/05 19:44:46 yS0  getlogname: timeout[15]
	07/05 19:44:46 yS0   getlogname (AUTO_PPP), read:
	07/05 19:45:46 yS0  getlogname: timeout
	07/05 19:45:49 ##### failed dev=3DttyS0, pid=3D12032, login time out
=09
	--
	07/05 19:45:49 yS0  vgetty: experimental test release 0.9.3 / 15Jun99
	07/05 19:45:49 yS0  mgetty: experimental test release 1.1.20-Jan17 (M+)

A timeout of 4 minutes for a 'wrong number' when answering in FAX_MODE =
(or DATA_MODE)
is rather high, as the phone line does not pick up any other calls in =
that period. Is there any
way of decreasing this to, say, 20 or 30 seconds?

Thanks!

Thorbjoern