# HG changeset patch # User jlarmour # Date 1045247329 0 # Node ID 42395fac1c867b5c33fbfca17474399d6a251991 # Parent f707a3fcd142923fa4ff4cc5c2e0b8b1064d5a39 * 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. diff --git a/packages/net/snmp/agent/current/ChangeLog b/packages/net/snmp/agent/current/ChangeLog --- a/packages/net/snmp/agent/current/ChangeLog +++ b/packages/net/snmp/agent/current/ChangeLog @@ -1,3 +1,11 @@ +2003-02-14 Jonathan Larmour + + * 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 * doc/snmp.sgml: Fix a doc build failure, and tweak some duff links and diff --git a/packages/net/snmp/agent/current/cdl/snmpagent.cdl b/packages/net/snmp/agent/current/cdl/snmpagent.cdl --- 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." diff --git a/packages/net/snmp/agent/current/doc/snmp.sgml b/packages/net/snmp/agent/current/doc/snmp.sgml --- a/packages/net/snmp/agent/current/doc/snmp.sgml +++ b/packages/net/snmp/agent/current/doc/snmp.sgml @@ -244,7 +244,29 @@ again. Configuring eCos -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: + +$ ecosconfig new mytarget old_net + +or you can add the various required packages to an existing configuration with: + +$ ecosconfig add net openbsd_net eth_drivers + + + +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: + +$ ecosconfig add snmplib snmpagent + + + +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