Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

Mgetty+Sendfax with Vgetty Extensions (FAQ)
Section - The user's shell doesn't get killed after the line drops

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Restaurant inspections ]


Top Document: Mgetty+Sendfax with Vgetty Extensions (FAQ)
Previous Document: When is mgetty actually running? (i.e. what can mgetty control?)
Next Document: AutoPPP appears in the "who" listing
See reader questions & answers on this topic! - Help others by sharing your knowledge

> why doesn't mgetty kill the user's shell when the user just hangs up
> the modem, without doing 'logout'? [Mod: or the line simply crashes]

How should mgetty kill a user's shell? While the user is logged in, mgetty
is *not running*.

The kernel will signal the shell via the SIGHUP signal when the DCD line
on the modem drops. Then the shell will exit, and init will re-start
mgetty. Unfortunately, the BASH shell is very broken in various versions
and will ignore the SIGHUP signal, so that could be one reason why it
isn't exiting. 

Another reason could be an improper modem setup (AT&C0), make sure
that the modem raises and lowers the DCD line properly (check with the
modem manual) and that your serial cable is OK (swap it with another
one for testing).


User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: Mgetty+Sendfax with Vgetty Extensions (FAQ)
Previous Document: When is mgetty actually running? (i.e. what can mgetty control?)
Next Document: AutoPPP appears in the "who" listing

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
Lichtenwalder@ACM.org





Last Update March 27 2014 @ 02:11 PM