This chapter takes you through the process of setting up a Point-to-Point Protocol (PPP) interface on a C5 system. PPP allows the target system to connect to another system using a direct serial line or modem connection in the same way as an Ethernet connection. If your system does not support serial connections, or if you do not plan to use PPP with your system, you may skip this chapter.
This chapter also describes how to enable PPP on a host for use with a C5 system during application development.
The topics covered are:
Configuring Hardware. See Section 11.1, “Configuring Hardware”.
Creating Interfaces. See Section 11.2, “Creating Interfaces”.
Creating Devices. See Section 11.3, “Creating Devices”.
Configuring PPP. See Section 11.4, “Configuring PPP”.
PPP on a Solaris Host. See Section 11.5, “PPP on a Solaris Host”.
Further information is provided in Section 13.5, “pppstart”.
C5 systems support multiple PPP interfaces, each of which is identified by a unique name such as ppp0. Depending on the number of serial lines physically available on the C5 system, the C5 2.1 product provides support for up to two PPP lines. You can increase the number of lines possible by modifying the value of NPPP in the machine/ppp.h header file. See the appropriate guide in the C5 2.1 Target Platform Collection to verify serial line support for your particular target system hardware.
![]() | Note |
|---|---|
The first serial line on the C5 system is reserved for system debug, and for console access using the host workstation tip(1) utility. It cannot be used for PPP. The console requires a terminal type cable. A direct connection between a host and a target requires a null modem cable. See “Asynchronous EIA-232-E Null Modem” in Solstice PPP 3.0.1 Administration Guide for details. | |
If you are unsure what serial lines your system uses, yet you are able to boot the system, you can use the dtree( 1M) utility to display devices listed in the target system device tree:
% rsh target dtree |
C5 systems may be used with modems. The chat( 1M) utility can help you handle modem connection and configuration. See Section 13.1, “chat” for more information.
![]() | Note |
|---|---|
This document does not provide information about modem configuration commands, nor does it provide information about the cables required for connecting modems to targets. Please refer to your modem documentation for information regarding modem configuration. | |