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

    WOL Not Working After Imaging

    Scheduled Pinned Locked Moved Solved
    General Problems
    2
    10
    1.1k
    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.
    • F
      Flyer
      last edited by

      I am finding that none of my machine will respond to Wake On Lan after being imaged. I thought this was the default.

      I can’t imaging I somehow turned this off in the BIOS of all the machines.

      They are running Windows. Perhaps I missed something in the Golden Image. Any thoughts? The NICs are a bit heterogeneous. Some Intel, some of the newer Realtek 2.5Gig. So I am not installing any drivers, but rather letting Windows 10 find the drivers (which normally works fine with fresh manual installs).

      Thanks.

      1 Reply Last reply Reply Quote 0
      • F
        Flyer
        last edited by

        So installing the NIC driver manually seems to fix this. Any thoughts on the best way to install the proper driver for each machine? Would this be best handled with a SnapIn?

        Thanks.

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

          @Flyer said in WOL Not Working After Imaging:

          So installing the NIC driver manually seems to fix this

          You mean the NIC driver on Windows??

          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

          F 1 Reply Last reply Reply Quote 0
          • F
            Flyer @Sebastian Roth
            last edited by

            @Sebastian-Roth Yes, after manually installing the Realtek NIC driver the WOL gets turned on. I can’t set the WOL with powercfg on the machines with the Realtek 2.5GbE NIcs until after I install the driver.

            Of course I really need to find a way to set those to ONLY magic packet can wake because they default to any traffic, which results in a lot of waking.

            It looks like on the Intel NICs I can set WOL to on via powercfg

            So I am trying to find the “Foggy” way of handling the heterogeneous NIC setup. I can’t just put the drivers in the golden image because there are different NICs. (Or could I actually install both? Not sure the installers will even let me install in a VM.)

            I was wondering about a Snapin. The Realtek drivers use an InstallShield EXE, which supposedly support command like install (haven’t tried it yet).

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

              @Flyer said in WOL Not Working After Imaging:

              I was wondering about a Snapin. The Realtek drivers use an InstallShield EXE, which supposedly support command like install (haven’t tried it yet).

              Sure you can look into deploying the driver via snapins but it needs to be a setup capable of installing silent - and I mean really silent! Probably not all of the NIC drivers come with this option.

              I don’t know much about this but to me it sounds like this would be better handled using sysprep and automatic driver install after the first bootup. This is not a specific FOG topic but you can search this forum for sysprep and find a fair amount of posts. As well search the web and you find lots more.

              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

              F 1 Reply Last reply Reply Quote 0
              • F
                Flyer @Sebastian Roth
                last edited by

                @Sebastian-Roth Thankfully the installer from Realtek is indeed silent. The only issue is that it of course kills network connectivity for a moment, and I see the Fog client looses its connection, but then retires about a minute and a half later and completes the updating of the server that the install completed.

                The automatic driver install (like that which is built in to Windows… unless you are referring to some Sysprep specific option) installs a generic driver for both Intel and Realtek NICs. The Intel driver installed with automatic updates supports WOL, and it is enabled by default. The Realtek driver installed by Windows does not support WOL. Instead I have to install the Realtek driver (eoither from realtek or from the mobo manufacturer-- I go straight to the source form Realtek).

                Luckily the Realtek driver does indeed support the completely silent option and it works via a snapin.

                The only thing that I cannot figure how to get to work automatically (or remotely, like via a snapin) is the enabling of the “Only allow a magic packet to wake the computer” option. This default to OFF in Realtek’s driver, but ON (like it should) in Intel’s.

                b8a53346-2940-4f1d-b501-24f68d3b2e3e-image.png

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

                  @Flyer said in WOL Not Working After Imaging:

                  The only thing that I cannot figure how to get to work automatically (or remotely, like via a snapin) is the enabling of the “Only allow a magic packet to wake the computer” option. This default to OFF in Realtek’s driver, but ON (like it should) in Intel’s.

                  Looks like there is a registry key for this: https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/power-management-on-network-adapter

                  Either you add a script to your NIC driver installer snapin to set the registry key or you could even do this via post deploy scripting - find an example of the registry use in the fos code (actuall reged call in line 1054).

                  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

                  F 2 Replies Last reply Reply Quote 0
                  • [[undefined-on, S Sebastian Roth, ]]
                  • [[undefined-on, S Sebastian Roth, ]]
                  • F
                    Flyer @Sebastian Roth
                    last edited by

                    @Sebastian-Roth Thank you so much. I could not find that registry setting via searching. Maybe a DuckDuckGo thing, or perhaps user error. This is excellent! Thanks.

                    1 Reply Last reply Reply Quote 0
                    • F
                      Flyer @Sebastian Roth
                      last edited by

                      @Sebastian-Roth If I set that key correctly in the post install do you think the value will hold after a driver installation (via snapin)? I guess they only way to know is to test.

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

                        @Flyer said in WOL Not Working After Imaging:

                        I guess they only way to know is to test.

                        Exactly. 🙂

                        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

                        204

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project