Shibby Tomato-ARM: Need help compiling ntopng

Discussion in 'Tomato Firmware' started by Wenle Zheng, Jan 6, 2016.

Tags:
  1. Wenle Zheng

    Wenle Zheng Connected Client Member

    I have Shibby's TomatoARM installed on my Netgear RV6300v2 ( converted from AC1450 ). Back then, there is ntop from the Optware repo. However, I use Entware-NG now, and there is no ntop.
    So, i'm trying to compile ntopng from source. I cloned the tomato-arm source from git, and updated my PATH:

    Code:
    :/tmp/home/root# echo $PATH
    /cifs1/router/tomato-arm/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/share/libtool/libltdl:/opt/bin:/opt/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/home/root:/mmc/sbin:/mmc/bin:/mmc/usr/sbin:/mmc/usr/bin:/opt/sbin:/opt/bin:/opt/usr/sbin:/opt/usr/bin:  
    upon running "configure", i get an error:
    Code:
    :/tmp/home/root/ntopng-dev# configure
    configure: error: cannot find install-sh, install.sh, or shtool in config "/cifs1/router/tomato-arm/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/share/libtool/libltdl"/config 
    anyone here has experience compiling package on Tomato-ARM ? any help is appreciated.

    Thanks!
     
  2. jerrm

    jerrm Network Guru Member

    Your attempting this on the router?? That won't work(at least not without an incredible amount of wasted effort). The tomato git source is meant to be run from a full unix distro on a PC. Once you have a working build environment on the PC, you can use it to build other packages and executables compatible with the router.

    The easiest environment by far for compiling on the router is @lancethepants' Tomatoware.
     
  3. Wenle Zheng

    Wenle Zheng Connected Client Member

    I don't mind to set up a virtual machine with Debian. but i still need some guidance.
     
  4. PhilHighrez

    PhilHighrez New Member Member

    Sorry to bring up an old post, but did you get anywhere with this? Ive just upgraded from an RT-N66U (MIPS) to an AC3200 (ARM). I was using fprobe previously but I cant find that for ARM (maybe I can build it myself - not sure) and was wondering if I can achieve the same with ntop/nprobe and if someone has already built it for ARM.
     
  5. Sean B.

    Sean B. Network Guru Member

    Ntop is available via optware/entware :

    Code:
    root@Storage:/tmp/home/root# ipkg list | grep ntop
    ntop - 3.3-11 - Network monitoring software
    root@Storage:/tmp/home/root#
     
  6. RogueScholar

    RogueScholar Serious Server Member

    @PhilHighrez To more granularly address your question about fprobe, Entware's opkg tool reports to me as of a few moments ago
    Code:
    $ opkg list '*fprobe*'
    
    > fprobe - 1.1-1 - NetFlow probe (libpcap-based)
    If you've never setup Entware before, the general instructions can be found here: Entware Wiki - Install on TomatoUSB

    If you're of the tinkering mentality and can foresee future occasions when you may wish to engage in some native compilation on your router for whatever reason, I'd strongly recommend you only use the Entware instructions as a loose framework and (size of your USB storage device permitting) instead create three or four partitions on the drive, with the additional ones allowing you have a swap partition to mount during memory-intensive operations as well as to house the Tomatoware environment graciously constructed by our own @lancethepants. The fourth in my own configuration serves as miscellaneous network storage accessible via NFS/SMB and which serves a purpose more often than even I expect, for instance in facilitating the download of the >70GB Monero blockchain I did not long ago over several days, using the aria2 package from Entware. You may never end up needing them, but it's so trivial to change the initial setup and allow for it in the future compared to trying to alter an existing configuration, I couldn't in good conscience fail to mention it.

    Best of luck to you with all of it and congratulations on the acquisition of your AC3200, it's a beast of a device for a SoHo product.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice