{"id":231311,"date":"2014-07-28T12:37:12","date_gmt":"2014-07-28T08:37:12","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=231311"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=231311","title":{"rendered":"<span class=\"post_title\">Android \u0438 MikroTik<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u0412 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u043d\u043e\u0432\u0435\u043d\u044c\u043a\u043e\u0433\u043e, \u043c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u043d\u043e\u0433\u043e <b>MikroTik mAP 2n<\/b> \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u0432\u044f\u0437\u043a\u0438 Android \u0438 MikroTik. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u0441\u0435 \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0438 \u0441\u043b\u043e\u0436\u043d\u043e. <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ff0\/d3e\/091\/ff0d3e091ba3e8f5ad2700669f801693.jpg\" alt=\"image\"\/><\/p>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u0423 \u043c\u0435\u043d\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0435:  <\/p>\n<ul>\n<li><b>MikroTik RouterBoard 951g-2hnd<\/b> RouterOS 6.17<\/li>\n<li><b>HighScreen Boost<\/b> Android 4.1.2<\/li>\n<\/ul>\n<p>  \u041f\u0440\u043e\u0449\u0435 \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f WiFi-Tethering, \u043d\u043e \u0442\u0443\u0442 \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430 Android \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0440\u0435\u0436\u0438\u043c \u0442\u043e\u0447\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c MikroTik \u043a \u043d\u0435\u0439. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0439 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0432\u044f\u0437\u0438 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c USB-Tethering.<\/p>\n<p>  \u0412\u043e\u043e\u0431\u0449\u0435 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f RouterOS 6.7 \u0438 \u0432\u044b\u0448\u0435 \u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 USB \u0432 MikroTik.  <\/p>\n<blockquote><p>What&#8217;s new in 6.7 (2013-Nov-29 13:37):<br \/>  *) support Android usb tethering interface;<br \/>  &#8230;<\/p><\/blockquote>\n<p>  Android \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d \u0432\u0435\u0440\u0441\u0438\u0438 2.2 \u0438 \u0432\u044b\u0448\u0435.<\/p>\n<ul>\n<li>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c Android \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d USB \u043a\u0430\u0431\u0435\u043b\u0435\u043c \u043a MikroTik \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044e.<br \/>   \u0412 MikroTik \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e:<br \/>   <code>\/system resource usb print<\/code>\n<p>  \u0423 \u043c\u0435\u043d\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<br \/>  <code># DEVICE VENDOR                                       NAME                                       SPEED                                      <\/code><br \/>  <code> 0 1:1    Linux 3.3.5 ehci_hcd                         RB400 EHCI                                 480 Mbps                                   <\/code><br \/>  <code> 1 1:5    Android                                      Android                                    480 Mbps <\/code><\/p>\n<\/li>\n<li>\u0412 Android \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 USB \u043c\u043e\u0434\u0435\u043c:<br \/> \n<ol>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2014 \u0411\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 \u2014 \u0415\u0449\u0435\u2026 \u2014 \u041c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0441\u0435\u0442\u044c \u2014 \u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 = enable<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2014 \u0411\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 \u2014 \u0415\u0449\u0435\u2026 \u2014 \u0420\u0435\u0436\u0438\u043c \u043c\u043e\u0434\u0435\u043c\u0430 \u2014 USB-\u043c\u043e\u0434\u0435\u043c = enable<\/li>\n<\/ol>\n<p>   <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041d\u0430\u0433\u043b\u044f\u0434\u043d\u043e<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/6b7\/355\/aff\/6b7355aff2a33b10194542a0d12f8261.gif\" alt=\"image\"\/><\/div>\n<\/div>\n<p>   <\/li>\n<li>\u0412 MikroTik:<br \/> \n<ol>\n<li> \u0412 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0438\u043c\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 lte1: Add Default Route = enable<\/li>\n<li> \u0412 IP \u2014 DHCP Client \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 lte1<\/li>\n<li> \u0412 IP \u2014 Firewall \u2014 NAT \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f NAT<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<p>  \u0427\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u044c:<br \/>  <code>\/interface lte set lte1 add-default-route=yes<\/code><br \/>  <code>\/ip dhcp-client add interface=lte1 disabled=no<\/code><br \/>  <code>\/ip firewall nat add chain=srcnat action=masquerade out-interface=lte1 disabled=no<\/code><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Winbox:<\/b><\/p>\n<div class=\"spoiler_text\">\u0412 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 lte1 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c Add Default Route:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/717\/714\/2b1\/7177142b1c4c226e34dafd5e95e38ba7.png\" alt=\"image\"\/><\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 IP \u2014 DHCP Client \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 lte1:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ea7\/ca0\/e64\/ea7ca0e64befb180d2c676a8130c197e.png\" alt=\"image\"\/><\/p>\n<p>  \u041f\u0440\u0430\u0432\u0438\u043c NAT \u043f\u0440\u0430\u0432\u0438\u043b\u0430:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/972\/9f9\/227\/9729f92279a86ba6cd5bab4c22826f6b.png\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/de3\/031\/430\/de3031430f124826809aa6828c61e072.png\" alt=\"image\"\/>  <\/div>\n<\/div>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/231311\/\"> http:\/\/habrahabr.ru\/post\/231311\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u0412 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u043d\u043e\u0432\u0435\u043d\u044c\u043a\u043e\u0433\u043e, \u043c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u043d\u043e\u0433\u043e <b>MikroTik mAP 2n<\/b> \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u0432\u044f\u0437\u043a\u0438 Android \u0438 MikroTik. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u0441\u0435 \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0438 \u0441\u043b\u043e\u0436\u043d\u043e. <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ff0\/d3e\/091\/ff0d3e091ba3e8f5ad2700669f801693.jpg\" alt=\"image\"\/><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-231311","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/231311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=231311"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/231311\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=231311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=231311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=231311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}