Wake computer via Wake On Lan using Arduino/Raspberry Pi












0














Is it possible to use Wake On Lan (WOL) without going through the router? Using an Arduino or Raspberry Pi connected to the internet to manually (through the ethernet port) tell the computer to wake up? The picture below represents what I'm trying to accomplish.



enter image description here



Since the router tells the computer to wake up through the ethernet-cable, wouldn't it be possible to re-create what happens without including the WiFi router?










share|improve this question






















  • Yes. WOL is just "FF FF FF FF FF FF" followed by the mac of the target network adapter repeating 16 times, so an Arduino or RPI would be perfectly suited just by sending the magic packet with the MAC for the connected device.
    – shawn
    Dec 23 '18 at 3:11










  • But as said, we'd like to send it directly through the cable, not as a magic packet. The Arduino / Raspberry intercepts the Ethernet cable, and should send the signal through the wire (if possible)
    – Albert MN.
    Dec 23 '18 at 14:04










  • You can still use the arduino or raspberry pi to send the magic packet. There are literally dozens of samples of exactly this on Google. The point of having the passthru network ports is so you can do things like this or munge data as it passes through.
    – shawn
    Dec 23 '18 at 19:52










  • That's not what I want to do though :) As stated, I want to send it through the pins "manually".
    – Albert MN.
    Dec 27 '18 at 16:19










  • Exactly how do you perceive a difference? The source is the arduino/rpi, the destination is an ethernet port connected to it. The WOL protocol is reliant on a magic packet that is formed in a specific structure with the FFx6+MAC*16.. Even if there's no switch/router/modem involved, the magic packet can still be sent across the eth port. Even if there's no routing or addressing going on. The magic packet doesn't rely upon the IP of the target device, it relies on the MAC address, and broadcasting the magic packet across the port will work just fine.
    – shawn
    Dec 27 '18 at 18:47
















0














Is it possible to use Wake On Lan (WOL) without going through the router? Using an Arduino or Raspberry Pi connected to the internet to manually (through the ethernet port) tell the computer to wake up? The picture below represents what I'm trying to accomplish.



enter image description here



Since the router tells the computer to wake up through the ethernet-cable, wouldn't it be possible to re-create what happens without including the WiFi router?










share|improve this question






















  • Yes. WOL is just "FF FF FF FF FF FF" followed by the mac of the target network adapter repeating 16 times, so an Arduino or RPI would be perfectly suited just by sending the magic packet with the MAC for the connected device.
    – shawn
    Dec 23 '18 at 3:11










  • But as said, we'd like to send it directly through the cable, not as a magic packet. The Arduino / Raspberry intercepts the Ethernet cable, and should send the signal through the wire (if possible)
    – Albert MN.
    Dec 23 '18 at 14:04










  • You can still use the arduino or raspberry pi to send the magic packet. There are literally dozens of samples of exactly this on Google. The point of having the passthru network ports is so you can do things like this or munge data as it passes through.
    – shawn
    Dec 23 '18 at 19:52










  • That's not what I want to do though :) As stated, I want to send it through the pins "manually".
    – Albert MN.
    Dec 27 '18 at 16:19










  • Exactly how do you perceive a difference? The source is the arduino/rpi, the destination is an ethernet port connected to it. The WOL protocol is reliant on a magic packet that is formed in a specific structure with the FFx6+MAC*16.. Even if there's no switch/router/modem involved, the magic packet can still be sent across the eth port. Even if there's no routing or addressing going on. The magic packet doesn't rely upon the IP of the target device, it relies on the MAC address, and broadcasting the magic packet across the port will work just fine.
    – shawn
    Dec 27 '18 at 18:47














0












0








0







Is it possible to use Wake On Lan (WOL) without going through the router? Using an Arduino or Raspberry Pi connected to the internet to manually (through the ethernet port) tell the computer to wake up? The picture below represents what I'm trying to accomplish.



enter image description here



Since the router tells the computer to wake up through the ethernet-cable, wouldn't it be possible to re-create what happens without including the WiFi router?










share|improve this question













Is it possible to use Wake On Lan (WOL) without going through the router? Using an Arduino or Raspberry Pi connected to the internet to manually (through the ethernet port) tell the computer to wake up? The picture below represents what I'm trying to accomplish.



enter image description here



Since the router tells the computer to wake up through the ethernet-cable, wouldn't it be possible to re-create what happens without including the WiFi router?







wireless-networking raspberry-pi wake-on-lan arduino






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 21 '18 at 19:59









Albert MN.

1085




