Problem
Modem CHAT scripts fail to work correctly when dialing into Openserver from a Linux system. There appears to be some sort of timing problem.
Cause
By default, the getty process answering incoming modem connections will discard initial input received for about 1 second after displaying its prompt. This is to avoid interpreting modem connection noise on the serial line, This has been observed to cause interaction problems with CHAT scripts from Linux systems dialing into Openserver.
Solution
The getty process has an option flag, -n, which will disable its discard behavior at the beginning of a connection. To enable this option, edit both the /etc/inittab and /etc/conf/init.d/sio files and locate the getty entry that corresponds to the device associated with the modem. For example:
Se1A:234:respawn:/etc/getty -t60 tty1A mThe -n option will need to be inserted into this line as such:
Se1A:234:respawn:/etc/getty -n -t60 tty1A mBe sure to make this change to the /etc/conf/init.d/sio file as well or the modification may be removed during a future kernel re-link.
After making these changes, disable and enable the modem port to
reinitialize getty with the changes. The OpenServer system should now
be ready to accept the incoming connection from the Linux client
without discarding initial input from the CHAT script. See also
getty(M)