NOVUS Web Server – WS10 User Manual
Page 29

Web Server – WS10
NOVUS AUTOMATION
29/33
CONFIGURING THE MODEM TO RECEIVE A DATA CALL – PPP SERVER
The PPP server is implemented on the WS10 operating system, and is configured on the system file CHIP.INI. The WS10 can act as a PPP server
and answer a phone call, negotiate modem and PPP connection and assign IP parameters to the calling computer. The WS10 may also be
configured to answer data calls, as described in Configuring the modem to start a data call.
A remote computer may dial to the WS10 to:
•
Access the pages hosted by the WS10.
•
Establish a Modbus TCP connection
•
Change configuration or upgrade firmware using FTP.
•
Connect to the Telnet console for configuration and diagnostic purposes.
Follows an example of the PPP server configuration on the CHIP.INI file. The example presents the configuration used with the WS10 internal
modem (optional) at serial port 2. Modem and IP network expertise are necessary to change these configurations.
[PPPSERVER]
ENABLE=0
MODEMTRACE=0
COMPORT=EXT
ADDRESS=192.168.1.1
REMOTEADDRESS=192.168.1.2
GATEWAY=192.168.1.0
AUTH=1
IDLETIME=60
FLOWCTRL=2
MODEM=1
USER0=ppp
PASSWORD0=ppp
BAUD=38400
INITCMD0=ATZ
INITANSWER0=OK
INITTIMEOUT0=3
INITCMD1=AT\N4\Q3\V2
INITANSWER1=OK
INITTIMEOUT1=3
The PPP server function is configured at the [PPPSERVER] section. Only make changes to this section!
ENABLE: 0 to inhibit and 1 to enable the PPP server. Don’t enable the PPP server if this function will not
be used.
MODEMTRACE: Usually 0. Set to 1 to debug modem commands through the Telnet console.
COMPORT: Serial port connected to the modem. EXT for serial port 2 or COM for serial port 1. Usually set
to EXT.
ADDRESS: WS10 IP address for the PPP connection.
REMOTEADDRESS: IP address that the WS10 will assign to the calling computer.
GATEWAY: Defines the IP address of the gateway for PPP interface.
AUTH: Type of authentication. 0 for none, 1 for PAP (usual option), 2 for CHAP.
IDLETIME: Maximum idle time before the connection aborts. In seconds. Usual value is 60 seconds.
FLOWCTRL: Flow control between modem and WS10. 0 for none, 1 for XON/XOFF and 2 for RTS/CTS.
Usually 2.
MODEM: Connection device. 1 for modem or 0 for serial cable. Usually 1.
USER0 & PASSWORD0: If AUTH=1, defines the first authorized user for PPP connection.
USER1 & PASSWORD1: If AUTH=1, defines the second authorized user for PPP connection. It is safer to
always define the two users, to disable the default user (ppps/ppps).
BAUD: Baud rate of the PPP serial connection. Maximum is 38400bps.
INITCMD
n
, INITANSWER
n
& INITTIMEOUT
n
: Modem initialization commands, issued at the WS10 boot
and after finishing the phone call. 3 block of 3 parameters defining the modem command, expected answer
and answer timeout in seconds. (
n
= 0, 1 or 2).
If the internal modem of the WS10 answers a data call but the calling computer reports that a connections could not be established, try to replace at
CHIP.INI file the line
INITCMD1=AT\N4\Q3\V2
by
INITCMD1=AT\N0\Q3\V2
, and reboot the WS10. This change may solve some protocol
incompatibilities detected on some PC modem cards.