[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Single Page
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
-
Search the FAQ Archives
Single Page
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
The user's shell doesn't get killed after the line drops
> 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).
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 October 22 2009 @ 05:24 AM