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

[FIXED] Traffic Shaper Wizard does not recognize Interfaces correctly

Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
14 Posts 4 Posters 3.9k 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
    p1erre
    last edited by Feb 22, 2013, 7:17 PM

    Just upgraded to the latest snapshot, the error still appears.
    I get the error after I entered the number of LAN connections.
    I also tried other wizards and i get the same error after i typed the number of WAN or LAN connections.
    Attached my interface configuration and the error message.

    Cheers Pierre

    ![Bildschirmfoto 2013-02-22 um 20.09.26.png](/public/imported_attachments/1/Bildschirmfoto 2013-02-22 um 20.09.26.png)
    ![Bildschirmfoto 2013-02-22 um 20.09.26.png_thumb](/public/imported_attachments/1/Bildschirmfoto 2013-02-22 um 20.09.26.png_thumb)
    ![Bildschirmfoto 2013-02-22 um 20.11.19.png](/public/imported_attachments/1/Bildschirmfoto 2013-02-22 um 20.11.19.png)
    ![Bildschirmfoto 2013-02-22 um 20.11.19.png_thumb](/public/imported_attachments/1/Bildschirmfoto 2013-02-22 um 20.11.19.png_thumb)

    1 Reply Last reply Reply Quote 0
    • P
      phil.davis
      last edited by Feb 23, 2013, 1:08 AM

      Upgraded to:
      2.1-BETA1 (i386)
      built on Fri Feb 22 06:01:13 EST 2013
      FreeBSD 8.3-RELEASE-p6
      The traffic shaper "By Interface" tab now shows only "WIFI" - it used to have LAN, WAN and OPT1 also.
      Starting any of the wizards and progressing past entering a number of LAN or WAN interfaces results in messages like:

      You have less interfaces than number of connections!

      So it was working on Tue Feb 19 20:09:59 EST 2013 and broke somewhere between then and Fri Feb 22 06:01:13 EST 2013.

      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
      • P
        phil.davis
        last edited by Feb 23, 2013, 2:16 AM Feb 23, 2013, 2:05 AM

        $xxx = get_real_interface("wan");
        var_dump($xxx);
        $res = is_altq_capable($xxx);
        var_dump($res);
        

        Result on old snaps:

        string(3) "vr1"
        bool(true)
        

        Result on later snap:

        string(3) "vr1"
        bool(false)
        

        /etc/inc/shaper.inc get_interface_list_to_show() uses is_altq_capable() to build its list.
        It broke in https://github.com/bsdperimeter/pfsense/commit/2ccac12588f59039c88d06126762f41be2f65ce2
        I need to do other things now, if someone fixes it good, otherwise I will look again later.

        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
        • L
          luckman212 LAYER 8
          last edited by Feb 23, 2013, 5:05 AM

          thanks Phil, nice detective work there. Wouldn't simply changing /etc/inc/interfaces.inc at line 4526

          if (in_array($int_family[0], $capable))

          to

          if (in_array($int_family, $capable))

          fix the problem? or am I being too simplistic?

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by Feb 23, 2013, 6:04 AM

            Yep, that's the fix. The pull request is here: https://github.com/bsdperimeter/pfsense/pull/431/files

            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
            • A
              anas_xrt
              last edited by Feb 23, 2013, 2:39 PM Feb 23, 2013, 2:38 PM

              @phil.davis:

              Yep, that's the fix. The pull request is here: https://github.com/bsdperimeter/pfsense/pull/431/files

              I am using caswell CAD-0215 hardware, I still got the problem, on Traffic Shaper by Interface, I saw nothing appeared, once I use wizards, it shown the same problem as above detail. ???

              My update version as below.

              Current version: 2.1-BETA1
                NanoBSD Size : 4g
                    Built On: Fri Feb 22 17:35:04 EST 2013

              1 Reply Last reply Reply Quote 0
              • L
                luckman212 LAYER 8
                last edited by Feb 23, 2013, 2:48 PM

                Try the newest snapshot from Feb 23
                I just installed it and it seems to contain the fix that Phil committed late last night

                cheers all

                1 Reply Last reply Reply Quote 0
                • A
                  anas_xrt
                  last edited by Feb 24, 2013, 5:56 AM

                  @luckman212:

                  Try the newest snapshot from Feb 23
                  I just installed it and it seems to contain the fix that Phil committed late last night

                  cheers all

                  Now it fixed. Thanks

                  Keep good work

                  1 Reply Last reply Reply Quote 0
                  • P
                    p1erre
                    last edited by Feb 24, 2013, 11:47 AM

                    Thanks guys!

                    I updated also to the latest version and everything is working as usual.

                    Cherrs

                    1 Reply Last reply Reply Quote 0
                    • L
                      luckman212 LAYER 8
                      last edited by Feb 24, 2013, 2:38 PM

                      yep, now just need to figure out: http://forum.pfsense.org/index.php/topic,59298.0.html  :P

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