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

Need help installing TRAFSHOW

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 2 Posters 4.1k Views
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 Sep 9, 2011, 2:24 PM

    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
    • S
      stephenw10 Netgate Administrator
      last edited by Sep 9, 2011, 9:48 PM Sep 9, 2011, 9:40 PM

      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 Sep 29, 2011, 4:39 AM

        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
        • S
          stephenw10 Netgate Administrator
          last edited by Oct 4, 2011, 3:18 AM

          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.
            This community forum collects and processes your personal information.
            consent.not_received