{"id":105,"date":"2016-08-30T16:40:21","date_gmt":"2016-08-30T07:40:21","guid":{"rendered":"http:\/\/p-o.me\/b\/?p=105"},"modified":"2016-08-30T16:40:21","modified_gmt":"2016-08-30T07:40:21","slug":"105","status":"publish","type":"post","link":"https:\/\/p-0.me\/b\/p\/105\/","title":{"rendered":"WZR-HP-AG300H\u306bDD-WRT\u3092\u5165\u308c\u305f"},"content":{"rendered":"<p><a href=\"http:\/\/buffalo.jp\/products\/catalog\/network\/wzr-hp-ag300h\/\">WZR-HP-AG300H<\/a>\u3092\u8cb7\u3063\u305f.<br \/>\nAmazon\u306e\u5b9a\u4fa1\u3067\u306f14,400\u5186\u3060\u304c,\u4e2d\u53e4\u30672,300\u5186\u3060\u3063\u305f\u306e\u3067\u8cb7\u3063\u3066\u3057\u307e\u3063\u305f.<br \/>\n\u3053\u306e\u6a5f\u7a2e\u3092\u9078\u3093\u3060\u7406\u7531\u306fDD-WRT\u3068\u306e\u89aa\u548c\u6027\u304c\u9ad8\u304f,\u30cd\u30c3\u30c8\u306b\u3082\u591a\u304f\u306e\u60c5\u5831\u304c\u3042\u308b\u304b\u3089\u3067\u3042\u308b.<br \/>\n<!--more--><br \/>\n\u30eb\u30fc\u30bf\u306b\u624b\u3092\u51fa\u305d\u3046\u3068\u601d\u3063\u305f\u304d\u3063\u304b\u3051\u306f,\u624b\u5143\u306b1\u53f0Linux\u306e\u30de\u30b7\u30f3\u304c\u6b32\u3057\u3044\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u304b\u3089.<br \/>\n\u3053\u306e\u30d6\u30ed\u30b0\u3092\u8f09\u305b\u3066\u3044\u308bVPS\u3082\u3042\u308b\u3051\u3069VPS\u306a\u306e\u3067\u56de\u7dda\u304c\u5fc5\u8981\u3060\u3057,\u3061\u3087\u3053\u3063\u3068\u3057\u305fLinux\u30de\u30b7\u30f3\u304c\u6b32\u3057\u304b\u3063\u305f.<br \/>\n\u5b89\u3044\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3068\u304bRaspberry Pi\u3068\u304b\u3082\u8003\u3048\u305f\u3051\u308c\u3069,\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u306f\u9ad8\u3044\u3057RPi\u306f\u30ab\u30e1\u30e9\u3068\u304bGPIO\u3068\u304b\u4f7f\u3063\u3066\u308b\u3057\u3088\u304f\u521d\u671f\u5316\u3059\u308b\u304b\u3089\u30c0\u30e1.<br \/>\n\u305d\u3046\u8003\u3048\u308b\u3068\u5b89\u3044\u6a5f\u68b0\u3092\u8cb7\u3063\u3066Linux\u3092\u4f7f\u3063\u305f\u307b\u3046\u304c\u3088\u304f,\u30eb\u30fc\u30bf\u306a\u3089\u5b89\u304f\u3066Linux\u3060\u3057\u96fb\u6ce2\u3082\u98db\u3070\u305b\u308b\u306e\u3067\u9069\u3057\u3066\u308b.<br \/>\n&nbsp;<br \/>\n\u3053\u3053\u304b\u3089\u306f\u5fa9\u65e7\u7528\u306e\u5099\u5fd8\u9332\u3092\u517c\u306d\u3066,\u5c4a\u3044\u3066\u304b\u3089\u306e\u8a2d\u5b9a\u3068\u304b.<br \/>\n\u3061\u306a\u307f\u306b,\u8a2d\u5b9a\u304c\u5168\u90e8\u7d42\u308f\u3063\u305f\u5f8c\u30ac\u30fc\u30c3\u3068\u66f8\u3044\u3066\u308b\u306e\u3067,\u9593\u9055\u3063\u3066\u308b\u3053\u3068\u3082\u591a\u3005\u3042\u308b\u3068\u601d\u308f\u308c.\u8a31\u3057\u3066.<br \/>\n&nbsp;<\/p>\n<h3><strong>DD-WRT\u5316<\/strong><\/h3>\n<p>\u5bb6\u306b\u5c4a\u3044\u305f\u5f8c\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\u3067\u63a5\u7d9a\u3057,PC\u306eIP\u3092192.168.11.2\u306b\u56fa\u5b9a\u3057,\u30d6\u30e9\u30a6\u30b6\u304b\u3089192.168.11.1\u306b\u63a5\u7d9a\u3057\u3066AirStation\u306e\u7ba1\u7406\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f.<br \/>\nWZR-HP-AG300H\u3067\u4f7f\u3048\u308b\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306f\u7d14\u6b63\u30d5\u30a1\u30fc\u30e0\u304c\u65e5\u672c\u7248\u3068US\u7248\u3068\u306e2\u3064\u3042\u308a,DD-WRT\u304c\u666e\u901a\u306eDD-WRT\u3068US\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc\u304c\u6539\u9020\u3057\u305f\u3082\u306e\u306e2\u3064\u3042\u308b.\u307e\u305f,\u4ed6\u306bOpenWRT\u306a\u3069\u3082\u3042\u308b.<\/p>\n<p style=\"padding-left: 30px;\">\u30fb\u7d14\u6b63\u30d5\u30a1\u30fc\u30e0<\/p>\n<p style=\"padding-left: 60px;\">\u30fb\u65e5\u672c\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc<\/p>\n<p style=\"padding-left: 60px;\">\u30fbUS\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc<\/p>\n<p style=\"padding-left: 30px;\">\u30fbDD-WRT<\/p>\n<p style=\"padding-left: 60px;\">\u30fb\u516c\u5f0f<\/p>\n<p style=\"padding-left: 60px;\">\u30fbUS\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc<\/p>\n<p style=\"padding-left: 30px;\">\u30fbOpenWRT<\/p>\n<p>&nbsp;<br \/>\n\u6700\u521d\u306b\u65e5\u672c\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc\u7ba1\u7406\u30da\u30fc\u30b8\u304b\u3089\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u884c\u3044,US\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc\u306eDD-WRT\u3092\u5165\u308c\u305f.<br \/>\n\u305d\u306e\u5f8c,\u63a5\u7d9a\u3067\u304d\u306a\u3044\u72b6\u614b\u3068\u306a\u308a,\u8d77\u52d5\u76f4\u5f8c\u306bTFTP\u3067\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u9001\u308d\u3046\u3068\u3057\u305f\u308a,PC\u306e\u56fa\u5b9aIP\u3092\u5909\u3048\u305f\u308a\u3057\u3066\u3044\u305f\u304c,\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u307e\u307e\u63a5\u7d9a\u3067\u304d,US\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc\u88fd\u306eDD-WRT\u306e\u8d77\u52d5\u753b\u9762\u306b\u305f\u3069\u308a\u7740\u3044\u305f.<br \/>\n\u4eca\u306b\u3057\u3066\u601d\u3048\u3070,\u65e5\u672c\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc\u88fd\u7d14\u6b63\u30d5\u30a1\u30fc\u30e0\u306e\u7ba1\u7406\u753b\u9762\u304b\u3089US\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc\u88fdDD-WRT\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u8ee2\u9001\u306b\u6210\u529f\u3057,\u305d\u306e\u3068\u304d\u30eb\u30fc\u30bf\u306eIP\u30a2\u30c9\u30ec\u30b9\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u90e8\u304c\u5909\u308f\u308a(192.168.11.0\u2192192.168.1.0),\u63a5\u7d9a\u3067\u304d\u306a\u304f\u306a\u308a,\u8d77\u52d5\u76f4\u5f8c\u306b\u8ee2\u9001\u3057\u3088\u3046\u3068\u3057\u305f\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306f\u3059\u3079\u3066\u5931\u6557,PC\u306e\u56fa\u5b9aIP\u3092\u3044\u308d\u3044\u308d\u3044\u3058\u3063\u3066\u308b\u3046\u3061\u306b\u30eb\u30fc\u30bf\u306eIP\u30a2\u30c9\u30ec\u30b9\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u90e8\u306b\u5408\u3044(\u305f\u3076\u3093192.168.1.0)\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f.\u3068\u3044\u3046\u3053\u3068\u3060\u308d\u3046\u3068\u601d\u3046.<br \/>\n\u6700\u521d\u306b\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u8ee2\u9001\u3057\u3066\u304b\u3089\u30e9\u30f3\u30d7\u306e\u30d1\u30bf\u30fc\u30f3\u304c\u5909\u308f\u3089\u306a\u304b\u3063\u305f\u306e\u3067,\u6700\u521d\u306e\u8ee2\u9001\u306e\u307f\u304c\u3046\u307e\u304f\u3044\u304d,TFTP\u306f\u3059\u3079\u3066\u5931\u6557\u3057\u305f\u306e\u3060\u308d\u3046.TFTP\u306e\u8ee2\u9001\u30bf\u30a4\u30df\u30f3\u30b0\u306f\u96e3\u3057\u3044\u3089\u3057\u3044\u3057,\u305d\u3082\u305d\u3082\u6700\u521d\u306e\u7ba1\u7406\u753b\u9762\u3067TFTP\u3092ON\u306b\u305b\u305a\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u8ee2\u9001\u3057\u305f\u304b\u3089.<br \/>\n&nbsp;<br \/>\n\u307e\u3042,\u305d\u3046\u3044\u3046\u308f\u3051\u3067US\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc\u88fdDD-WRT\u3092\u5165\u308c\u308b\u3053\u3068\u306b\u6210\u529f\u3057\u305f.\u305d\u306e\u5f8c,US\u30d0\u30c3\u30d5\u30a1\u30ed\u30fc\u88fdDD-WRT\u306e\u6700\u7d42\u66f4\u65b0\u306f2012\u5e74\u306a\u306e\u306b\u5bfe\u3057,\u516c\u5f0fDD-WRT\u306e\u6700\u7d42\u66f4\u65b0\u306f2014\u5e74\u3060\u3068\u3044\u3046\u3053\u3068\u306b\u6c17\u4ed8\u304d,\u3084\u3063\u3071\u308a\u516c\u5f0f\u304c\u826f\u3044\u3068\u601d\u3044\u516c\u5f0fDD-WRT\u3092\u5165\u308c\u305f.<\/p>\n<h3><\/h3>\n<h3><strong>\u30eb\u30fc\u30bf\u3078\u306e\u63a5\u7d9a<\/strong><\/h3>\n<p>&nbsp;<br \/>\n\u516c\u5f0fDD-WRT\u3092\u5165\u308c\u7d42\u308f\u3063\u305f\u5f8c,\u30eb\u30fc\u30bf\u306eIP\u3092192.168.12.1\u306b\u8a2d\u5b9a\u3057,PC\u306e\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\u306e\u56fa\u5b9aIP\u3092192.168.12.2\u3068\u3057\u305f.\u30b5\u30d6\u30cd\u30c3\u30c8\u30de\u30b9\u30af\u306f255.255.255.0<br \/>\n\u3053\u308c\u306b\u3088\u308a<br \/>\nWZR-HP-AG300H&#8212;&#8211;PC&#8212;&#8211;\u5bb6\u306e\u30eb\u30fc\u30bf\uff5e\uff5e\uff5einternet<br \/>\n\u3068\u306a\u308a,\u30b0\u30b0\u308a\u306a\u304c\u3089\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f.\u3061\u306a\u307f\u306b\u5de6\u306f\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\u3067\u53f3\u306fWi-Fi.<br \/>\n\u306a\u304a,telnet\u3092\u4f7f\u3046\u305f\u3081[Services]-&gt;[Services]\u304b\u3089telnet\u3092enable\u3068\u3059\u308b.<br \/>\n&nbsp;<\/p>\n<h3><strong>Web server<\/strong><\/h3>\n<p>IP\u30a2\u30c9\u30ec\u30b9\u306e\u8a2d\u5b9a\u304c\u7d42\u308f\u308a,\u8efd\u3044Web\u30b5\u30fc\u30d0\u3092\u7acb\u3066\u308b\u3053\u3068\u306b\u3057\u305f.<br \/>\nDD-WRT\u3067\u306flighttpd\u3092\u6a19\u6e96\u3067\u8f09\u305b\u3066\u3044\u308b.\u306a\u306e\u3067\u3053\u308c\u3092\u4f7f\u3048\u3070Web\u30b5\u30fc\u30d0\u3092\u7acb\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u308b.<br \/>\n[Services]-&gt;[Webserver]\u304b\u3089<br \/>\nLighttpd\uff1aenable<br \/>\n\u3068\u3057,\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u305f\u3089<br \/>\nHTTPS Port:444<br \/>\nHTTP Port:81<br \/>\nWAN Access:enable<br \/>\n\u3068\u3059\u308b.HTTPS\u3092444\u306b\u5909\u66f4\u3057\u3066\u3044\u308b\u306e\u306f\u7ba1\u7406\u753b\u9762\u306e\u3084\u3064\u3068\u91cd\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081.WAN Access\u3092enable\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u306e\u306f\u306a\u3093\u3068\u306a\u304f\u3067\u7279\u306b\u610f\u5473\u306f\u7121\u3044.<br \/>\n\u3053\u308c\u3067\u30d6\u30e9\u30a6\u30b6\u304b\u3089http:\/\/192.168.12.1\/\u3067\u7ba1\u7406\u753b\u9762,http:\/\/192.168.12.1:80\/\u3067\u4f5c\u6210\u3057\u305f\u30da\u30fc\u30b8\u304c\u898b\u308c\u308b\u306f\u305a.\u305f\u3060\u3057,\u307e\u3060\u30da\u30fc\u30b8\u306f\u4f5c\u6210\u3057\u3066\u3044\u306a\u3044.<br \/>\nLighttpd\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30eb\u30fc\u30c8\u306f\/jffs\/www\u3067\u3042\u308b.\u305f\u3060\u3057,\u521d\u671f\u72b6\u614b\u3067\u306f\/jffs\u306f\u66f8\u304d\u8fbc\u307f\u4e0d\u53ef\u306a\u306e\u3067,USB\u30e1\u30e2\u30ea\u3092\/jffs\u306b\u30de\u30a6\u30f3\u30c8\u3059\u308b.<br \/>\nUSB\u30e1\u30e2\u30ea\u3092\u4f7f\u3046\u306b\u306f[Services]-&gt;[USB]\u304b\u3089<br \/>\nCore USB Support:enable<br \/>\nUSB Printer Support:disable<br \/>\nUSB Storage Support:enable<br \/>\nUSB Over IP:disable<br \/>\nAutomatic Drive Mount:enable<br \/>\nRun-on-mount Script Name:<br \/>\nMount this Partition to \/jffs:<br \/>\nMount this Partition to \/opt:<br \/>\nUse SES Button to remove drives:disable<br \/>\n\u3068\u3059\u308b.\u3053\u3053\u3067,USB\u30e1\u30e2\u30ea\u3092\/jffs\u3084\/opt\u306b\u30de\u30a6\u30f3\u30c8\u3059\u308b\u306b\u306fMount this Partion to \u30fb\u30fb\u30fb\u3067\u3067\u304d\u308b.\u305f\u3060\u3057\u3053\u308c\u306fUUID\u3092\u8a2d\u5b9a\u3057\u3066USB\u30e1\u30e2\u30ea\u3092\u5168\u90e8\u30de\u30a6\u30f3\u30c8\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u307f\u305f\u3044.<br \/>\n\u306a\u306e\u3067USB\u30e1\u30e2\u30ea\u306bjffs\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u3064\u304f\u308a,\u305d\u308c\u3092\/jffs\u306b\u30de\u30a6\u30f3\u30c8\u3059\u308b\u3053\u3068\u306b\u3057\u305f.\u306a\u304a,USB\u30e1\u30e2\u30ea\u306f\/mnt\/sda1\u306a\u306e\u3067,<br \/>\nmkdir \/mnt\/sda1\/jffs<br \/>\nmount -w \/mnt\/sda1\/jffs \/jffs<br \/>\n\u3068\u3059\u308b.\u305f\u3060\u3057\u3053\u308c\u306f\u4e00\u6642\u7684\u306a\u3082\u306e\u306a\u306e\u3067,[Administration]-&gt;[Commands]\u304b\u3089<br \/>\nmount -w \/mnt\/sda1\/jffs \/jffs<br \/>\n\u3092Save Startup\u3057,\u8d77\u52d5\u6642\u306b\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3059\u308b.<br \/>\n\u305d\u306e\u5f8c,\u30c6\u30b9\u30c8\u7528\u306ehtml\u3092\u4f5c\u6210\u3059\u308b.\u3061\u306a\u307f\u306b,\u30c6\u30b9\u30c8\u7528\u306eindex.html\u306b\u306f\u717d\u308a\u753b\u50cf\u3068control panel\u3078\u306e\u30ea\u30f3\u30af\u3092\u7f6e\u3044\u3066\u304a\u3044\u305f.<br \/>\nmkdir \/jffs\/www<br \/>\nvi \/jffs\/www\/index.html<br \/>\n\u3053\u308c\u3067\u30d6\u30e9\u30a6\u30b6\u304b\u3089http:\/\/192.168.11.1:80\/\u3067\u30c6\u30b9\u30c8\u7528\u306eindex.html\u304c\u8868\u793a\u3055\u308c\u308b.<br \/>\n\u6b21\u306b,\u30dd\u30fc\u30c8\u3092\u5909\u3048\u308b.\u3053\u306e\u72b6\u614b\u3067\u306f80\u756a\u304c\u7ba1\u7406\u753b\u9762,81\u756a\u304cLighttpd\u3068\u306a\u3063\u3066\u3044\u308b\u304c,\u3053\u308c\u3092\u9006\u306b\u3057\u305f\u3044.Lighttpd\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u306f\u7ba1\u7406\u753b\u9762\u304b\u3089\u3067\u304d\u308b\u304c,\u7ba1\u7406\u753b\u9762\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u306f\u7ba1\u7406\u753b\u9762\u304b\u3089\u5909\u66f4\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044.\u305d\u306e\u305f\u3081,telnet\u304b\u3089nvram\u306e\u5024\u3092\u5909\u66f4\u3059\u308b.<br \/>\nnvram set http_lanport=81<br \/>\nnvram set lighttpd_lanport=80<br \/>\nnvram commit<br \/>\nnvram show<br \/>\n\u3053\u308c\u3067\u30d6\u30e9\u30a6\u30b6\u304b\u3089http:\/\/192.168.12.1\/\u3067\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b.<\/p>\n<h3><\/h3>\n<h3><strong>DNS<\/strong><\/h3>\n<p>\u3075\u3068\u601d\u3044\u3064\u304d,DNS\u306e\u7d50\u679c\u3092\u3059\u3079\u3066192.168.12.1\u306b\u98db\u3070\u3059\u3053\u3068\u306b\u3057\u305f.<br \/>\n\u3053\u308c\u3092\u3084\u308b\u306b\u306f\u30eb\u30fc\u30bf\u3092DNS\u30b5\u30fc\u30d0\u3068\u3059\u308b.<br \/>\nDD-WRT\u306b\u306fDnsmasq\u3068\u3044\u3046\u7c21\u6613\u306aDNS\u30b5\u30fc\u30d0\u304c\u8f09\u305b\u3066\u3042\u308b\u306e\u3067\u3053\u308c\u3092\u4f7f\u3046.<br \/>\n[Setup]-&gt;[Basic Setup]\u304b\u3089<br \/>\nDHCP Type:DHCP Server<br \/>\nDHCP Server :enable<br \/>\n(\u7565)<br \/>\nStatic DNS 1 : 192.168.12.1<br \/>\n(\u7565)<br \/>\nUse DNSMasq for DHCP : checked<br \/>\nUse DNSMasq for DNS : checked<br \/>\nDHCP-Authoritative: checked<br \/>\n<span style=\"line-height: 1.5;\">\u3068\u3059\u308b.\u307e\u305f,[Services]-&gt;[Services]\u304b\u3089DNSMasq\u3092<\/span><br \/>\nDNSMasq:enable<br \/>\nLocal DNS:enable<br \/>\nNo DNS Rebind:enable<br \/>\nAdd Requestor MAC to DNS Query:enable<br \/>\nAdditional DNSMasq Options:address=\/#\/192.168.12.1<br \/>\n\u3068\u3059\u308b.address=\/#\/192.168.12.1\u3068\u3059\u308b\u3053\u3068\u3067\u3069\u3093\u306a\u30c9\u30e1\u30a4\u30f3\u3082192.168.12.1\u306b\u98db\u3070\u3055\u308c\u308b.<\/p>\n<h3><\/h3>\n<h3><strong>404\u30da\u30fc\u30b8\u306e\u5909\u66f4<\/strong><\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u300c404 Not Found\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u3060\u3051\u3060\u304c,\u3053\u308c\u3092index.html\u306b\u5909\u66f4\u3057\u305f\u304f\u306a\u3063\u305f.<br \/>\n\u3053\u308c\u306f\u3064\u307e\u308aLighttpd\u306e\u30b3\u30f3\u30d5\u30a3\u30b0\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3060\u304c,\u3053\u308c\u306b\u610f\u5916\u3068\u30cf\u30de\u3063\u305f.<br \/>\n404\u30da\u30fc\u30b8\u3092index.html\u306b\u5909\u3048\u308b\u306b\u306flighttpd.conf\u306b<br \/>\nserver.error-handler-404=&#8221;\/index.html&#8221;<br \/>\n\u3068\u8ffd\u8a18\u3059\u308c\u3070\u826f\u3044.<br \/>\nfind \/ -name &#8220;*lighttpd*&#8221;\u3067\u30b3\u30f3\u30d5\u30a3\u30b0\u304c\/tmp\/lighttpd.conf\u306b\u3042\u308b\u3053\u3068\u306f\u5206\u304b\u3063\u305f\u304c,\u5909\u66f4\u3057\u3066reboot\u3092\u304b\u3051\u3066\u3082\u5143\u306b\u623b\u3063\u3066\u3044\u308b.\u3069\u3046\u3084\u3089,\/tmp\u306e\u5b9f\u4f53\u306fRAM\u306b\u3042\u308a,lighttpd.conf\u306f\u8d77\u52d5\u6642\u306b\u305d\u306e\u90fd\u5ea6\u751f\u6210\u3055\u308c\u308b\u3088\u3046\u3060.\u751f\u6210\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089,\u3044\u304f\u3064\u304b\u306eNVRAM\u306e\u5024\u3092\u8aad\u307f,\u751f\u6210\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u3063\u305f.\u3057\u304b\u3057\u305d\u306e\u306a\u304b\u306bserver.error-handler-404\u306b\u3064\u3044\u3066\u306e\u3082\u306e\u306f\u306a\u304f,\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u3063\u305f.<br \/>\n\u3061\u306a\u307f\u306b,<br \/>\nnvram set lighttpd_root=&#8221;\/jffs\/www<br \/>\n&gt;server.error-handler-404=\\&#8221;\/index.html\\&#8221;&#8221;<br \/>\n\u3068\u3057\u3066\u3082\u52b9\u679c\u306f\u306a\u3044\u3088\u3046\u3060\u3063\u305f.<br \/>\n\u305d\u3053\u3067,\/mnt\/sda1\/lighttpd\/lighttpd.conf\u3092\u4f5c\u6210\u3057,\/tmp\/lighttpd.conf\u306e\u5185\u5bb9\u3092\u30b3\u30d4\u30fc\u3057,server.error-handler-404=&#8221;\/index.html&#8221;\u3092\u8ffd\u8a18\u3057\u305f.\u305d\u306e\u5f8cps\u3067Lighttpd\u306ePID\u3092\u898b\u3066kill\u3057,lighttpd -f \/mnt\/sda1\/lighttpd\/lighttpd.conf\u3068\u3057\u3066\u3082\u306a\u305c\u304b\u63a5\u7d9a\u3067\u304d\u306a\u304b\u3063\u305f.\u305d\u3053\u3067,\u8d77\u52d5\u6642\u306bLighttpd\u3092\u52d5\u304b\u3055\u305a,\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u771f\u4f3c\u3092\u3059\u308b\u3053\u3068\u3068\u3057\u305f.<br \/>\nnvram set lighttpd=0<br \/>\nnvram commit<br \/>\n\u3092\u5b9f\u884c\u3057,Startup\u306b<br \/>\nmkdir -p \/tmp\/lighttpd\/logs;<br \/>\nlighttpd\u00a0-f \/mnt\/sda1\/lighttpd\/lighttpd.conf;<br \/>\n\u3092\u8ffd\u8a18\u3057\u305f.\u3053\u308c\u3067\u81ea\u4f5c\u3057\u305flighttpd.conf\u3092\u8aad\u307f\u8fbc\u307e\u305b\u3066Lighttpd\u3092\u8d77\u52d5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f.<\/p>\n<h3><\/h3>\n<h3><strong>NAS<\/strong><\/h3>\n<p>USB\u30e1\u30e2\u30ea\u3092samba\u3067\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3063\u305f.<br \/>\nsamba\u3067\u5171\u6709\u3059\u308b\u306b\u306f[Services]-&gt;[NAS]\u304b\u3089samba\u3092enable\u306b\u3057\u3066File Sharing\u304b\u3089\u30d1\u30b9\u3068\u30e6\u30fc\u30b6\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u7e4b\u304c\u308b.<\/p>\n<h3><\/h3>\n<h3>\u307e\u3068\u3081<\/h3>\n<p>\u4eca\u56de\u306f \u3064\u306a\u3052\u308b\u3068\u7d76\u5bfe\u306b\u717d\u308a\u753b\u50cf\u3092\u898b\u305b\u3066\u304f\u308b\u30eb\u30fc\u30bf \u304c\u4f5c\u6210\u3067\u304d\u305f.<br \/>\n\u306a\u305c\u3053\u3093\u306a\u3082\u306e\u306b\u306a\u3063\u305f\u306e\u304b\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u304c,\u4f5c\u3063\u3066\u3044\u308b\u3068\u304d\u306f\u697d\u3057\u304b\u3063\u305f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WZR-HP-AG300H\u3092\u8cb7\u3063\u305f. Amazon\u306e\u5b9a\u4fa1\u3067\u306f14,400\u5186\u3060\u304c,\u4e2d\u53e4\u30672,300\u5186\u3060\u3063\u305f\u306e\u3067\u8cb7\u3063\u3066\u3057\u307e\u3063\u305f. \u3053\u306e\u6a5f\u7a2e\u3092\u9078\u3093\u3060\u7406\u7531\u306fDD-WRT\u3068\u306e\u89aa\u548c\u6027\u304c\u9ad8\u304f,\u30cd\u30c3\u30c8\u306b\u3082\u591a\u304f\u306e\u60c5\u5831\u304c\u3042\u308b\u304b\u3089\u3067\u3042\u308b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/p-0.me\/b\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/p-0.me\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/p-0.me\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/p-0.me\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/p-0.me\/b\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":0,"href":"https:\/\/p-0.me\/b\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"wp:attachment":[{"href":"https:\/\/p-0.me\/b\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/p-0.me\/b\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/p-0.me\/b\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}