[On Topic] Re: Dial in & out - Fixed. (doh!)
Johannes Buechler (buechler@iaew.rwth-aachen.de)
19 Nov 1999 1916:37:28 GMT
Nick Kay <mgetty@nexnix.co.uk> wrote:
>Ah. No it's not. mgetty is making LCK..ttyS1 - pppd is making LCK..modem.
>So the lesson learnt is to make sure that the device is called by the same
>name (even if it's a link) throughout all the applications that require
>lockfiles. Obvious really when you think about it. ;>
>Once I told mgetty to use /dev/modem (the same as pppd) the locking
>mechanism works properly and I can dialout while mgetty is running
>because mgetty sleeps on pppds lockfile. Yay!
[...]
>(I guess I should post this on the newsgroup so perhaps it'll find it's
>way into DejaNews for the next one who makes the same mistake)
this is taken from 'info mgetty':
-------------------------------- cut -----------------------------------
Also, make sure that both processes use the same name for the device.
(i.e., mgetty locking `/dev/ttyS0' and kermit locking `/dev/modem' will
definitely fail.)
-------------------------------- cut -----------------------------------
best regards, Johannes
--
Johannes Büchler <buechler@iaew.rwth-aachen.de>
send E-mail with subject 'GET PGP_KEY' for pgp public key
to the following address: buechler@gbprr3.iaew.rwth-aachen.de
fingerprint = 92 FC B5 30 CF 87 FA 2D F3 72 46 49 8B 02 7C 48