{"id":843,"date":"2018-05-24T15:30:13","date_gmt":"2018-05-24T06:30:13","guid":{"rendered":"https:\/\/www.ish.org\/blog\/?p=843"},"modified":"2019-10-31T10:27:28","modified_gmt":"2019-10-31T01:27:28","slug":"wzr-hp-ag300h%e3%81%8c%e4%b8%8d%e8%aa%bf%ef%bc%88%e3%81%9d%e3%81%ae2%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.ish.org\/blog\/?p=843","title":{"rendered":"WZR-HP-AG300H\u304c\u4e0d\u8abf\uff08\u305d\u306e2\uff09"},"content":{"rendered":"<p>\u7d50\u5c40\u3001\u539f\u56e0\u4e0d\u660e\u3067\u3059\u304c\u4e00\u65e6\u5fa9\u65e7\u3055\u305b\u307e\u3057\u305f\u3002<!--more--><br \/>\nWZR-HP-AG300H\u306bssh\/http\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u306e\u5fa9\u65e7\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<br \/>\n(1) WZR-HP-AG300H\u3092LAN\u304b\u3089\u5207\u308a\u96e2\u3059\u3002<br \/>\n(2) WZR-HP-AG300H\u306e\u5e95\u9762\u306e\u30ea\u30bb\u30c3\u30c8\u30b9\u30a4\u30c3\u30c1\u3092\u62bc\u4e0b\u3057\u3066\u30ea\u30d6\u30fc\u30c8\u3059\u308b\u3002<br \/>\n(3) \u8d64\u30e9\u30f3\u30d7\u304c\u70b9\u6ec5\u3057\u59cb\u3081\u305f\u3089\u5e95\u9762\u306e\u30ea\u30bb\u30c3\u30c8\u30b9\u30a4\u30c3\u30c1\u3092\u62bc\u3057\u3063\u3071\u306a\u3057\u306b\u3057\u3066\u3001\u8d64\u30e9\u30f3\u30d7\u306e\u70b9\u6ec5\u901f\u5ea6\u304c\u901f\u304f\u306a\u3063\u305f\u3089\uff08failsafe\u30e2\u30fc\u30c9)\u30ea\u30bb\u30c3\u30c8\u30b9\u30a4\u30c3\u30c1\u3092\u96e2\u3059\u3002<br \/>\n(4) PC\u3092\u76f4\u7d50\u3059\u308b\u3002<br \/>\n(5) PC\u306e~\/.ssh\/known_hosts\u306e192.168.1.1\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u3002<br \/>\n(6) PC\u304b\u3089ssh\u3067WZR-HP-AG300H\u3078\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3002\uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u4e0d\u8981\u3002\uff09<br \/>\n\u3000# ssh root@192.168.1.1<br \/>\n(7) ssh# mount_root<br \/>\n(8) ssh# vi \/etc\/config\/network\u3067\u30b3\u30f3\u30d5\u30a3\u30b0\u3092\u4ee5\u4e0b\u306e\u611f\u3058\u3067\u4fee\u6b63\u3057\u3066reboot\u3002<code><br \/>\n\u3000\u3000config interface 'lan'<br \/>\n\u3000\u3000\u3000\u3000option proto 'static'<br \/>\n\u3000\u3000\u3000\u3000option netmask '255.255.xxx.xxx'<br \/>\n\u3000\u3000\u3000\u3000option delegate '0'<br \/>\n\u3000\u3000\u3000\u3000option ipaddr '192.168.xxx.xxx'<br \/>\n\u3000\u3000\u3000\u3000option ifname 'eth0'<br \/>\n\u3000\u3000\u3000\u3000option gateway '192.168.xxx.xxx'<br \/>\n\u3000\u3000\u3000\u3000option broadcast '192.168.xxx.xxx'<br \/>\n\u3000\u3000\u3000\u3000option dns '192.168.xxx.xxx'<br \/>\n\u3000\u3000\u3000\u3000option type 'bridge'<\/code><br \/>\n(9) PC\u306e~\/.ssh\/known_hosts\u306e192.168.1.1\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u5143\u306b\u623b\u3059\u3002<\/p>\n<p>\u3000\u7d50\u5c40\u3001\u306a\u305carp\u304c\u6b7b\u3093\u3060\u306e\u304b\u4e0d\u660e\u3067\u3059\u304c\u3001\u4e00\u5fdc\u56de\u5fa9\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\/blog\/?p=840>\u305d\u306e1<\/a>\u3078\u623b\u308b\u3000[\u95a2\u9023\u9805\u76ee] <a href=\/blog\/?p=1637>openwrt\u306eupgrade<\/a>\u3078\u884c\u304f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7d50\u5c40\u3001\u539f\u56e0\u4e0d\u660e\u3067\u3059\u304c\u4e00\u65e6\u5fa9\u65e7\u3055\u305b\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-843","post","type-post","status-publish","format-standard","hentry","category-misc"],"_links":{"self":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=843"}],"version-history":[{"count":14,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/843\/revisions"}],"predecessor-version":[{"id":1642,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/843\/revisions\/1642"}],"wp:attachment":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}