Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Need help installing TRAFSHOW

    General pfSense Questions
    2
    4
    4.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ryandasilva
      last edited by

      Hello all. I used to use trafshow on my pfsense 1.2.3 boxes all the time. Now i cant install it any more. If i run pkg_add -r trafshow it says:

      Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/trafshow.tbz: File unavailable (e.g., file not found, no access)
      pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/trafshow.tbz' by URL

      I am assuming this has something to do with FreeBSD no longer being on version 7.2 but i just need to know how to install it. Im trying to view realtime traffic. ive had some success with the RATE package but i prefer trafshow as i can set it to update every 1 second for almost realtime analysis of traffic.

      Does anyone here know how to install trafshow nowadays?

      Thanks,
      Ryan

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        It's because latest packages are no longer available for 7.2. You need to switch to 7-stable.

        You can specify the full path directly:

        
        pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/trafshow.tbz
        
        

        Or set a variable more permanently. See: http://forum.pfsense.org/index.php/topic,32047.0.html

        Of course some packages from 7-stable may not work correctly.

        Steve

        1 Reply Last reply Reply Quote 0
        • R
          ryandasilva
          last edited by

          thanks for your help. i get an error message saying it was already installed or a previous version was. i remember messing with it a while back and i think i downloaded some version of it or maybe the source code and tried to install it but failed when it could find a library. how do i uninstall it? if i try to run trafshow i get the error message: "/libexec/ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "trafshow" "

          thanks so much!

          Ryan

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Since I no longer have a 1.2.3 install I can't certain about this but in general….

            You probably need to add a symlink called libncurses.so.8 and point it at what ever version of libcurses is part of pfSense 1.2.3.

            Steve

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.