Navigation

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

    How to identify a NIC

    Hardware
    5
    6
    7908
    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.
    • mclaborn
      mclaborn last edited by

      Is there a way in pfSense (GUI and/or command line) to blink the lights on a specific NIC so that it can be easily identified?  I'm setting up a new configuration and the trial-and-error process is cumbersome.  (And I haven't guessed correctly yet.)

      1 Reply Last reply Reply Quote 0
      • dotdash
        dotdash last edited by

        I generally plug a cable in and check which interface now has link. Multi-port cards should progress in a logical direction.

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

          I think Intel NICs can do that via /dev/led.
          https://www.freebsd.org/cgi/man.cgi?query=em&apropos=0&sektion=0&manpath=FreeBSD+10.1-RELEASE&arch=default&format=html#FILES

          Steve

          1 Reply Last reply Reply Quote 0
          • Derelict
            Derelict LAYER 8 Netgate last edited by

            That's awesome.  Works great.

            1 Reply Last reply Reply Quote 0
            • mclaborn
              mclaborn last edited by

              That worked for 2 of my 6 NICs.

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

                Necropost here, but I found another option that worked well for me. I thought it might be helpful for others arriving by web search. Similar to the above solution by dotdash, but it works in a shell and is not limited to Intel nics.

                Physically connect or disconnect the port in question, then at a shell prompt:

                dmesg
                

                or

                dmesg | tail
                

                At the end of the output, you should see something like:

                emn: link state changed to UP

                or

                emn: link state changed to DOWN

                Depending on whether you connected or disconnected the port.
                For what it's worth...

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Products

                • Platform Overview
                • TNSR
                • pfSense Plus
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy