{"id":661,"date":"2023-12-23T18:45:58","date_gmt":"2023-12-23T18:45:58","guid":{"rendered":"https:\/\/marinelvis.ro\/?p=661"},"modified":"2023-12-23T18:45:58","modified_gmt":"2023-12-23T18:45:58","slug":"wol","status":"publish","type":"post","link":"https:\/\/marinelvis.xyz\/index.php\/2023\/12\/23\/wol\/","title":{"rendered":"WOL"},"content":{"rendered":"<p>Se instaleaza <em>ethtool<\/em>:<\/p>\n<pre>sudo apt install ethtool<\/pre>\n<p>Se listeaza interfetele de retea:<\/p>\n<pre>ip a<\/pre>\n<p>Interfata LAN este de genul <em>eno0<\/em><br \/>\nSe activeaza temporar WOL pe interfata <em>eno0<\/em>:<\/p>\n<pre>sudo ethtool --change eno0 wol g<\/pre>\n<p>Se verifica:<\/p>\n<pre>sudo ethtool eno0<\/pre>\n<p>Trebuie sa apara:<\/p>\n<blockquote><p><em>Wake-on: g<\/em><\/p><\/blockquote>\n<p>Pentru activare permanenta se identifica locatia utilitarului <em>ethtool<\/em>:<\/p>\n<pre>which ethtool<\/pre>\n<p>Ar trebui sa se regaseasca la <em>\/usr\/sbin\/ethtool<\/em>. Apoi:<\/p>\n<pre>sudo nano \/etc\/systemd\/system\/wol.service<\/pre>\n<p>Se introduce:<\/p>\n<blockquote><p><em>Description=Enable Wake On Lan<br \/>\n[Service]<br \/>\nType=oneshot<br \/>\nExecStart = \/usr\/sbin\/ethtool &#8211;change eno0 wol g<br \/>\n[Install]<br \/>\nWantedBy=basic.target<\/em><\/p><\/blockquote>\n<p>Se activeaza serviciul WOL:<\/p>\n<pre>sudo systemctl daemon-reload\nsudo systemctl enable wol.service<\/pre>\n<p>Pentru boot prin retea, de pe alt calculator:<\/p>\n<pre>wakeonlan D8:9E:F3:9E:9A:E3<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Se instaleaza ethtool: sudo apt install ethtool Se listeaza interfetele de retea: ip a Interfata LAN este de genul eno0 Se activeaza temporar WOL pe interfata eno0: sudo ethtool &#8211;change eno0 wol g Se verifica: sudo ethtool eno0 Trebuie sa apara: Wake-on: g Pentru activare permanenta se identifica locatia utilitarului ethtool: which ethtool Ar trebui [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-661","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=661"}],"version-history":[{"count":0,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/661\/revisions"}],"wp:attachment":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}