modem init

Marc SCHAEFER (schaefer@alphanet.ch)
20 Jan 1999 1920:31:39 +0100


Malek Shabou <malek.shabou@nic.fr> wrote:
>  are there any way to indicate modem-init in the mgetty.conf (like
> sendfax.conf)?

This is mine, for example.  And there is also force-init-chat. Read
your modem's manual!

# ZyXEL 2864, connected to ttyS0: maximum debugging, grab statistics
#

port ttyS0
debug 8
# Really 115kbps (setserial)  Yes, gert, I know :)
speed 38400
# MSC96 Next line 10/11/96 added to do reset on DTR drop and
#                          disallow +++ and inactivity disc.
init-chat "" \d\d\d+++\d\d\dATQ0V1H0 OK ATZ OK ATM0&O0E1Q0S0=0S13.2=1&D3S2=255S50=30 OK
statistics-chat "" AT OK ATI2 OK
statistics-file /tmp/statistics.ttyS0
modem-type auto
data-only n
issue-file /etc/issue.ttyS0
rings 2 # compulsory for MSN (called ID) decode.
msn-list 8414081 8414037 8414013
# The following problems decides if it accepts the call or not.
cnd-program /usr/lib/mgetty/filter_msn.sh

port ttyS2
debug 8
speed 38400
# MSC96 Next line 10/11/96 added to do reset on DTR drop
# MSC98 timeout after 255 seconds (around 5 minutes) of inactivity
init-chat "" ATZ OK \d\d\dATQ0V1H0S2=255S19=255 OK
modem-type cls1
data-only y
issue-file /etc/issue.ttyS2