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

    Maybe a bug in status_interfaces.php or other include file

    Scheduled Pinned Locked Moved webGUI
    2 Posts 2 Posters 623 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.
    • P
      pete.s.
      last edited by

      This threw me for a loop today.
      Webgui shows interface status is down when it is actually up - but not enabled in pfsense config.

      Dmesg output:

      igb2: link state changed to UP

      ifconfig output:

      igb2: …
      ...
      media: Ethernet autoselect (1000baseT <full-duplex>)
      status: active</full-duplex>

      When interface is not enabled in pfsense config, Status / Interfaces shows:

      Status down

      When interface is enabled in pfsense config, Status / Interfaces shows:

      Status  up

      I would have liked to see if the link is up or down even when the interface is not enabled in config.
      Or perhaps shown "not enabled" instead of "down" and then I would have known to hook up with ssh to check what the status really is.

      Best Regards,
      Pete

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        A first simple override of the up/down for disabled interfaces:
        https://github.com/pfsense/pfsense/pull/3820

        but perhaps there is more that can be done underneath to actually find out the hardware state even when at the pfSense software level the interface is disabled.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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