Scroll down for my response.
At 01:05 PM 12/18/98 CST, David Douthitt wrote:
>> At 10:57 AM 12/18/98 +0000, you wrote:
>> >I've just been experimenting with puting a getty dialin on the same
>> >modem as diald uses to get out. I think I've probably done something
>> >wrong (which I'll see if I can sort) but it has provoked what I reckon
>> >must be a diald bug related to locking. The sequence is as follows:
>
>> If I understand the post correctly, the same device is being used
>> for a dialin as well as dial out; both daemons are trying to
>> lock the device to insure exclusive use of it. Select unique
>> devices for diald and getty resp. each will need its dedicated
>> modem device.
>
>Just isn't so!
>
>I am happily using mgetty, minicom, and diald (more than one!) on the
>same port. However, the original sender did not detail which OS
>they were using.
The original poster, I believe was having problems with lock files. Diald
daemon trying to lock the device and finding /var/lock/LCK..cua3 owned by
another PID. From the device name, it appears the OS is Linux (FreeBSD
serial device names are /dev/cuaa[0-3], cuaia[0-3], cuala[0-3]).
Until now, I was under the impression, that once a specific device is
locked it cannot be used by another process (to ensure availablity of
service by the locking process). If the **same** device can be used by
(each using it's locking mechanism) mgetty/diald/minicom respectively then
I am interested in finding out how it can be done. I would appreciate if
you could share your configuration info for the above applications. It
would be another selling point for Linux.
>Under Linux, the ports used should be /dev/ttyS* (and NOT /dev/cua*). Under
>FreeBSD (so I have heard) /dev/cua* should be used.
I have not seen any clear views on this. Some say /dev/cua* are the old
serial devices provided for backward compatibility and that only /dev/ttyS*
should be used to call out/in. Some say, use ttyS* to call in and cua* to
call out. Fr FreeBSD serial devices see above.
Happy Holidays,
Arun Khan
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]