8
4
I'm trying to wake my PC using WOL (Wake on LAN) from my pi. I enabled Wake on LAN in the device manager for my ethernet adapter and enabled it in my bios. When the computer is switched off, the lights of the ethernet port are on.
Now, on my pi, this is how I tried to send the magic packet :
root@raspberry:~# wakeonlan 00:11:22:33:44:55
Sending magic packet to 255.255.255.255:9 with 00:11:22:33:44:55
When I send this command, I get a message that it is sending the packet, but my PC does not switch on.
00:11:22:33:44:55 is the mac address of my ethernet port on my windows. The pi and my PC are on the same network. I'm trying this for the first time, so please comment if I've done anything dastardly stupid.
My PC runs Windows 7 Ultimate.
Pi runs Raspbian (linux).
Note : I replaced my real mac address with the one above.
That's not a valid mac address, so that's why it doesn't work (Not valid as in there's no manufacturer known for that MAC.) Most start 00:0e.... – djsmiley2k TMW – 2016-10-13T12:12:54.603
1@djsmiley2k: That doesn't automatically make it invalid though. While it's a bad idea to use an unregistered OUI (it's better to set the 'locally administered' bit instead), that doesn't actually prevent such MACs from working in any way at all. Or, possibly, the OUI could have been a private registration (IEEE offers those at an additional price). By the way, manufacturer prefixes have gone way beyond 00:0e: in the past few years. – user1686 – 2016-10-13T12:41:32.757
@grawity while true, I don't think this user has got to the point where they are editing the mac of their network cards... – djsmiley2k TMW – 2016-10-13T12:43:53.523
1@djsmiley2k: eh, I wouldn't be surprised if they ended up downloading one of those little 'MAC randomizer' tools, or if some security shovelware did that automatically, or if they got a knockoff NIC with an unregistered OUI ... or if they just mistyped the MAC address. – user1686 – 2016-10-13T12:46:12.400
1Sorry, I changed my real mac address very slightly but now I think I should have just typed 00:11:22:33:44:55. I wasn't sure if there was any mac address related scams. Plus, I'm pretty sure mine is a custom one that I changed to in the network address tab in the properties menu of my network card. (Did it from device manager.) (You were wrong about that part @djsmiley2k). – Don't Root here plz... – 2016-10-13T13:05:06.830
@grawity I think I will surprise you on this one. No, I did not download a mac randomizer, or get an knockoff NIC (It's actually integrated on my ASUS Z170 Pro-Gaming) or mistype it. I changed it slightly because I wasn't sure if there were any MAC address related scams (I know, stupid isn't it?) I have now changed it to 00:11:22:33:44:55. – Don't Root here plz... – 2016-10-13T13:13:40.900
1Not stupid, makes sense and better to be safe than sorry. I don't know of any mac address related scams other than maybe the telephone call from your 'isp' claiming something and reading off your mac to you to 'prove its them'. Ok so if that's not the issue then I'm unsure what is. – djsmiley2k TMW – 2016-10-13T14:33:00.830