My copy of the agetty man page doesn't mention a switch for setting the
respawn rate (which would be governed by init, not agetty, in any case -
no?). What switch do you mean?
In any case, I *think* this advice is mistaken. Rapid respawning is
inherently an error condition on serial lines; it means that the agetty
process is starting, terminating, and returning control to init (which then
starts the cycle again) almost instantly -- the system log (usually
/var/log/messages) will report this condition and, with luck, its cause. You
need to find and fix the problem.
>From the original posting, I'd guess that the problem comes from using the
-t and -i (shouldn't this be -I, BTW?) options together. Try using minicom
or something to access your modem and store the needed profile in its
memory, then use the line as written except without the "-i initstring" part.
If that's not it, my second guess is a problem with the serial hardware --
either the cable or the port itself doesn't support a needed control line.
(For example, years ago I had a Boca8 multiport card, which didn't support
DCD. Never could fix this - ended up replacing it with a Boca16, which did
support DCD.) This makes using agetty tough, as its main virtue is the
ability to use hardware control well - it this is it, I'd suggest you try to
switch to mgetty, which is better at controling the device based on
interpretation of command strings from the modem.
At 03:32 PM 6/1/99 +0000, Peter Teslenko wrote:
>You must set respawning time in agetty switches (man agetty)
>
>"C.Jagadish" wrote:
>>
>> Dear Sir,
>> I have configured my machine for dial-in.
>>
>> I have added the following line to /etc/inittab
>>
>> d2:respawn:12345:/sbin/agetty -i 'ATQE0Q1S0=1' -mt60 38400 ttyS1 vt100
>>
>> and I did a "init q". It started giving message "d2: respawning too fast
>> disabled for 5 minutes".
>>
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
762 Garland Drive
Palo Alto, CA 94303-3603
650.328.4219 voice [EMAIL PROTECTED]
----------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]