{"id":88,"date":"2012-10-31T18:13:54","date_gmt":"2012-10-31T09:13:54","guid":{"rendered":"http:\/\/darkgray.homelinux.com\/modules\/xpress\/?p=88"},"modified":"2012-10-31T18:13:54","modified_gmt":"2012-10-31T09:13:54","slug":"%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%af%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/darkgray.homelinux.com\/blog\/?p=88","title":{"rendered":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a"},"content":{"rendered":"<p>IP\u30a2\u30c9\u30ec\u30b9\u7b49\u3005\u5fc5\u8981\u9805\u76ee\u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<p>vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth0<br \/>\nDEVICE=&#8221;eth0&#8243;<br \/>\nBOOTPROTO=&#8221;statac&#8221;<br \/>\nHWADDR=&#8221;xx:xx:xx:xx:xx:xx&#8221;<br \/>\nNM_CONTROLLED=&#8221;yes&#8221;<br \/>\nONBOOT=&#8221;yes&#8221;<br \/>\nTYPE=&#8221;Ethernet&#8221;<br \/>\nIPADDR=192.168.x.xxx<br \/>\nNETMASK=255.255.255.0<br \/>\nGATEWAY=192.168.x.xxx<br \/>\nDNS1=192.168.x.xxx<br \/>\nUUID=&#8221;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&#8221;<\/p>\n<p>xxx\u306e\u6240\u306f\u5404\u81ea\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u306b\u3088\u308a\u6570\u5024\u304c\u7570\u306a\u308b\u3002<\/p>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u59cb\u52d5\u3055\u305b\u3088\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002<br \/>\n\/etc\/init.d\/network restart<br \/>\nDevice eth0 does not seem to be present, delaying initialization<\/p>\n<p>MAC\u30a2\u30c9\u30ec\u30b9\u306e\u8a2d\u5b9a\u304c\u9055\u3063\u3066\u3044\u308b\u3068\u3053\u306e\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306e\u30de\u30b7\u30f3\u304b\u3089\u5225\u306e\u30de\u30b7\u30f3\u306bHDD\u3092\u79fb\u3057\u305f\u70ba\u3001MAC\u30a2\u30c9\u30ec\u30b9\u306e\u4e0d\u6574\u5408\u304c\u767a\u751f\u3057\u305f\u3002<\/p>\n<p>\/etc\/udev\/rules.d\/70-persistent-net.rules\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3001NAME=&#8221;eth0&#8243;\u3068\u8a18\u8ff0\u3055\u308c\u3066\u308b\u884c\u3092\u524a\u9664\u3057\u3001\u3000\u3000NAME=&#8221;eth1&#8243;\u3068\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u7b87\u6240\u3092NAME=&#8221;eth0&#8243;\u306b\u66f8\u304d\u63db\u3048\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3059\u308b<\/p>\n<p>ifconfig -a\u3067\u73fe\u5728\u306eeth0\u306eMAC\u30a2\u30c9\u30ec\u30b9\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<p>\/etc\/sysconfig\/network-scripts\/ifcfg-eth0\u30d5\u30a1\u30a4\u30eb\u306eHWADDR\u306eMAC\u30a2\u30c9\u30ec\u30b9\u306b\u65b0\u3057\u3044\u6570\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<p>\/etc\/init.d\/network restart\u3000\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u518d\u8d77\u52d5\u3055\u305b\u308b\u3002<\/p>\n<p>\u3053\u308c\u3067\u4e0a\u624b\u304f\u884c\u304f\u3093\u30fb\u30fb\u3058\u3083\u3041\uff5e\u306a\u3044\u304b\u306a\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IP\u30a2\u30c9\u30ec\u30b9\u7b49\u3005\u5fc5\u8981\u9805\u76ee\u3092\u8a2d\u5b9a\u3059\u308b\u3002 vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth0 DEVICE=&#8221;eth0&#8243; BOOTPROTO=&#8221;sta &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/darkgray.homelinux.com\/blog\/?p=88\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-centos-setup"],"_links":{"self":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88"}],"version-history":[{"count":0,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}