Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] Re: NDT on OpenWRT

Subject: NDT-DEV email list created

List archive

[ndt-dev] Re: NDT on OpenWRT


Chronological Thread 
  • From: Joey Freeland <>
  • To: Aaron Brown <>
  • Cc: "Carlson, Richard" <>, Richard Carlson <>, "" <>
  • Subject: [ndt-dev] Re: NDT on OpenWRT
  • Date: Fri, 16 Nov 2012 02:10:01 +0800

Hey Aaron and Richard,

Thanks for putting me in touch with the dev team.  I was able to get it working with enough tinkering.  I ended up not trying to cross compile via the SDK but instead created an OpenWRT package and this seemed to do the trick:

<snip>
jfreeland@slinky:~$ cat openwrt/trunk/package/feeds/packages/ndt/Makefile 
#
# Let's see if this works..
#

include $(TOPDIR)/rules.mk

PKG_NAME:=ndt
PKG_VERSION:=3.6.4
PKG_RELEASE:=3

PKG_BUILD_DIR:=${BUILD_DIR}/ndt-$(PKG_VERSION)
PKG_SOURCE:=ndt-$(PKG_VERSION).tar.gz

include $(INCLUDE_DIR)/package.mk

define Package/ndt
  SECTION:=utils
  CATEGORY:=Utilities
  DEPENDS:=+libpthread +zlib
  TITLE:=Network Testing Tool
endef

define Build/Compile/Default
$(MAKE) -C $(PKG_BUILD_DIR)
endef

define Package/ndt/install
$(INSTALL_DIR) $(1)/sbin
$(CP) $(PKG_BUILD_DIR)/src/web100clt $(1)/sbin/
endef

$(eval $(call BuildPackage,ndt))
</snip>

<snip>
root@OpenWrt:~# uname -a
Linux OpenWrt 3.3.8 #1 Thu Nov 15 19:56:48 SGT 2012 mips GNU/Linux
root@OpenWrt:~# web100clt -n ndt.iupui.donar.measurement-lab.org
Testing network path for configuration and performance problems  --  Using IPv4 address
Checking for Middleboxes . . . . . . . . . . . . . . . . . .  Done
checking for firewalls . . . . . . . . . . . . . . . . . . .  Done
running 10s outbound test (client to server) . . . . .  244.00 kb/s
running 10s inbound test (server to client) . . . . . . 538.11 kb/s
Your host is connected to a Cable/DSL modem
Information: Other network traffic is congesting the link
Information [C2S]: Packet queuing detected: 22.31% (local buffers)
Server 'ndt.iupui.donar.measurement-lab.org' is not behind a firewall. [Connection to the ephemeral port was successful]
Client is probably behind a firewall. [Connection to the ephemeral port failed]
Packet size is preserved End-to-End
Server IP addresses are preserved End-to-End
Information: Network Address Translation (NAT) box is modifying the Client's IP address
Server says [203.117.37.53] but Client says [ 192.168.43.177]
</snip>

On Fri, Nov 16, 2012 at 1:54 AM, Aaron Brown <> wrote:
Could you send the logs when you have a chance? I've not tried cross-compiling NDT, but may be able to help debug.

Thanks for the super fast response and thanks for your work on NDT!  Unfortunately I'm on the go right now, but I'll give 3.6.5.1 a try soon.

--
Joey Freeland
Technical Program Manager
Google Asia Pacific Pte. Ltd.
Singapore




Archive powered by MHonArc 2.6.16.

Top of Page