If your ISP is pushing their own DSL equipment (which many do to contain 
support costs), they won't be
forthcoming with your various settings: encapsulation, VPI/VCI, etc.

These you might have to discover yourself.  The easiest way to do this is with 
atmdiag and atmdump, but
these aren't built by default.

Signed-off-by: Philip Prindeville <phil...@redfish-solutions.com>
Index: package/linux-atm/Makefile
===================================================================
--- package/linux-atm/Makefile  (revision 26505)
+++ package/linux-atm/Makefile  (working copy)
@@ -43,6 +43,17 @@
   This package contains the Linux ATM tools.
 endef
 
+define Package/atm-tools/config
+config PACKAGE_atm-tools_extras
+       depends on PACKAGE_atm-tools
+       default n
+       bool "Include atmdiag and atmdump"
+       help
+         This option is useful for troubleshooting DSL issues if your ISP
+         isn't forthcoming with your configuration parameters (VPI, VCI,
+         encapsulation mode, etc).
+endef
+
 define Package/br2684ctl
   SECTION:=net
   CATEGORY:=Network
@@ -100,8 +111,10 @@
 #      $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/esi $(1)/usr/sbin/
 #      $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aread $(1)/usr/bin/
 #      $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/awrite $(1)/usr/bin/
-#      $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/atmdiag $(1)/usr/bin/
-#      $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/atmdump $(1)/usr/bin/
+ifeq ($(CONFIG_PACKAGE_atm-tools_extras),y)
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/atmdiag $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/atmdump $(1)/usr/bin/
+endif
 #
 # The following is really for some specific application, and obsolete for most 
of it
 #
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to