1085












  • Yes. WOL is just "FF FF FF FF FF FF" followed by the mac of the target network adapter repeating 16 times, so an Arduino or RPI would be perfectly suited just by sending the magic packet with the MAC for the connected device.
    – shawn
    Dec 23 '18 at 3:11










  • But as said, we'd like to send it directly through the cable, not as a magic packet. The Arduino / Raspberry intercepts the Ethernet cable, and should send the signal through the wire (if possible)
    – Albert MN.
    Dec 23 '18 at 14:04










  • You can still use the arduino or raspberry pi to send the magic packet. There are literally dozens of samples of exactly this on Google. The point of having the passthru network ports is so you can do things like this or munge data as it passes through.
    – shawn
    Dec 23 '18 at 19:52










  • That's not what I want to do though :) As stated, I want to send it through the pins "manually".
    – Albert MN.
    Dec 27 '18 at 16:19










  • Exactly how do you perceive a difference? The source is the arduino/rpi, the destination is an ethernet port connected to it. The WOL protocol is reliant on a magic packet that is formed in a specific structure with the FFx6+MAC*16.. Even if there's no switch/router/modem involved, the magic packet can still be sent across the eth port. Even if there's no routing or addressing going on. The magic packet doesn't rely upon the IP of the target device, it relies on the MAC address, and broadcasting the magic packet across the port will work just fine.
    – shawn
    Dec 27 '18 at 18:47


















  • Yes. WOL is just "FF FF FF FF FF FF" followed by the mac of the target network adapter repeating 16 times, so an Arduino or RPI would be perfectly suited just by sending the magic packet with the MAC for the connected device.
    – shawn
    Dec 23 '18 at 3:11










  • But as said, we'd like to send it directly through the cable, not as a magic packet. The Arduino / Raspberry intercepts the Ethernet cable, and should send the signal through the wire (if possible)
    – Albert MN.
    Dec 23 '18 at 14:04










  • You can still use the arduino or raspberry pi to send the magic packet. There are literally dozens of samples of exactly this on Google. The point of having the passthru network ports is so you can do things like this or munge data as it passes through.
    – shawn
    Dec 23 '18 at 19:52










  • That's not what I want to do though :) As stated, I want to send it through the pins "manually".
    – Albert MN.
    Dec 27 '18 at 16:19










  • Exactly how do you perceive a difference? The source is the arduino/rpi, the destination is an ethernet port connected to it. The WOL protocol is reliant on a magic packet that is formed in a specific structure with the FFx6+MAC*16.. Even if there's no switch/router/modem involved, the magic packet can still be sent across the eth port. Even if there's no routing or addressing going on. The magic packet doesn't rely upon the IP of the target device, it relies on the MAC address, and broadcasting the magic packet across the port will work just fine.
    – shawn
    Dec 27 '18 at 18:47
















Yes. WOL is just "FF FF FF FF FF FF" followed by the mac of the target network adapter repeating 16 times, so an Arduino or RPI would be perfectly suited just by sending the magic packet with the MAC for the connected device.
– shawn
Dec 23 '18 at 3:11




Yes. WOL is just "FF FF FF FF FF FF" followed by the mac of the target network adapter repeating 16 times, so an Arduino or RPI would be perfectly suited just by sending the magic packet with the MAC for the connected device.
– shawn
Dec 23 '18 at 3:11












But as said, we'd like to send it directly through the cable, not as a magic packet. The Arduino / Raspberry intercepts the Ethernet cable, and should send the signal through the wire (if possible)
– Albert MN.
Dec 23 '18 at 14:04




But as said, we'd like to send it directly through the cable, not as a magic packet. The Arduino / Raspberry intercepts the Ethernet cable, and should send the signal through the wire (if possible)
– Albert MN.
Dec 23 '18 at 14:04












You can still use the arduino or raspberry pi to send the magic packet. There are literally dozens of samples of exactly this on Google. The point of having the passthru network ports is so you can do things like this or munge data as it passes through.
– shawn
Dec 23 '18 at 19:52




You can still use the arduino or raspberry pi to send the magic packet. There are literally dozens of samples of exactly this on Google. The point of having the passthru network ports is so you can do things like this or munge data as it passes through.
– shawn
Dec 23 '18 at 19:52












That's not what I want to do though :) As stated, I want to send it through the pins "manually".
– Albert MN.
Dec 27 '18 at 16:19




That's not what I want to do though :) As stated, I want to send it through the pins "manually".
– Albert MN.
Dec 27 '18 at 16:19












Exactly how do you perceive a difference? The source is the arduino/rpi, the destination is an ethernet port connected to it. The WOL protocol is reliant on a magic packet that is formed in a specific structure with the FFx6+MAC*16.. Even if there's no switch/router/modem involved, the magic packet can still be sent across the eth port. Even if there's no routing or addressing going on. The magic packet doesn't rely upon the IP of the target device, it relies on the MAC address, and broadcasting the magic packet across the port will work just fine.
– shawn
Dec 27 '18 at 18:47




Exactly how do you perceive a difference? The source is the arduino/rpi, the destination is an ethernet port connected to it. The WOL protocol is reliant on a magic packet that is formed in a specific structure with the FFx6+MAC*16.. Even if there's no switch/router/modem involved, the magic packet can still be sent across the eth port. Even if there's no routing or addressing going on. The magic packet doesn't rely upon the IP of the target device, it relies on the MAC address, and broadcasting the magic packet across the port will work just fine.
– shawn
Dec 27 '18 at 18:47










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386766%2fwake-computer-via-wake-on-lan-using-arduino-raspberry-pi%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386766%2fwake-computer-via-wake-on-lan-using-arduino-raspberry-pi%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido