[Prev][Next][Index][Thread]
Re[2]: sharing a comport?
Ira Abramov <ira@scso.com> wrote:
> Evgeny, I'm not dumb, I mean mgetty sits on the port and waits for calls
> at a customer of mine, and pppd fires up once an hour by cron and polls
> mail. my question was how can the two coexist? right now I had to disable
> mgetty and that means I can't do any remote maintainance, unless I happen
> to catch their machine connected online once an hour :-)
I don't understand your doubts. Why doesn't it surprise you that you can read
your mail from spool and sendmail can append new mail to the same spool file?
It's possible because both sendmail and mail reader use some locking mechanism
to prevent simultaneous access to the file. But there is no need to kill
sendmail before you start your mailer, right? Now, why does it sound so
differently that (same or similiar) locking scheme can be applied to ttyS
devices?
On a Linux server, I have pppd and fax servers (both incoming and outcoming
services) running simultaneously. And if I want to run kermit or whatever, it
works fine as well. All's on a single modem.
Evgeny
--
____________________________________________________________
/ Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il> \
/ Plasma Laboratory, Weizmann Institute of Science, Israel \ \
| Phone : (972)8-934-3610 == | == FAX : (972)8-934-3491 | |
| URL : http://plasma-gate.weizmann.ac.il/~fnevgeny/ | |
| Finger for PGP key >=====================================+ |
|______________________________________________________________|
References: