ppp-config.html
来自「ecos3.0 beta 的官方文档,html格式」· HTML 代码 · 共 240 行
HTML
240 行
<!-- Copyright (C) 2009 Free Software Foundation, Inc. -->
<!-- This material may be distributed only subject to the terms -->
<!-- and conditions set forth in the Open Publication License, v1.0 -->
<!-- or later (the latest version is presently available at -->
<!-- http://www.opencontent.org/openpub/). -->
<!-- Distribution of the work or derivative of the work in any -->
<!-- standard (paper) book form is prohibited unless prior -->
<!-- permission is obtained from the copyright holder. -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Installing and Configuring PPP</TITLE
><meta name="MSSmartTagsPreventParsing" content="TRUE">
<META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="eCos Reference Manual"
HREF="ecos-ref.html"><LINK
REL="UP"
TITLE="eCos PPP User Guide"
HREF="ppp.html"><LINK
REL="PREVIOUS"
TITLE="cyg_ppp_chat()"
HREF="ppp-chat-fn.html"><LINK
REL="NEXT"
TITLE="Configuring PPP"
HREF="ppp-config-config.html"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>eCos Reference Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="ppp-chat-fn.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="ppp-config-config.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="PPP-CONFIG"
></A
>Chapter 55. Installing and Configuring PPP</H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="ppp-config.html#PPP-CONFIG-INCLUDE"
>Including PPP in a Configuration</A
></DT
><DT
><A
HREF="ppp-config-config.html"
>Configuring PPP</A
></DT
></DL
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="PPP-CONFIG-INCLUDE"
>Including PPP in a Configuration</A
></H1
><P
>PPP is contained entirely within a single
<SPAN
CLASS="PRODUCTNAME"
>eCos</SPAN
> package. So to include PPP in a
configuration all you need to do is add that package.</P
><P
>In the GUI configuration tool use the
<B
CLASS="COMMAND"
>Build->Packages</B
> menu item, find the "PPP Support"
package in the left-hand pane and use the <B
CLASS="COMMAND"
>Add</B
> button
to add it to the list of packages in use in the right-hand pane.</P
><P
>In the command-line tool <B
CLASS="COMMAND"
>ecosconfig</B
>, you can use the
following command during the configuration phase to add the PPP package:</P
><TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
> $ ecosconfig add ppp </PRE
></TD
></TR
></TABLE
><P
>In addition to the PPP package you will also need to have the
<TT
CLASS="LITERAL"
>"Network"</TT
> package and the <TT
CLASS="LITERAL"
>"Serial Device
Drivers"</TT
> package in the configuration. The dependencies and
requirements of the networking package are such that it is strongly
recommended that you start with the <TT
CLASS="LITERAL"
>net</TT
> template.</P
><P
>See the <SPAN
CLASS="PRODUCTNAME"
>eCos</SPAN
> User Guide for full details on
how to configure and build <SPAN
CLASS="PRODUCTNAME"
>eCos</SPAN
>.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="ppp-chat-fn.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ecos-ref.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="ppp-config-config.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>cyg_ppp_chat()</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ppp.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Configuring PPP</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?