Technical data

79
49333 68
50666 69
52000 70
53333 71
54666 72
This section describes step-by-step how to set up a dial-in server using mgetty and pppd applications.
The dial-in server is built using the mgetty and pppd utilities. mgetty is responsible for TTY interface
initialization and call answering. pppd provides a method for transmitting datagrams over point-to-point links
and is responsible for link control, authentication, and for network protocol configuration.
The Dialogic
®
Diva
®
TTY interface is set in auto-detection mode. In this mode, the TTY driver will detect the type
of the used protocol and PPP framing and will convert it to ASYNC PPP. This allows the calls to be served by
pppd in the same way.
Setting up a "ppp" dial-in server
To set up a dial-in server, proceed as described below:
1. Make sure that the mgetty+sendfax package is installed on your system.
2. Change the context of the /etc/mgetty+sendfax/mgetty.config file as follows:
# set the global debug level to "4" (default from policy.h)
#debug 9
# access the modem(s) with 38400 bps
speed 38400
# This is 33600 only
#init-chat "" AT&F14;S0=0;E0;\\V1#CID=1;+ms=v34,1 OK
init-chat "" AT&F14+IF5+IM4;S0=0;E0;\\V1#CID=1 OK
data-only y
blocking no
toggle-dtr no
modem-type data
modem-check-time 0
autobauding no
answer-chat-timeout 180
3. Change the context of the /etc/mgetty+sendfax/login.config file as follows:
# Automatic PPP startup on reception of LCP configuration request (AutoPPP).
# mgetty has to be compiled with "-DAUTO_PPP" for this to work.
How to set up a dial-in server