• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Wake on lan not working

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    15
    2.3k
    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.
    • J
      JimmyJ0516 @Wayne Workman
      last edited by

      @Wayne-Workman So I just installed ethtool and tried this command

      ethtool interface | grep wake-on

      Cannot get device settings: No such device
      Cannot get wake-on-lan settings: No such device
      Cannot get message level: No such device
      Cannot get link status: No such device

      and these are my results

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @JimmyJ0516
        last edited by

        @JimmyJ0516 where it says interface you need to replace that with your actual interface. use ip addr list to get a list of them. Typical names are like eth0 or enp0s1 or similar. Google search: “linux network interface names” for learnings.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        J 1 Reply Last reply Reply Quote 0
        • J
          JimmyJ0516 @Wayne Workman
          last edited by

          @Wayne-Workman I did that as well and once I enter that command nothing happened. so I’m assuming it enabled it ??? but when I check the eth0 settings WOL is not on there.

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @JimmyJ0516
            last edited by

            @JimmyJ0516 So if the CLI does not work for WOL of some system on your network, then you are having network problems, not fog problems. This is because these CLI commands you’re following do not involve FOG, all they involve is Linux and your network.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            J 1 Reply Last reply Reply Quote 0
            • J
              JimmyJ0516 @Wayne Workman
              last edited by

              @Wayne-Workman is this what I should get from the CLI commands?

              root@HAW-FOG-01:~# ethtool eth0 | grep wake-on
              root@HAW-FOG-01:~# ethtool eth0
              Settings for eth0:
              Supported ports: [ ]
              Supported link modes: Not reported
              Supported pause frame use: No
              Supports auto-negotiation: No
              Advertised link modes: Not reported
              Advertised pause frame use: No
              Advertised auto-negotiation: No
              Speed: 10000Mb/s
              Duplex: Unknown! (255)
              Port: Other
              PHYAD: 0
              Transceiver: internal
              Auto-negotiation: off
              Link detected: yes
              root@HAW-FOG-01:

              also another thing I just came to my mind. this will not work if there are VLANs established?

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                I’m going to try to address this more in-depth when I get home.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @JimmyJ0516
                  last edited by

                  @JimmyJ0516 Try to follow this: https://www.cyberciti.biz/tips/linux-send-wake-on-lan-wol-magic-packets.html
                  You’ll need to install etherwake.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  J 2 Replies Last reply Reply Quote 0
                  • J
                    JimmyJ0516 @Wayne Workman
                    last edited by

                    @Wayne-Workman thank you I will try this sorry for the late response. I am busy doing a last minute Rack install with switch upgrades so that is currently taking up most of my time before the school year starts. I will get back to you once i test thank you very much again i really appreciate it

                    1 Reply Last reply Reply Quote 0
                    • J
                      JimmyJ0516 @Wayne Workman
                      last edited by

                      @Wayne-Workman Hi Wayne I finally got around to try the link you sent me but I had no luck.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        @JimmyJ0516 Can you please elaborate more on how your setup looks like? Is FOG installed on a physical server or VM? What kind of server/VM hypervisor? What does your network look like is it one big subnet for all five schools or different subnets maybe VLANs or even routers in between?

                        As a first test I would connect a client as close to your FOG server as possible, right on the same switch if you can. Now try etherwake as suggested by Wayne. Make sure you use the correct client MAC address. Possibly take a picture of the command and output and post here.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          JimmyJ0516 @Sebastian Roth
                          last edited by

                          @Sebastian-Roth @Wayne-Workman First of all Thank you very much for assisting me through all of this. I am currently running FOG on a Hyper V VM. Each of them are on different VLANs they connect through fiber on a Meraki Switch.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Sebastian Roth

                            @JimmyJ0516 Definitely an issue of sending Wake On LAN packets across VLANs and all that. We talked on chat. Not sure yet if the switches used (Cisco Meraki MS-350) can do something like “UDP-helper”, directed broadcasts or call it whatever you like. At least I have not found and details yet.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                            161

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project