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

Howto Sort Interfaces in GUI

Scheduled Pinned Locked Moved General pfSense Questions
7 Posts 4 Posters 655 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.
  • N
    noplan
    last edited by Feb 1, 2021, 6:41 PM

    Is there a quick and or dirty way to sort Interfaces in GUI
    i just want to see
    WAN_1
    WAN_2
    WAN_3
    LAN
    OPTx

    And not
    WAN_1
    LAN
    WAN_3
    OPT
    WAN_2

    this one isnt working ;)

    86041606-4740-475c-b8e9-9ddb0ae8068d-grafik.png

    J 1 Reply Last reply Feb 1, 2021, 6:49 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @noplan
      last edited by johnpoz Feb 1, 2021, 6:51 PM Feb 1, 2021, 6:49 PM

      The alpha sort should work..

      I don't believe it works on the assignment page - it works on the dashboard interfaces widget.

      The only way I know of ordering the interface pages is the order that you assign them..

      alphasort.png

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      N 1 Reply Last reply Feb 1, 2021, 7:02 PM Reply Quote 0
      • N
        noplan @johnpoz
        last edited by Feb 1, 2021, 7:02 PM

        @johnpoz

        it crossed my mind ... to play with the config.xml
        do u think this may be worth a shot
        ;)

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Feb 1, 2021, 8:02 PM

          Do not change the internal interface names if you do (wan, lan, opt1, opt2 etc)

          The rules are referenced against that.

          Steve

          1 Reply Last reply Reply Quote 0
          • N
            NogBadTheBad
            last edited by NogBadTheBad Feb 1, 2021, 8:41 PM Feb 1, 2021, 8:38 PM

            Create two Interface widgets.

            Title the first one WAN and the second LAN.

            Hide the LAN type interfaces from the WAN widget and the WAN type interfaces from the LAN widget.

            1612211806302-screenshot-2021-02-01-at-20.35.44.png

            Screenshot 2021-02-01 at 20.37.05.png

            Screenshot 2021-02-01 at 20.37.48.png

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

            J 1 Reply Last reply Feb 1, 2021, 8:56 PM Reply Quote 1
            • J
              johnpoz LAYER 8 Global Moderator @NogBadTheBad
              last edited by johnpoz Feb 1, 2021, 8:58 PM Feb 1, 2021, 8:56 PM

              @nogbadthebad

              That is a good idea actually to break out WAN from being at the end or middle of your widget.. Nice!

              As Steve mentions - I wouldn't go messing about in with xml directly.. Unless you clearly sure to what your doing, and also willing to deal with any issues that might come from messing about ;)

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              N 1 Reply Last reply Feb 1, 2021, 9:44 PM Reply Quote 0
              • N
                noplan @johnpoz
                last edited by Feb 1, 2021, 9:44 PM

                @johnpoz

                Oh yeah
                Thx for inspiration!!
                Awesome... Not gonna play with config.xml

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received