Maybe a bug in status_interfaces.php or other include file



  • 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



  • 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.


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy