{"id":312,"date":"2015-02-18T16:49:25","date_gmt":"2015-02-18T10:49:25","guid":{"rendered":"https:\/\/workit.kz\/?p=312"},"modified":"2015-02-18T16:49:48","modified_gmt":"2015-02-18T10:49:48","slug":"dd-wrt-live-mac-stat","status":"publish","type":"post","link":"https:\/\/workit.kz\/?p=312","title":{"rendered":"DD-WRT Live Bandwidth Monitor per IP (MAC)"},"content":{"rendered":"<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 <a href=\"https:\/\/github.com\/vortex-5\/ddwrt-bwmon\">Vortex 5 \/ DD-WRT Bwmon<\/a><\/p>\r\n<!--more-->\r\n<p><a href=\"\/images\/2015\/02\/overview.png\" title=\"overview\" rel=\"lightbox[slideshow]\"><img loading=\"lazy\" decoding=\"async\" src=\"\/images\/2015\/02\/400\/overview.png\" width=\"400\" height=\"208\" alt=\"overview\" \/><\/a><\/p>\r\n<p>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b\u043e\u0441\u044c \u043d\u0430 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0438 Linksys E2000 (E3200), \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 DD-WRT v24-sp2<\/p>\r\n<p><strong>\u0412\u041d\u0418\u041c\u0410\u041d\u0418\u0415: \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \/jffs (JFFS2 Support)<\/strong><\/p>\r\n<p>\u0414\u043b\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c SSH (\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438):<\/p>\r\n<p>Services -&gt;&#160;Services -&gt; Secure Shell<\/p>\r\n<pre>\r\nSSHd - Enable\r\nPassword Login - Enable\r\nPort - 22<\/pre>\r\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 SSH, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043f\u0430\u043f\u043a\u0443 bwmon (<a href=\"http:\/\/workit.kz\/images\/2015\/02\/bwmon.zip\">\u0430\u0440\u0445\u0438\u0432<\/a>).<\/p>\r\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0432 \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e WinSCP \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0432 \u043f\u0430\u043f\u043a\u0443 \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 (\u043f\u0443\u0442\u044c: \/jffs\/bwmon\/)<\/p>\r\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c Putty \u0438 \u0432\u043e\u0439\u0442\u0438 \u043a\u0430\u043a root \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440<\/p>\r\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443:<\/p>\r\n<pre>\r\n# sh \/jffs\/bwmon\/install.sh\r\n# sh \/jffs\/bwmon\/startup.sh<\/pre>\r\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c&#160;Startup Script<\/p>\r\n<p>Administration -&gt; Commands -&gt; Startup<\/p>\r\n<pre>\r\n# BW Mon\r\n\/jffs\/bwmon\/startup.sh\r\necho '* * * * * root \/jffs\/bwmon\/bwmon-dnsmasq.sh' &gt;&gt; \/tmp\/crontab<\/pre>\r\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438:<\/p>\r\n<pre>\r\nhttp:\/\/routerip\/user\/bwmon.html<\/pre>\r\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 DD-WRT Live Bandwidth Monitor per IP (MAC), \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0430&#160;\"Cross Site Action detected\", \u0434\u043b\u044f \u0435\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u044b (SSH \u0438\u043b\u0438 Telnet):<\/p>\r\n<pre>\r\n# nvram set no_crossdetect=1\r\n# nvram commit<\/pre>","protected":false},"excerpt":{"rendered":"<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 Vortex 5 \/ DD-WRT Bwmon<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,1],"tags":[25],"_links":{"self":[{"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts\/312"}],"collection":[{"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=312"}],"version-history":[{"count":11,"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts\/312\/revisions"}],"predecessor-version":[{"id":323,"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts\/312\/revisions\/323"}],"wp:attachment":[{"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}