eCos PPP stack
The eCos PPP stack is based on FreeBSD source code and is designed to be used in conjunction with the existing FreeBSD TCP/IP stack. It offers the following features:
- PPP line protocol including VJ compression
- LCP, IPCP and CCP control protocols
- PAP and CHAP authentication
- CHAT subset connection scripting
- Modem control line support
The fully tested and certified release of PPP is provided in the eCosPro Developer's Kit. eCosCentric also contributed the first port of the PPP stack to the eCos Community, making it available via the public eCos CVS repository within packages/net/ppp/. For users of the eCos 2.0 release, an EPK has also been made available for download here.
Configuring eCos to use the PPP stack
To configure eCos using the eCos Configuration Tool, it is first necessary to select the net template. Use the Build->Templates menu item to open the Templates dialog box and select the packages template named net. The PPP package can now be added to the configuration by using the Build->Packages menu item to open the Packages dialog box. Scroll down the list of available packages and double click on the PPP support package to add it to the configuration.
Alternatively, eCos may be configured from a bash prompt using the ecosconfig host tool as follows:
ecosconfig new TARGET net ecosconfig add ppp