01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Index page<br />

Configuring the PPP Server<br />

The PPP server must be configured using the chip.ini file sections [PPPSERVER]<br />

and [SERIAL]. All entries for configuring the PPP server are listed in the config.htm file.<br />

Here is an outline of the steps required to configure the PPP server.<br />

1. Disable/enable PPP server<br />

ENABLE=0 or ENABLE=1<br />

By default, PPP server is enabled.<br />

2. Select a serial port for the PPP server to use with the COMPORTdirective.<br />

Important :<br />

The COM and EXT port of the <strong>IPC<strong>@CHIP</strong></strong> has only CTS,RTS,RxD and TxD lines,<br />

so you have to configure your modem with DTR always on.<br />

(e.g. AT cmd for a ZyXEL modem: AT&D0)<br />

3. Increase the send and receive queue sizes of the chosen serial port (EXT or COM).<br />

Recommended size is 4096 Bytes.<br />

Example chip.ini settings for the EXT port:<br />

[SERIAL]<br />

EXT_RECVQUEUE=4096<br />

EXT_SENDQUEUE=4096<br />

4. Select the flow control mode for the PPP server serial port.<br />

5. Set the baud rate of PPP server's serial port e.g. BAUD =19200 (default is 38400)<br />

6. Select usage of an analogue modem: MODEM=1.<br />

The default is 0 (null modem cable).<br />

7. Set the IP Address of the PPP server interface e.g. ADDRESS=192.168.206.4<br />

8. Set the REMOTE IP Address for the connected host.<br />

There are three different possibilities for configuring PPP server IP addresses on the <strong>IPC<strong>@CHIP</strong></strong>:<br />

a) If valid addresses for IP Addressand REMOTE IP Addressare declared in chip.ini, the<br />

PPP server wants to use this configured IP for its own and wants to configure the remote<br />

peer with the defined remote address.<br />

b) If only IP Addressis declared in chip.ini and REMOTE IP Addressis set to 0.0.0.0, the<br />

PPP server wants to use this configured IP address and expects the client to use their<br />

own address.<br />

c) If both entries IP Addressand REMOTE IP Addressare set to 0.0.0.0, the PPP server<br />

expects an IP address from the peer.<br />

9. Define net mask and router default gateway, e.g.<br />

NETMASK=255.255.255.0<br />

GATEWAY=192.168.206.4<br />

Note about IP FORWARDING:<br />

Since <strong>@CHIP</strong>-<strong>RTOS</strong> version 067 the <strong>SC12</strong> has two network interfaces, Ethernet and<br />

PPP, so the <strong>IPC<strong>@CHIP</strong></strong> can forward IP packets between these interfaces. If you define a<br />

Page 353 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!