{"id":1607,"date":"2018-03-03T16:36:34","date_gmt":"2018-03-03T15:36:34","guid":{"rendered":"https:\/\/www.hutsky.cz\/blog\/?p=1607"},"modified":"2019-02-02T12:50:08","modified_gmt":"2019-02-02T11:50:08","slug":"debian-buster-and-wake-on-lan","status":"publish","type":"post","link":"https:\/\/www.hutsky.cz\/blog\/2018\/03\/debian-buster-and-wake-on-lan\/","title":{"rendered":"Debian buster and wake on lan"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-1608 size-thumbnail\" src=\"https:\/\/www.hutsky.cz\/blog\/wp-content\/uploads\/Power-Button-Icon-300px-150x150.png\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.hutsky.cz\/blog\/wp-content\/uploads\/Power-Button-Icon-300px-150x150.png 150w, https:\/\/www.hutsky.cz\/blog\/wp-content\/uploads\/Power-Button-Icon-300px-100x100.png 100w, https:\/\/www.hutsky.cz\/blog\/wp-content\/uploads\/Power-Button-Icon-300px-200x200.png 200w, https:\/\/www.hutsky.cz\/blog\/wp-content\/uploads\/Power-Button-Icon-300px.png 290w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/>For quite some time, I used to have a low-end motherboard that didn&#8217;t support Wake on LAN. So when I left for work or holiday, I would usually leave my home PC on, because sometimes I just needed to access it. Now, with a second-hand, but still significantly newer motherboard I got from my brother, I could finally set up WOL and wake the PC up remotely from a Raspberry that is also running at my place &#8211; but Raspberry doesn&#8217;t consume so much electricity. As it&#8217;s often the case, Debian documentation works for the current stable, while I have buster\/testing on my PC at the moment and I had to search for how to to that for a bit. Luckily, I was able to find information elsewhere.<\/p>\n<p>Having enabled the feature in BIOS (it was called &#8220;<span class=\"download_menu\"><span id=\"DgrdView1_msgSubject\">Power On by PME<\/span><\/span>&#8221; instead WOL), I had to enable it on the operating system level as well. To make the change permanent, I added this file:<\/p>\n<pre class=\"\"># cat \/etc\/systemd\/network\/50-wired.link \n[Link]\nWakeOnLan=magic<\/pre>\n<p>Then, from my rpi, I could just<\/p>\n<pre class=\"\">wakeonlan MAC_ADDRESS<\/pre>\n<p>and it worked.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For quite some time, I used to have a low-end motherboard that didn&#8217;t support Wake on LAN. So when I left for work or holiday, I would usually leave my home PC on, because sometimes I just needed to access &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.hutsky.cz\/blog\/2018\/03\/debian-buster-and-wake-on-lan\/\"> <span class=\"screen-reader-text\">Debian buster and wake on lan<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,8],"tags":[10,18,38],"class_list":["post-1607","post","type-post","status-publish","format-standard","hentry","category-hardware","category-operatingsystems","tag-debian","tag-linux","tag-networking"],"_links":{"self":[{"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/posts\/1607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/comments?post=1607"}],"version-history":[{"count":9,"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/posts\/1607\/revisions"}],"predecessor-version":[{"id":1675,"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/posts\/1607\/revisions\/1675"}],"wp:attachment":[{"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/media?parent=1607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/categories?post=1607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hutsky.cz\/blog\/wp-json\/wp\/v2\/tags?post=1607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}