FOG Project

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

    WOL on Ubuntu 18.04 with 2 nics

    General Problems
    5
    11
    168
    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
      jdriz last edited by

      Hi,

      My fogserver is on Ubuntu 18.04 with two nics. One is for the fog server (eth0:10.100.20.x) and the second is for internet access for the machine (eth1: 10.100.10.x).

      I have tried Wake-up a client machine on Basic Tasks and on Power management to schedule the task, it goes green but it doesnt do anything.

      I’ve read that it might have something to do with /etc/hosts/ but Im not sure what to do there. Does anyone know how to do this?

      Thank you

      1 Reply Last reply Reply Quote 0
      • C
        chasosnature @Sebastian Roth last edited by

        @Sebastian-Roth

        ok

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

          @chasosnature This has nothing to do with this topic on WOL as far as I see. Please open you own topic and post all your details: FOG version, OS version, steps you took, errors and so on.

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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

          C 1 Reply Last reply Reply Quote 0
          • C
            chasosnature @Sebastian Roth last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator last edited by

              @chasosnature Which scripts do you mean??

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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

              C 1 Reply Last reply Reply Quote 0
              • C
                chasosnature last edited by

                do you mind me asking how did you get FOG to work on ubuntu 18?
                all my scripts are empty, should it still image with the post, download and other script empty…it was empty by default after installation

                please advice

                1 Reply Last reply Reply Quote 0
                • J
                  jdriz last edited by

                  Hi guys,

                  Thanks for all the help. I think I’ve figured out what the problem is.
                  I’ve tried WOL on another type of computer “Lenovo”, it it works perfectly.

                  The computer I was trying wake on lan before was a SuperMicro. I think the nic needs pcie power and that certain computer doesnt have any.

                  1 Reply Last reply Reply Quote 0
                  • D
                    Daniel Miller @jdriz last edited by Daniel Miller

                    @jdriz
                    Have you attempted to manually wake the machines? It isn’t installed as part of FOG, but wakeonlan should be available for installation through your distribution’s package management system. I believe the syntax is wakeonlan <mac address>
                    What model machines are the clients? Some manufacturers (notably Dell) have other settings besides wake on lan that need to change for wake on lan to function correctly.

                    Edit: You may need to add the -i <ip address> argument if your default route is to eth1. The IP address in this case could be 10.100.20.255 (directed broadcast address for your client network).

                    1 Reply Last reply Reply Quote 0
                    • george1421
                      george1421 Moderator @jdriz last edited by

                      @jdriz Does WOL work correctly if the computers are unplugged, wait 10 seconds then plug back in. Then issue the WOL command?

                      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!

                      1 Reply Last reply Reply Quote 0
                      • J
                        jdriz last edited by

                        Are the nics in the server on different networks they are both on 255.255.255.0

                        In which network are your clients? My clients are in the eth0 network (10.100.20.x)

                        Do the clients actually wake up when the task is scheduled The task can be scheduled but the client does not wake up. I have to manually turn them on for the task to run. wake on lan is configured on the clients nic

                        george1421 D 2 Replies Last reply Reply Quote 0
                        • D
                          Daniel Miller last edited by

                          Are the nics in the server on different networks (i.e. is the subnet mask more than 16 bits / 255.255.0.0)?
                          In which network are your clients?
                          Do the clients actually wake up when the task is scheduled?

                          Keep in mind that wakeonlan sends its packets to the broadcast address (255.255.255.255). Traffic to the broadcast address is not routed beyond the network in which it is generated.

                          /etc/hosts is used for storing local hostname to IP address mappings. It is unlikely to be involved in the wakeonlan process.

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

                          173
                          Online

                          10.2k
                          Users

                          16.3k
                          Topics

                          149.9k
                          Posts

                          Copyright © 2012-2020 FOG Project