{"id":2061,"date":"2018-03-04T23:51:41","date_gmt":"2018-03-04T14:51:41","guid":{"rendered":"https:\/\/now0930.tk\/wordpress\/?p=2061"},"modified":"2019-09-08T08:25:32","modified_gmt":"2019-09-07T23:25:32","slug":"ubuntu-16-04%ec%9d%98-wol-%ec%8b%a4%ed%97%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/now0930.pe.kr\/wordpress\/ubuntu-16-04%ec%9d%98-wol-%ec%8b%a4%ed%97%98%ea%b8%b0\/","title":{"rendered":"ubuntu 16.04\uc758 wol \uc2e4\ud5d8\uae30"},"content":{"rendered":"<p>\uadf8\ub798\ud53d \uce74\ub4dc\uac00 \uc7a5\ucc29\ub41c PC\uac00 \uc804\ub825\uc744 \ub9ce\uc774 \uba39\uc5b4 \ud3c9\uc18c \uaebc\ub450\uace0, \ud544\uc694\uc5d0 \uc758\ud574\uc11c\ub9cc \ucf1c\uc57c\ub41c\ub2e4.<br \/>WOL\uc774 \uc804\uc5d0 \uc798 \ub418\uc5c8\ub294\ub370, ubuntu 16.04\ub85c \ub118\uc5b4\uc624\ub2c8 \uc798 \uc548\ub41c\ub2e4.<br \/>\uacb0\uad6d 3\uc2dc\uac04 \uace0\uc0dd\ub05d\uc5d0 \ud588\ub294\ub370, \uadf8 \uacb0\uacfc\ub97c \ub0a8\uae34\ub2e4.<\/p>\n<p>\uacb0\ub860\uc740 ethtool\ub85c wake-on:d\ub97c wake-on:g\ub85c \ubcc0\uacbd\uc774\ub2e4.<br \/><a href=\"https:\/\/askubuntu.com\/questions\/764158\/how-to-enable-wake-on-lan-wol-in-ubuntu-16-04\">\uc5ec\uae30<\/a>\ub97c \ucc38\uc870\ud558\uc5ec \ud574\ub2f9 \uba85\ub839\uc744 \ucc3e\uc744 \uc218 \uc788\ub2e4.<\/p>\n<pre class=\"lang:sh decode:true \">sudo ethtool -s &lt;network card id&gt; wol g<\/pre>\n<pre class=\"lang:sh decode:true\">[23:34:05]~&gt;sudo ethtool enp2s0\n\nSettings for enp2s0:\n    Supported ports: [ TP MII ]\n    Supported link modes:   10baseT\/Half 10baseT\/Full \n                            100baseT\/Half 100baseT\/Full \n                            1000baseT\/Half 1000baseT\/Full \n    Supported pause frame use: No\n    Supports auto-negotiation: Yes\n    Advertised link modes:  10baseT\/Half 10baseT\/Full \n                            100baseT\/Half 100baseT\/Full \n                            1000baseT\/Half 1000baseT\/Full \n    Advertised pause frame use: Symmetric Receive-only\n    Advertised auto-negotiation: Yes\n    Link partner advertised link modes:  10baseT\/Half 10baseT\/Full \n                                         100baseT\/Half 100baseT\/Full \n    Link partner advertised pause frame use: Symmetric Receive-only\n    Link partner advertised auto-negotiation: Yes\n    Speed: 100Mb\/s\n    Duplex: Full\n    Port: MII\n    PHYAD: 0\n    Transceiver: internal\n    Auto-negotiation: on\n    Supports Wake-on: pumbg\n    Wake-on: g\n    Current message level: 0x00000033 (51)\n                   drv probe ifdown ifup\n    Link detected: yes\n<\/pre>\n<p>\uc774\uc81c \uc774 \ub3d9\uc791\uc744 \ub9e4 \ubd80\ud305\uc2dc\ub9c8\ub2e4 \ud558\uba74 \ub41c\ub2e4. \uc790\ub3d9\uc73c\ub85c.<\/p>\n<p>\uac80\uc0c9\ud574 \ubcf4\uba74 <code>\/etc\/network\/interface<\/code>\uc758 \ud30c\uc77c\uc744 \uc124\uc815\ud574\uc57c \ud55c\ub2e4\ub294\ub370, \uc798 \uc548\ub41c\ub2e4.<\/p>\n<p><a href=\"https:\/\/askubuntu.com\/questions\/764158\/how-to-enable-wake-on-lan-wol-in-ubuntu-16-04\">\ucc38\uc870 \uc0ac\uc774\ud2b8<\/a>\uc758 <code>\/etc\/systemd\/system\/wol@.service<\/code>\ub97c \ub9cc\ub4e4\uc5b4 \uc124\uc815\ud558\uba74 \uc798 \ub41c\ub2e4.<\/p>\n<p>\uae30\ub85d\uc744 \uc704\ud574, \uc5ec\uae30\uc5d0 \ub2e4\uc2dc \ub0a8\uae34\ub2e4.<\/p>\n<p>\u00a0<\/p>\n<ul>\n<li>First, create the file <code>\/etc\/systemd\/system\/wol@.service<\/code> <sub>(keep the @ symbol)<\/sub>. Put this in it:\n<pre><code>[Unit]\nDescription=Wake-on-LAN for %i\nRequires=network.target\nAfter=network.target\n\n[Service]\nExecStart=\/sbin\/ethtool -s %i wol g\nType=oneshot\n\n[Install]\nWantedBy=multi-user.target\n<\/code><\/pre>\n<\/li>\n<li>Enable this for the interface on boot, run the following command <sub>(change eth3 with your interface)<\/sub>:\n<pre><code>systemctl enable wol@eth3\n<\/code><\/pre>\n<p>You should see something like this:<\/p>\n<pre><code>Created symlink from \/etc\/systemd\/system\/multi-user.target.wants\/wol@eth3.service to \/etc\/systemd\/system\/wol@.service.\n<\/code><\/pre>\n<\/li>\n<li>To check if it&#8217;s enabled, run the following command <sub>(change eth3 with your interface)<\/sub> and it should return <code>enabled<\/code>:\n<pre><code>systemctl is-enabled wol@eth3\n<\/code><\/pre>\n<\/li>\n<li>To test this, reboot and run <sub>(change eth3 with your interface)<\/sub>:<\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<p>\uc774\uc81c \ubd80\ud305\ud558\uba74 \ub79c \uce74\ub4dc\uc758 wake up flag\uac00 g\ub85c \ubcc0\uacbd\ub418\uc5c8\uc74c\uc744 \ud655\uc778\ud560 \uc218 \uc788\ub2e4.<\/p>\n<p>\uadf8\ub7ec\ub098, \ubc84\uadf8\uc778\uc9c0 \uc2dc\uc2a4\ud15c\uc744 \uc885\ub8cc\ud558\uba74 freeze.<br \/>\uc5b4\ub5bb\uac8c \ud574\uacb0\ub418\uc5c8\ub294\uc9c0 \ud655\uc2e4\uce58 \uc54a\uc544, <a href=\"https:\/\/askubuntu.com\/questions\/764568\/ubuntu-16-04-hangs-on-shutdown-restart\">\uc5ec\uae30<\/a>\uc5d0\uc11c \uc54c\ub824\uc900\ub300\ub85c grub\uc5d0 \uc544\ub798\uc640 \uac19\uc774 \ucd94\uac00\ud588\ub2e4.<br \/><code>GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash acpi=force\"<\/code><br \/><del> \uc774 \uae38\uc774 \ub9de\ub294\uc9c0 \ubaa8\ub974\uaca0\uc73c\ub098..<\/del><\/p>\n<p>wake-up on lan\uc774 \ub3d9\uc791\ud558\ub824\uba74 \uc2dc\uc2a4\ud15c\uc774 \uc815\uc0c1\uc801\uc73c\ub85c \uaebc\uc838\uc57c \ub418\ub294\ub370, \uc544\uc9c1\ub3c4 freeze..<br \/>\ud56d\uc0c1 \ubc84\ud2bc\uc73c\ub85c \uac15\uc81c\ub85c \uc885\ub8cc\uc2dc\ud0a4\uba74 \ub2e4\uc2dc \ucf1c\uc9c0\uc9c0 \uc54a\ub294\ub2e4. <del datetime=\"2018-03-07T14:54:35+00:00\">\uadf8\ub7ec\ub098 \uc6b0\uc5f0\ud788, freeze \uc0c1\ud0dc\uc5d0\uc11c magic packet\uc744 \ub0a0\ub9ac\ub2c8 freeze\uac00 \ud574\uc81c\ub418\uace0 \uaebc\uc9c4\ub2e4!!!<br \/>\uc774 \ud6c4 wol \uae30\ub2a5\uc744 \uc4f8 \uc218 \uc788\ub2e4. \uc885\ub8cc \uba85\ub839\uc5b4\uac00 \uc2dc\uc2a4\ud15c\uc744 \uc815\uc0c1 \uc885\ub8cc\uc2dc\ud0a4\uace0.<\/del>\uc880 \uae30\ub2e4\ub9ac\uba74 \uaebc\uc9c4\ub2e4. \ud504\ub85c\uc138\uc2a4 \uc8fd\uc774\ub294\ub370 \uc2dc\uac04\uc774 \uc880 \uac78\ub9b0\ub4ef.<\/p>\n<p>\uc708\ub3c4\uc6b0 10\uacfc \uc6b0\ubd84\ud22c 2\uac1c OS\ub97c \uc0ac\uc6a9\ud558\ub294\ub370, \uc708\ub3c4\uc6b0 10\uc73c\ub85c \uc885\ub8cc\ud558\uba74 WOL\uc774 \uc548\uba39\ub294\ub2e4. \ub2e4\uc2dc \uc6b0\ubd84\ud22c\ub85c \uc885\ub8cc\ud558\uba74 WOL\uc774 \uc791\ub3d9\ud55c\ub2e4.<br \/>\uc708\ub3c4\uc6b0 10\uc758 \uae30\ubcf8 \ub4dc\ub77c\uc774\ubc84\ub97c \uc0ac\uc6a9\ud558\uc9c0 \uc54a\uace0, \ub9ac\uc5bc\ud14d \uc708\ub3c4\uc6b0 10 \ub4dc\ub77c\uc774\ubc84\ub97c \uc0ac\uc6a9\ud574\uc57c \ud55c\ub2e4. \uc804\uc6d0\uad00\ub828 \ube60\ub978 \uc2dc\uc791\uc744 \uc124\uc815\ud558\uc9c0 \ub9d0\uc544\uc57c \ud55c\ub2e4\ub294\ub370, \uc778\ud130\ub137\uc5d0 \ubcf4\uba74 \ub098\uc628\ub2e4.<\/p>\n\n\n<p>ubuntu 18.04\ub85c \uc5c5\ub370\uc774\ud2b8 \ud6c4 \ub124\ud2b8\uc6cd \uce74\ub4dc\uac00 \uac00\ub054 \uc8fd\ub294\ub2e4. \uac8c\ub2e4\uac00 WOL \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc5c8\ub2e4. \uc704\uc5d0 \uc54c\uc544\ubcf8 \ub300\ub85c \ud588\uc73c\ub098, \uadf8\ub300\ub85c \uc600\ub2e4. \ud639\uc2dc\ub098 \uc708\ub3c4\uc6b010\uc5d0\uc11c \uc885\ub8cc \ud6c4 WOL\uc744 \ud574\ubcf4\ub2c8 \uc798 \ub418\uc5c8\ub2e4. \uc6b0\ubd84\ud22c\ub85c \uc885\ub8cc\ud558\uba74 WOL\uc5d0 \ubb38\uc81c\uac00 \uc788\uc5c8\ub2e4. \ud639\uc2dc\ub098 \ud574\uc11c \ub4dc\ub77c\uc774\ubc84\ub97c \ubc1b\uc544 \ub2e4\uc2dc \uc124\uce58\ud574\ubcf4\ub2c8 \ub41c\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/now0930.pe.kr\/wordpress\/wp-content\/uploads\/2019\/09\/r8168-8.047.04.tar\">r8168-8.047.04<\/a><a href=\"https:\/\/now0930.pe.kr\/wordpress\/wp-content\/uploads\/2019\/09\/r8168-8.047.04.tar\" class=\"wp-block-file__button\" download>\ub2e4\uc6b4\ub85c\ub4dc<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\uadf8\ub798\ud53d \uce74\ub4dc\uac00 \uc7a5\ucc29\ub41c PC\uac00 \uc804\ub825\uc744 \ub9ce\uc774 \uba39\uc5b4 \ud3c9\uc18c \uaebc\ub450\uace0, \ud544\uc694\uc5d0 \uc758\ud574\uc11c\ub9cc \ucf1c\uc57c\ub41c\ub2e4.WOL\uc774 \uc804\uc5d0 \uc798 \ub418\uc5c8\ub294\ub370, ubuntu 16.04\ub85c \ub118\uc5b4\uc624\ub2c8 \uc798 \uc548\ub41c\ub2e4.\uacb0\uad6d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[293,292,290,400,291],"class_list":["post-2061","post","type-post","status-publish","format-standard","hentry","tag-ethtool","tag-freeze","tag-ubuntu","tag-windows10","tag-wol"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/posts\/2061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/comments?post=2061"}],"version-history":[{"count":4,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/posts\/2061\/revisions"}],"predecessor-version":[{"id":3125,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/posts\/2061\/revisions\/3125"}],"wp:attachment":[{"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/media?parent=2061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/categories?post=2061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/now0930.pe.kr\/wordpress\/wp-json\/wp\/v2\/tags?post=2061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}