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

How To Disable/Enable Energy Efficient Ethernet (EEE)?

Hardware
5
51
10.6k
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.
  • L
    lazyt @stephenw10
    last edited by Mar 17, 2024, 7:38 AM

    @stephenw10 here is a more detailed look:

    login-to-view

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Mar 17, 2024, 3:39 PM

      No errors or drops on anything then. Which NICs are the PPPoE WANs using?

      Could just be something upstream like a bad modem.

      L 1 Reply Last reply Mar 18, 2024, 8:28 AM Reply Quote 0
      • L
        lazyt @stephenw10
        last edited by Mar 18, 2024, 8:28 AM

        @stephenw10 icg1 & icg2. Yeah, it could be what are the chances they are both problematic and both drop at the same exact time?

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Mar 18, 2024, 12:43 PM

          Same ISP?

          L 1 Reply Last reply Mar 18, 2024, 1:04 PM Reply Quote 0
          • L
            lazyt @stephenw10
            last edited by Mar 18, 2024, 1:04 PM

            @stephenw10 different ISP, different modem make, and different tech (adsl vs fiber)

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Mar 18, 2024, 1:29 PM

              Hmm, very unlikely then. So neither NIC ever loses link. The PPPoE sessions do not get disconnected. The PPPoE connections simply stop passing traffic.

              Do you see it logging missing LCP echos in the ppp log when this happens? It has to drop 5 before the ppp link is restarted and that doesn't appear to be happening but if the NICs stop passing traffic it would drop some LCP packets.

              Do you have access to the modems on a private IP at all? You could assign the parent interfaces with those IPs as gateway and they would then be monitored separately to the PPP link.

              L 1 Reply Last reply Mar 18, 2024, 2:11 PM Reply Quote 0
              • L
                lazyt @stephenw10
                last edited by Mar 18, 2024, 2:11 PM

                @stephenw10 said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                Do you see it logging missing LCP echos in the ppp log when this happens

                No. In 10 days of PPP logs, I only see a single "LCP: no reply to 1 echo request"

                Do you have access to the modems on a private IP at all

                no. One modem doesn't have a web interface afaik, and the other is being used in bridge mode (so the router doesnt do any tcp/ip stuff with it, as I understand)

                S 1 Reply Last reply Mar 18, 2024, 2:41 PM Reply Quote 0
                • S
                  stephenw10 Netgate Administrator @lazyt
                  last edited by Mar 18, 2024, 2:41 PM

                  @lazyt said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                  No. In 10 days of PPP logs, I only see a single "LCP: no reply to 1 echo request"

                  Hmm, and the ppp sessions remain up on both WANs?

                  And I assume you saw multiple WAN alarms during that time?

                  L S 2 Replies Last reply Mar 19, 2024, 6:42 AM Reply Quote 0
                  • L
                    lazyt @stephenw10
                    last edited by Mar 19, 2024, 6:42 AM

                    @stephenw10

                    @stephenw10 said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                    And I assume you saw multiple WAN alarms during that time?

                    sure, tons

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator @stephenw10
                      last edited by Mar 19, 2024, 12:28 PM

                      @stephenw10 said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                      Hmm, and the ppp sessions remain up on both WANs?

                      Importantly that? ^ The uptime on both WANs shows they never disconnected?

                      If that's the case this looks like something completely different. Like maybe it lost routing. Or something hung whilst reloading the filter maybe. I would expect to see something logged in either case though.

                      L 1 Reply Last reply Mar 21, 2024, 7:03 AM Reply Quote 0
                      • L lazyt referenced this topic on Mar 21, 2024, 7:00 AM
                      • L
                        lazyt @stephenw10
                        last edited by Mar 21, 2024, 7:03 AM

                        @stephenw10 thank you so much for your help! I'm nearing the end of my rope with these disconnects (as are my Zoom colleagues), and I think I'll just try a new box. Thanks so much!!

                        1 Reply Last reply Reply Quote 0
                        • M
                          Maff
                          last edited by Mar 26, 2024, 9:22 AM

                          Hi sorry for asking for this to be simplified but apparently virgin media has broken there 2.5gig port with the latest firmware for the hub5 the thread on the forums say it is due to eee and would like to test this but so far can’t find out how to get info if it is enabled or not, am using an intel x710 card

                          Currently on pfsense 23.09-1

                          Can someone list the commands needed to get info about that state of eee my card is listed as ixl0 and ixl1, 0 is the wan port

                          Thread for virgin media https://community.virginmedia.com/t5/Tech-Chatter/Hub-5-Firmware-Upgrade/td-p/5480079/page/2

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Mar 26, 2024, 1:33 PM

                            On ixl it is set by:

                            [24.03-BETA][admin@7100.stevew.lan]/root: sysctl -d dev.ixl.0.eee.enable
                            dev.ixl.0.eee.enable: Enable Energy Efficient Ethernet (EEE)
                            [24.03-BETA][admin@7100.stevew.lan]/root: sysctl dev.ixl.0.eee.enable
                            dev.ixl.0.eee.enable: 0
                            

                            You can also check to see if it's sending or receiving LPI symbols:

                            [24.03-BETA][admin@7100.stevew.lan]/root: sysctl dev.ixl.0.eee
                            dev.ixl.0.eee.rx_lpi_count: 0
                            dev.ixl.0.eee.tx_lpi_count: 0
                            dev.ixl.0.eee.rx_lpi_status: 0
                            dev.ixl.0.eee.tx_lpi_status: 0
                            dev.ixl.0.eee.enable: 0
                            

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • M
                              Maff
                              last edited by Mar 26, 2024, 6:12 PM

                              thanks for that

                              would i be correct in saying that eee is enabled?

                              sysctl dev.ixl.0.eee
                              dev.ixl.0.eee.rx_lpi_count: 1205843
                              dev.ixl.0.eee.tx_lpi_count: 1448892
                              dev.ixl.0.eee.rx_lpi_status: 1
                              dev.ixl.0.eee.tx_lpi_status: 1
                              dev.ixl.0.eee.enable: 1

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Mar 26, 2024, 7:46 PM

                                Yes that's enabled and it's both seeing and ending LPI.

                                M 1 Reply Last reply Mar 26, 2024, 8:08 PM Reply Quote 0
                                • M
                                  Maff @stephenw10
                                  last edited by Maff Mar 26, 2024, 8:17 PM Mar 26, 2024, 8:08 PM

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Maff
                                    last edited by Maff Mar 26, 2024, 8:51 PM Mar 26, 2024, 8:32 PM

                                    okay so managed to disable it but doesn't seem to be persistant through a reboot, but turning it off does solve the virgin media problem, just need to make it permament now

                                    to disable it i had to use sysctl dev.ixl.0.eee.enable:0

                                    and adding dev.ixl.0.eee.enable as a system tunable and a value of 0 survives a reboot :)

                                    U 2 Replies Last reply Mar 26, 2024, 9:13 PM Reply Quote 1
                                    • U
                                      uplink @Maff
                                      last edited by Mar 26, 2024, 9:13 PM

                                      @Maff and @stephenw10

                                      I think if you look at my 1st post in this thread I mention adding an option to the system tunables section in the pfSense UI so that the EEE option can configured/persisted. I think that's still a thing?

                                      However, I thought @stephenw10 mentioned there was a bug (not sure it's fixed) that the EEE config below actually uses 1 to disable it, not 0. Although, this is for igc adapters, I'm not sure about your ixl adapter. Maybe @stephenw10 can chime in on how to use the system tunable for your adapter?

                                      @stephenw10 said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                                      EEE is disabled by default in igc in FreeBSD. The description text for 'hw.igc.eee_setting' is incorrect. That should be 1 to disable it as mentioned.

                                      To check your current EEE configuration:

                                      [23.05.1-RELEASE][user@router.lan]/: sysctl hw.igc | grep eee
                                      hw.igc.eee_setting: 1
                                      [23.05.1-RELEASE][user@router.lan]/: sysctl dev.igc.0 | grep eee
                                      dev.igc.0.eee_control: 1
                                      

                                      login-to-view

                                      S 1 Reply Last reply Mar 26, 2024, 9:39 PM Reply Quote 0
                                      • U
                                        uplink @Maff
                                        last edited by uplink Mar 26, 2024, 9:18 PM Mar 26, 2024, 9:17 PM

                                        I see you found the system tunable! I guess I'm wondering if using a 0 actually disables it. Again, there was mention of a bug in this thread that system tunable uses a 1 to set EEE to disable (at least for my igc adapter).

                                        @Maff said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                                        and adding dev.ixl.0.eee.enable as a system tunable and a value of 0 survives a reboot :)

                                        M 1 Reply Last reply Mar 26, 2024, 10:28 PM Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator @uplink
                                          last edited by Mar 26, 2024, 9:39 PM

                                          @uplink said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                                          However, I thought @stephenw10 mentioned there was a bug (not sure it's fixed) that the EEE config below actually uses 1 to disable it, not 0.

                                          That's true but that only applies to igc.

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