Mercurial > flash_v2
changeset 641:42395fac1c86 ecos-v2_0-branchpoint
* cdl/snmpagent.cdl: Explicitly require OpenBSD stack since we don't
work with the FreeBSD stack yet.
* doc/snmp.sgml: Document configuring packages better, and only use
of OpenBSD stack.
| author | jlarmour |
|---|---|
| date | Fri, 14 Feb 2003 18:28:49 +0000 |
| parents | f707a3fcd142 |
| children | 46a7d2c24f10 |
| files | packages/net/snmp/agent/current/ChangeLog packages/net/snmp/agent/current/cdl/snmpagent.cdl packages/net/snmp/agent/current/doc/snmp.sgml |
| diffstat | 3 files changed, 33 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/snmp/agent/current/ChangeLog +++ b/packages/net/snmp/agent/current/ChangeLog @@ -1,3 +1,11 @@ +2003-02-14 Jonathan Larmour <jifl@eCosCentric.com> + + * cdl/snmpagent.cdl: Explicitly require OpenBSD stack since we don't + work with the FreeBSD stack yet. + + * doc/snmp.sgml: Document configuring packages better, and only use + of OpenBSD stack. + 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com> * doc/snmp.sgml: Fix a doc build failure, and tweak some duff links and
--- a/packages/net/snmp/agent/current/cdl/snmpagent.cdl +++ b/packages/net/snmp/agent/current/cdl/snmpagent.cdl @@ -63,6 +63,8 @@ cdl_package CYGPKG_SNMPAGENT { requires { 0 != CYGINT_ISO_ERRNO } requires { 0 != CYGINT_ISO_ERRNO_CODES } requires CYGPKG_NET +# For now we only work with the OpenBSD stack, not FreeBSD + requires CYGPKG_NET_OPENBSD_STACK requires CYGPKG_SNMPLIB description "SNMP agent based on the UCD-SNMP project."
--- a/packages/net/snmp/agent/current/doc/snmp.sgml +++ b/packages/net/snmp/agent/current/doc/snmp.sgml @@ -244,7 +244,29 @@ again. <SECT1 id="net-snmp-configuring-ecos"> <TITLE>Configuring eCos</TITLE> <PARA> -Apart from adding the networking, common ethernet device drivers, +To use the SNMP agent, the SNMP library and agent packages must +be included in your configuration. In addition, at this point, the SNMP +stack only works with the OpenBSD-based TCP/IP stack, not the FreeBSD-based +stack. The "old_net" template can be used as a starting point for using +the OpenBSD-based TCP/IP stack, for example: +<SCREEN> +$ <USERINPUT>ecosconfig new mytarget old_net</USERINPUT> +</SCREEN> +or you can add the various required packages to an existing configuration with: +<SCREEN> +$ <USERINPUT>ecosconfig add net openbsd_net eth_drivers</USERINPUT> +</SCREEN> +</PARA> +<PARA> +To incorporate the stack into your configuration select the SNMP library +and SNMP agent packages in the eCos Configuration Tool, or at the command +line type: +<SCREEN> +$ <USERINPUT>ecosconfig add snmplib snmpagent</USERINPUT> +</SCREEN> +</PARA> +<PARA> +After adding the networking, common ethernet device drivers, snmp library and snmp agent packages, there is no configuration required. However there are a number of configuration options that can be set such as some details for the System MIB, and
