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

    WOL Doesnt Seem To Be Working

    Scheduled Pinned Locked Moved General pfSense Questions
    22 Posts 5 Posters 2.3k 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.
    • C
      comet424 @comet424
      last edited by

      i tried this and then wol but still no packets
      mac.PNG

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

        Yes, you won't see it by filtering by the target MAC because the WoL packet is broadcast to ff:ff:ff:ff:ff:ff. The target MAC is in the packet contents and is not the source or destination MAC so that won't match.

        Set only port 40000 in the pcap if you need to filter it and retest.

        Screenshot from 2023-10-11 00-04-06.png

        C 1 Reply Last reply Reply Quote 0
        • C
          comet424 @stephenw10
          last edited by

          @stephenw10
          ok so i tested all 3... each one gave a reading 2 times... they gave a different port? and i guess the mac address is hidden in the packets

          so then that part is working something is wrong in the configuration of my switch then correct? as my computers are set for WOL and the network amber light flashes while the computer is off it just doesnt wanna wake up

          the mikrotik documenation is poor

          C 1 Reply Last reply Reply Quote 0
          • C
            comet424 @comet424
            last edited by

            @comet424 wol2.PNG

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

              Ok, there you go. So, assuming that's the correct interface it is sending the packets. Either they aren't arriving at the target devices or the target devices are not listening for them. Probably the latter. Some machines are a PITA to ensure they shutdown in the correct mode for WoL.

              C 1 Reply Last reply Reply Quote 0
              • C
                comet424 @stephenw10
                last edited by

                @stephenw10 ya the interface is the lan and it does the vlans too so vlans 10 20 30 40 50 all go out the same interface and into the miktrotek switch...

                the servers all run unraid and when they boot up i have a go file that runs
                ethtool -s eth0 wol g

                that enables the the ethernet to go into wake up lan mode when it shuts down plus the motherboard are set if power is off or so they get wake up lan from the motherboard...

                what is a PITA?

                and is there a way to test if the WOL packets are being sent to the switch or the ports etc?

                Bob.DigB 1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  If you can set a mirror port on the switch you can pcap on that see what's actually leaving whatever it's mirroring.

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    comet424 @stephenw10
                    last edited by

                    @stephenw10 it has a mirror to option on one of the pages not sure how i use it though

                    and how do i pcap on the mirror port?
                    screen cap.PNG

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

                      I've never used Mikrotik SwOS so I can't be sure but I'd expect to select a port as mirror ingress and another port to mirror it to. Unclear what the difference would be between 'mirror to' and 'mirror egress'. Then connect a laptop (or something suitable) to the egress port and pcap on that.

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        comet424 @stephenw10
                        last edited by

                        @stephenw10
                        i tried a setting and i downloaded some program called WireShark... i though program be easy more of a headache i wanted it it to just sit there and wait till i hit the WOL in pfsense and it would populate like pfsense did but its going haywire i havent figure out how to slow it down

                        have you used it or is there a pfense pcap that i can use on the laptop to see if its getting the wol packet.. cuz this crazy its going sooooooooo fast i cant even read it lol

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

                          Yup Wireshark is pretty much the standard packet capture analysis tool and can also capture directly.

                          You can apply a filter to the capture. So destination port 40000 for example:
                          Screenshot from 2023-10-11 12-44-49.png

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator @comet424
                            last edited by johnpoz

                            @comet424 said in WOL Doesnt Seem To Be Working:

                            cuz this crazy its going sooooooooo fast i cant even read it lol

                            If your going to run wireshark on your machine to make sure your machine is seeing some specific traffic. Its best to shut down all other connections, like browser or apps, etc. And also you can set a capture filter to only show the specifics your looking for.

                            The gui in pfsense packet capture simplifies doing that. But if you want to do it directly with wireshark running on your device.

                            https://wiki.wireshark.org/CaptureFilters

                            edit: not sure what version of wireshark @stephenw10 is using there, but seems a bit dated ;) ?

                            wol.jpg

                            There is the packet capture from pfsense, and also from wireshark running on my pc with capture filter in place.

                            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.8, 24.11

                            stephenw10S 1 Reply Last reply Reply Quote 0
                            • Bob.DigB
                              Bob.Dig LAYER 8 @comet424
                              last edited by

                              @comet424 said in WOL Doesnt Seem To Be Working:

                              ya the interface is the lan and it does the vlans too so vlans 10 20 30 40 50 all go out the same interface and into the miktrotek switch...

                              So on what VLAN is the host you want to wake...

                              1 Reply Last reply Reply Quote 0
                              • JKnottJ
                                JKnott @comet424
                                last edited by JKnott

                                @comet424 said in WOL Doesnt Seem To Be Working:

                                hi i know the WOL worked long ago and i hadnt used it.. but i wanted to start using it again and my pre defined ones werent working
                                i checked the MAC address's and they still correct...

                                Assuming everything is on the same LAN, WoL has nothing to do with IP or firewall rules. A magic packet is sent for the MAC address, which the hardware responds to. This means the hardware must support WoL and it must be enabled.

                                PfSense running on Qotom mini PC
                                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                                UniFi AC-Lite access point

                                I haven't lost my mind. It's around here...somewhere...

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

                                  @johnpoz said in WOL Doesnt Seem To Be Working:

                                  not sure what version of wireshark @stephenw10 is using there, but seems a bit dated ;) ?

                                  Ha. It's 3.6.2 in Mint. I'm going back to Ethereal.... 😉

                                  Interesting it doesn't see it as WoL though.

                                  johnpozJ 1 Reply Last reply Reply Quote 0
                                  • johnpozJ
                                    johnpoz LAYER 8 Global Moderator @stephenw10
                                    last edited by

                                    @stephenw10 said in WOL Doesnt Seem To Be Working:

                                    Ethereal

                                    Your dating yourself with that name ;) hehehe

                                    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.8, 24.11

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