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

    [SOLVED] VNSTAT Not updating

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 3.2k 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.
    • X
      XIII
      last edited by

      I recently changed NICs in a system and now VNSTAT does not update. Any way to force an update while keeping history?

      -Chris Stutzman
      Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
      Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
      freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
      Check out the pfSense Wiki

      1 Reply Last reply Reply Quote 0
      • P
        Perry
        last edited by

        IIRC (as it's bed time) a rename should work.
        Backup vnstat datebase files (in conf/vnstat folder on pfSense 2.0 or /var/db/vnstat/ on 1.2.3) also the hidden one's (like vr0 and .vr0)
        uninstall vnstat
        delete all database files
        install vnstat
        rename the old one's with the new nic name and copy them back.

        "Who Dares Wins"

        /Perry
        doc.pfsense.org

        1 Reply Last reply Reply Quote 0
        • X
          XIII
          last edited by

          OK, now I will wait to see if it updates.

          Thanks for your help Perry.

          -Chris Stutzman
          Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
          Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
          freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
          Check out the pfSense Wiki

          1 Reply Last reply Reply Quote 0
          • X
            XIII
            last edited by

            That fixed it. Should have asked sooner, I was trying various shots in the dark, going nowhere.

            Thanks again Perry.

            -Chris Stutzman
            Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
            Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
            freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
            Check out the pfSense Wiki

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