Wake-on-LAN is platform-independent any application that sends "magic packets" can wake up computers from shutdown state (as long mains power is not off) regardless of the OS it boots into afterwards. Sudo service wakeonlan start 3 Waking with Magic Packet Logger -t 'wakeonlan init script' enabling wake on lan for $interface Sudo bash -c "cat > /etc/init/nf" <<'EOF' ![]() The following commands create nf with the upstart code to run wakeonlan (as per example above), set the file to exectuable, and start the service : ![]() To have an application or service is running on startup, Ubuntu uses Upstart scripts which replace the old init scripts. Note: "g" indicates wake on Magic Packet is enabled.Supported link modes: 10baseT/Half 10baseT/Full Run the following command to enable it on ethX (where X is the Ethernet device number). Sudo apt-get install ethtool 2.2 Setup ethtool WOL options One of the easiest applications to use to enable Wake-On-LAN is ethtool. One must tell Ethernet controller to WOL when boots up and tell "halt" script not to bring down controller during shut-down. Even if you see the Ethernet port LED is on after the halt/shutdown, the OS shuts off the Ethernet internally. ![]()
0 Comments
Leave a Reply. |