From cdd51194caf76c5c0246ec553b0820e3f21fed52 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 9 Apr 2011 13:05:48 +0000 Subject: [PATCH] linux-atm: package atm-diagnostics with atmdump, atmdiag, etc. 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. Signed-off-by: Philip Prindeville SVN-Revision: 26542 --- package/linux-atm/Makefile | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile index b88928df87..1a548822d9 100644 --- a/package/linux-atm/Makefile +++ b/package/linux-atm/Makefile @@ -43,6 +43,18 @@ define Package/atm-tools/description This package contains the Linux ATM tools. endef +define Package/atm-diagnostics + SECTION:=net + CATEGORY:=Network + DEPENDS:=linux-atm + TITLE:=Linux ATM Diagnostics + URL:=http://linux-atm.sourceforge.net/ +endef + +define Package/atm-diagnostics/description + This package contains the Linux ATM diagnostics. +endef + define Package/br2684ctl SECTION:=net CATEGORY:=Network @@ -89,7 +101,6 @@ define Package/atm-tools/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/arpd/atmarp{,d} $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/lib/network $(INSTALL_BIN) ./files/ipoa.sh $(1)/lib/network/ - $(INSTALL_DIR) $(1)/usr/bin/ # #The following is disabled by default but still useful for some debugging @@ -121,6 +132,14 @@ define Package/atm-tools/install # $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ttcp_atm $(1)/usr/bin/ endef +define Package/atm-diagnostics/install + $(INSTALL_DIR) $(1)/usr/bin + $(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/ +endef + define Package/br2684ctl/install $(INSTALL_DIR) $(1)/etc/init.d/ $(INSTALL_BIN) ./files/br2684ctl $(1)/etc/init.d/ @@ -130,4 +149,5 @@ endef $(eval $(call BuildPackage,linux-atm)) $(eval $(call BuildPackage,atm-tools)) +$(eval $(call BuildPackage,atm-diagnostics)) $(eval $(call BuildPackage,br2684ctl))