{"id":263885,"date":"2015-08-19T16:40:01","date_gmt":"2015-08-19T12:40:01","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=263885"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=263885","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 D-Link DIR-320\/NRU + 3G \u0420\u043e\u0441\u0442\u0435\u043b\u0435\u043a\u043e\u043c R41 (Sense R41)"},"content":{"rendered":"<p>     \t\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u00abD-Link DIR-320\/NRU\u00bb \u0438 \u043c\u043e\u0434\u0435\u043c\u0430 \u00ab3G+ \u0420\u043e\u0441\u0442\u0435\u043b\u0435\u043a\u043e\u043c R41\u00bb.<\/p>\n<p>  \u041d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d \u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043c\u043e\u0434\u0435\u043c\u043e\u0432, \u0438 \u00ab3G+ \u0420\u043e\u0441\u0442\u0435\u043b\u0435\u043a\u043e\u043c R41\u00bb, \u0442\u0430\u043a\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u043a\u0430\u043a \u00abSense R41\u00bb, \u0432 \u0438\u0445 \u0447\u0438\u0441\u043b\u043e \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442. \u041f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0443 \u043c\u043e\u0434\u0435\u043c \u043d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0432 \u043b\u043e\u0433\u0430\u0445 \u043e\u043d \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a SCSI \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 <i>\/dev\/ttyUSB*<\/i> \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f. \u0422\u043e \u0435\u0441\u0442\u044c \u0431\u0435\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u2014 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430.<\/p>\n<p>  \u041f\u043e\u0438\u0441\u043a \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0448\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043e\u043a ZyXEL Keenetic \u0438 OpenWRT. \u0412\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u043d\u0430 OpenWRT. \u041d\u0430\u0440\u044f\u0434\u0443 \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c\u0438 \u0441\u0431\u043e\u0440\u043a\u0430\u043c\u0438 OpenWRT, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u043c\u0438 \u0432\u0441\u0451 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f 3G \u043c\u043e\u0434\u0435\u043c\u0430, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 DIR-320\/NRU \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0432\u0435\u0442\u043a\u0443 OpenWRT, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0440\u0435\u0432\u0438\u0437\u0438\u0438 38040. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f OpenWRT \u2014 Barrier Breaker 14.07.<a name=\"habracut\"><\/a><\/p>\n<h4><font color=\"#777\">1. \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432<\/font><\/h4>\n<p>  <\/p>\n<h5>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 D-Link DIR-320\/NRU<\/h5>\n<table>\n<tr>\n<td>Off. site:<\/td>\n<td><a href=\"http:\/\/www.dlink.ru\/ru\/products\/5\/1466_b.html\">www.dlink.ru\/ru\/products\/5\/1466_b.html<\/a><\/td>\n<\/tr>\n<tr>\n<td>OpenWRT site:<\/td>\n<td><a href=\"http:\/\/wiki.openwrt.org\/toh\/d-link\/dir-320_revb1\">wiki.openwrt.org\/toh\/d-link\/dir-320_revb1<\/a><\/td>\n<\/tr>\n<tr>\n<td>H\/W Ver.:<br \/>  (\u0432\u0435\u0440\u0441\u0438\u044f \u0436\u0435\u043b\u0435\u0437\u0430)<\/td>\n<td>B1<\/td>\n<\/tr>\n<tr>\n<td>F\/W Ver.:<br \/>  (\u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438)<\/td>\n<td>1.2.94<\/td>\n<\/tr>\n<tr>\n<td>SoC:<br \/>  (\u0447\u0438\u043f\u0441\u0435\u0442)<\/td>\n<td>RaLink RT5350<\/td>\n<\/tr>\n<\/table>\n<p> \u0412\u0441\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043a\u0430\u0441\u0430\u044e\u0442\u0441\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u0441 \u0436\u0435\u043b\u0435\u0437\u043e\u043c \u0432\u0435\u0440\u0441\u0438\u0438 B*.<\/p>\n<h5>\u041c\u043e\u0434\u0435\u043c 3G+ \u0420\u043e\u0441\u0442\u0435\u043b\u0435\u043a\u043e\u043c R41<\/h5>\n<p>  \u041e\u043d \u0436\u0435 \u00abSense R41\u00bb, \u043e\u043d \u0436\u0435 \u00abNetwork Connect R41\u00bb  <\/p>\n<table>\n<tr>\n<td><\/td>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2a9\/a4e\/715\/2a9a4e7154734ed9910485bc12aab917.jpg\"\/><\/td>\n<\/tr>\n<tr>\n<td>SoC:<\/td>\n<td>MediaTek MT6225<\/td>\n<\/tr>\n<\/table>\n<h4><font color=\"#777\">2. \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/font><\/h4>\n<p>  \u041f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u044b <i>curl<\/i> \u0438 <i>ssh<\/i>. \u041d\u0430 \u041e\u0421 Windows \u0443\u0434\u043e\u0431\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <a href=\"https:\/\/msys2.github.io\/\">MSYS2<\/a> \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b <i>curl<\/i> \u0438 <i>ssh<\/i>.<\/p>\n<p>  \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c <a href=\"http:\/\/downloads.openwrt.org\/barrier_breaker\/14.07\/ramips\/rt305x\/openwrt-ramips-rt305x-dir-320-b1-squashfs-sysupgrade.bin\">\u0441\u0431\u043e\u043a\u0443 OpenWRT<\/a> \u0434\u043b\u044f DIR-320\/NRU. \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044d\u0442\u043e \u0441\u0430\u043c\u0430\u044f \u0441\u0432\u0435\u0436\u0430\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0441\u0431\u043e\u0440\u043a\u0430. \u041b\u0438\u0431\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0435\u043b\u0438\u0437\u0430\u0445\/\u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0441\u0431\u043e\u0440\u043a\u0430\u0445 \u043f\u043e \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0443 <i>ramips\/rt305x\/openwrt-ramips-rt305x-dir-320-b1-<\/i>. \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u0432 \u043f\u0430\u043f\u043a\u0443 <i>Dir320<\/i>.<\/p>\n<p>  <i>\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/i>  <\/p>\n<blockquote><p>\u0414\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b OpenWRT. \u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u2014 \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c WAN \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 (\u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u0431\u0435\u043b\u044c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430) \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u0415\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u0432 \u0441\u0431\u043e\u0440\u043a\u0443 \u0438\u043b\u0438 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 \u0441 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438. \u041d\u043e \u044f \u043d\u0435 \u0438\u0437\u0443\u0447\u0430\u043b \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 <a href=\"http:\/\/wiki.openwrt.org\/doc\/howto\/obtain.firmware\">OpenWRT howto<\/a>.<\/p><\/blockquote>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0432 \u043f\u0430\u043f\u043a\u0435 <i>Dir320<\/i> \u0441\u043a\u0440\u0438\u043f\u0442:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">update_flash.cmd<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"dos\">@echo off set firmware=openwrt-ramips-rt305x-dir-320-b1-squashfs-sysupgrade.bin set router=192.168.0.1 echo =========================================================================== echo This batch file will upload %firmware% in the current directory to echo %router% during the router's bootup. echo. echo * Set your ethernet card's settings to: echo      IP:      192.168.0.10 echo      Mask:    255.255.255.0 echo      Gateway: 192.168.0.1. echo * Unplug the router's power cable. echo * Press and hold reset button. echo * Re-plug the router's power cable. echo * Wait 10-15 seconds, then release reset button. echo. echo =============================================================================== echo Waiting for the router... Press Ctrl+C to abort. echo.  :ping ping -n 1 -w 50 %router% | find &quot;TTL=&quot; if errorlevel 1 goto ping  echo curl -v -0 --retry 100 --form firmware=@%firmware% -o %temp%\\curl_out.tmp --progress-bar http:\/\/%router% curl -v -0 --retry 100 --form firmware=@%firmware% -o %temp%\\curl_out.tmp --progress-bar http:\/\/%router% if errorlevel 1 goto ping echo. echo =============================================================================== echo * WAIT for about 2 minutes while the firmware is being flashed. echo * The default router address will be at 192.168.1.1. echo. pause exit \/b <\/code><\/pre>\n<p>  <i>\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/i>  <\/p>\n<blockquote><p>\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0443 <i>set firmware=&#8230;<\/i> \u2014 \u0437\u0430\u0434\u0430\u0439\u0442\u0435 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438, \u0435\u0441\u043b\u0438 \u043d\u0430\u0437\u0432\u0430\u043b\u0438 \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443.<\/p><\/blockquote>\n<\/div>\n<\/div>\n<p>  \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435:<\/p>\n<pre> IP:      192.168.0.10 Mask:    255.255.255.0 Gateway: 192.168.0.1 <\/pre>\n<p>  \u0412\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430. \u041f\u043e\u0434\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u043c \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043f\u043e\u0440\u0442 1 (\u0438\u043b\u0438 2,3,4, \u043d\u043e \u043d\u0435 INTERNET) \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 Ethernet-\u043a\u0430\u0431\u0435\u043b\u0435\u043c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u0435 (192.168.0.10).<\/p>\n<h4><font color=\"#777\">3. \u041f\u0440\u043e\u0448\u0438\u0432\u043a\u0430<\/font><\/h4>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442 <i>Dir320\/update_flash.cmd<\/i> \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u044b\u0435 \u0438\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438. \u0410 \u0438\u043c\u0435\u043d\u043d\u043e:<\/p>\n<ol>\n<li>\u0417\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u0441\u043f\u0438\u0447\u043a\u043e\u0439\/\u0441\u043a\u0440\u0435\u043f\u043a\u043e\u0439\/\u043a\u0430\u0440\u0430\u043d\u0434\u0430\u0448\u043e\u043c \u043a\u043d\u043e\u043f\u043a\u0443 Reset \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435.<\/li>\n<li>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0443.<\/li>\n<li>\u0416\u0434\u0435\u043c 10-15 \u0441\u0435\u043a.<\/li>\n<li>\u041e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 Reset.<\/li>\n<li>\u0416\u0434\u0435\u043c 2-3 \u043c\u0438\u043d.<\/li>\n<\/ol>\n<p>  <\/p>\n<h4><font color=\"#777\">4. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430<\/font><\/h4>\n<p>  <\/p>\n<ul>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0430\u0434\u0440\u0435\u0441 <a href=\"http:\/\/192.168.1.1\">192.168.1.1<\/a><br \/>  \u0412\u0432\u043e\u0434\u0438\u043c \u043b\u043e\u0433\u0438\u043d \u2014 root, \u043f\u0430\u0440\u043e\u043b\u044c \u2014 \u043f\u0443\u0441\u0442\u043e\u0439, \u0436\u043c\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 Login.<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0443:<br \/> \n<ul>\n<li>\u041c\u0435\u043d\u044e System \u2192 Administration<\/li>\n<li>\u0417\u0430\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c SSH (\u043f\u043e\u043b\u044f: Interface = lan, Password authentication = enable, Allow root logins with password = enable)<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 <i>Save &#038; Apply<\/i><\/li>\n<\/ul>\n<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c WAN (\u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442):<br \/> \n<ul>\n<li>\u041c\u0435\u043d\u044e Network \u2192 Interfaces<\/li>\n<li>\u0418\u043a\u043e\u043d\u043a\u0430 WAN \u2192 \u043a\u043d\u043e\u043f\u043a\u0430 Edit<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u0438\u0432\u0430\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0434\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 (\u043f\u043e\u043b\u044f: Protocol, \u0438 \u0442.\u0434.)<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 <i>Save &#038; Apply<\/i><\/li>\n<\/ul>\n<p>\u0414\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442.<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c 3G<br \/> \n<ul>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c MSYS2<\/li>\n<li>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043a \u0440\u043e\u0443\u0442\u0435\u0440\u0443 \u043f\u043e SSH:<br \/> \n<pre><code class=\"bash\">ssh root@192.168.1.1 <\/code><\/pre>\n<\/li>\n<li>\u0412\u0432\u043e\u0434\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u044c<\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u044b:<br \/> \n<pre><code class=\"bash\">opkg update opkg install comgt kmod-usb2 kmod-usb-ohci kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-ipw kmod-usb-serial-wwan kmod-usb-acm luci-proto-3g usb-modeswitch usb-modeswitch-data usbutils <\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/b><\/p>\n<div class=\"spoiler_text\">\n<blockquote><p>1. \u041a\u043e\u043c\u0430\u043d\u0434\u0443 opkg update \u043d\u0430\u0434\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 SSH \u0441\u0435\u0441\u0441\u0438\u0438 (\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438 \u043f\u0435\u0440\u0435\u0434 \u043a\u0430\u0436\u0434\u043e\u0439 opkg install). \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 opkg install \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u043f\u0430\u043a\u0435\u0442, \u043d\u0430\u0434\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c opkg update.<br \/>  2. \u0412\u043f\u043e\u043b\u043d\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0447\u0442\u043e \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 kmod-usb-serial-wwan, kmod-usb-acm \u0442\u0440\u0443\u0431\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d (\u043d\u0430 \u044d\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 <a href=\"http:\/\/wiki.openwrt.org\/doc\/recipes\/3gdongle\">wiki.openwrt.org\/doc\/recipes\/3gdongle<\/a>), \u043d\u043e \u044f \u043e\u0441\u043e\u0431\u043e \u043d\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043b\u0441\u044f, \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u043e\u0431\u0430.<br \/>  3. \u041f\u0430\u043a\u0435\u0442\u044b usb-modeswitch, usb-modeswitch-data, usbutils \u0432\u0440\u043e\u0434\u0435 \u0438 \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u043d\u0443\u0436\u043d\u044b \u2014 usb-modeswitch* \u043d\u0443\u0436\u043d\u044b, \u0435\u0441\u043b\u0438 \u043c\u043e\u0434\u0435\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0434\u0438\u0441\u043a (\u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u0431\u044b\u043b\u043e \u0442\u0430\u043a\u043e\u0433\u043e), usbutils \u043d\u0443\u0436\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c VendorID \u0438 ProductID.<\/p><\/blockquote>\n<\/div>\n<\/div>\n<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 USB \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 (\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 VendorID \u0438 ProductID):<br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\/etc\/hotplug.d\/usb\/22-3g_dongle<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">echo '#!\/bin\/sh idvendor=&quot;2020&quot; idproduct=&quot;4000&quot; bcddevice=&quot;300&quot; if [ &quot;${PRODUCT}&quot; = &quot;${idvendor}\/${idproduct}\/${bcddevice}&quot; ]; then     if [ &quot;${ACTION}&quot; = &quot;add&quot; ]; then         echo '${idvendor} ${idproduct} ff' &gt; \/sys\/bus\/usb-serial\/drivers\/option1\/new_id     fi fi ' &gt; \/etc\/hotplug.d\/usb\/22-3g_dongle <\/code><\/pre>\n<p>  <i>\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/i>  <\/p>\n<blockquote><p>1. \u041c\u043e\u0436\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 echo<br \/>  2. \u041a\u043e\u043d\u0435\u0446 \u0441\u0442\u0440\u043e\u043a\u0438 EOL \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c UNIX-\u0444\u043e\u0440\u043c\u0430\u0442\u0430 (LF, \u0430 \u043d\u0435 CRLF), \u0442\u043e \u0435\u0441\u0442\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Notepad++) \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u043a\u043e\u043d\u0446\u044b \u0441\u0442\u0440\u043e\u043a, \u0430 \u043f\u043e\u0442\u043e\u043c \u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u044d\u0442\u043e \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c.<br \/>  3. idvendor, idproduct, bcddevice \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 lsusb -v (\u043f\u0430\u043a\u0435\u0442 usbutils), \u0435\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u044d\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442.<\/p><\/blockquote>\n<\/div>\n<\/div>\n<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u043c\u043e\u0434\u0435\u043c\u0430:<br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\/etc\/chatscripts\/3g.chat<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">echo 'ABORT           BUSY ABORT           VOICE ABORT           &quot;NO CARRIER&quot; ABORT           &quot;NO DIALTONE&quot; ABORT           &quot;NO DIAL TONE&quot; ABORT           &quot;NO ANSWER&quot; ABORT           &quot;DELAYED&quot; ABORT           &quot;ERROR&quot; ABORT           &quot;+CGATT: 0&quot; &quot;&quot;              AT TIMEOUT         30 OK              ATH OK              ATE1 OK              AT+CFUN=1 OK              AT+CGATT? OK              AT+CGDCONT=1,&quot;IP&quot;,&quot;\\T&quot; OK              ATD*99# TIMEOUT         22 CONNECT         &quot;&quot; ' &gt; \/etc\/chatscripts\/3g.chat <\/code><\/pre>\n<p>  <i>\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/i>  <\/p>\n<blockquote><p>1. \u041a\u043e\u043d\u0435\u0446 \u0441\u0442\u0440\u043e\u043a\u0438 EOL \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c UNIX-\u0444\u043e\u0440\u043c\u0430\u0442\u0430.<br \/>  2. \u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \/etc\/chatscripts\/3g.chat \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0435: \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 ls -n \/etc\/chatscripts\/ \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u043a\u0430\u043a\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 3G \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f (\u0447\u0435\u0440\u0435\u0437 Web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u043b\u0438 \u043a\u043e\u043d\u0441\u043e\u043b\u044c)<\/p><\/blockquote>\n<\/div>\n<\/div>\n<\/li>\n<li>\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0440\u043e\u0443\u0442\u0435\u0440: \u043a\u043e\u043c\u0430\u043d\u0434\u0430 reboot \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 Web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/li>\n<li>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u043d\u0430 <a href=\"http:\/\/192.168.1.1\">192.168.1.1<\/a><\/li>\n<li>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f 3G \u043c\u043e\u0434\u0435\u043c\u0430:<br \/> \n<ul>\n<li>\u041c\u0435\u043d\u044e Network \u2192 Interfaces<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 Add new interface<\/li>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432\u043a\u043b\u0430\u0434\u043a\u0443 General setup, \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043f\u043e\u043b\u044f: Name = WAN3G, Protocol = UMTS\/GPRS\/EV-DO<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 Submit<\/li>\n<li>\u0417\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043f\u043e\u043b\u044f: Modem device = \/dev\/ttyUSB0, Service type = UMTS\/GPRS, APN = internet.rt.ru, username = ncc, password = ncc<\/li>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Firewall settings, \u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c Assign firewall-zone = wan<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 Save &#038; Apply<\/li>\n<\/ul>\n<\/li>\n<li>\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u0435 WAN \u043a\u0430\u0431\u0435\u043b\u044c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430.<\/li>\n<li>\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u0435, \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043c\u043e\u0434\u0435\u043c \u0438 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>  <\/p>\n<h4><font color=\"#777\">\u0415\u0441\u043b\u0438 \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e<\/font><\/h4>\n<p>  1. \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043b\u043e\u0433\u0438 \u2014 Kernel Log<\/p>\n<p>  \u0427\u0435\u0440\u0435\u0437 Web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441: \u043c\u0435\u043d\u044e Status \u2192 Kernel Log<br \/>  \u0427\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u044c (ssh):<\/p>\n<pre><code class=\"bash\">dmesg | grep usb <\/code><\/pre>\n<p>  \u0414\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0438 \u0432\u0440\u043e\u0434\u0435 \u044d\u0442\u043e\u0433\u043e:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Kernel Log<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> [    0.680000] rt3xxx-usbphy usbphy.3: loaded [    6.690000] usbcore: registered new interface driver usbfs [    6.700000] usbcore: registered new interface driver hub [    6.710000] usbcore: registered new device driver usb [   18.000000] rt3xxx-usbphy usbphy.3: remote usb device wakeup disabled [   18.020000] rt3xxx-usbphy usbphy.3: UTMI 16bit 30MHz [   18.120000] usb usb1: no of_node; not parsing pinctrl DT [   18.430000] usb usb2: no of_node; not parsing pinctrl DT [   18.460000] usbcore: registered new interface driver cdc_acm [   18.480000] usb 1-1: new high-speed USB device number 2 using ehci-platform [   18.710000] usb 1-1: no of_node; not parsing pinctrl DT [   18.730000] usbcore: registered new interface driver usbserial [   18.770000] usbcore: registered new interface driver usbserial_generic [   18.810000] usbserial: USB Serial support registered for generic [   19.400000] usbcore: registered new interface driver ipw [   19.440000] usbserial: USB Serial support registered for IPWireless converter [   19.510000] usbcore: registered new interface driver option [   19.570000] usbserial: USB Serial support registered for GSM modem (1-port) [   20.380000] usb 1-1: USB disconnect, device number 2 [   21.620000] usb 1-1: new high-speed USB device number 3 using ehci-platform [   22.010000] usb 1-1: no of_node; not parsing pinctrl DT [   23.410000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0 [   23.490000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1 [   23.590000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2 [   23.670000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3 <\/pre>\n<\/div>\n<\/div>\n<p>  \u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0441\u043b\u043e\u0432\u0430 \u2014 <i>usbserial<\/i>, <i>ttyUSB*<\/i>.<br \/>  \u0415\u0441\u043b\u0438 \u0438\u0445 \u043d\u0435\u0442, \u0442\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b: \u043c\u0435\u043d\u044e System \u2192 Software \u0438\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438<\/p>\n<pre><code class=\"bash\">opkg list-installed <\/code><\/pre>\n<p>  \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0432 <i>\/etc\/hotplug.d\/usb\/22-3g_dongle<\/i> \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b <i>idvendor<\/i>, <i>idproduct<\/i>, <i>bcddevice<\/i> \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 USB \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/p>\n<pre><code class=\"bash\">lsusb -v | grep -e idVendor -e idProduct -e bcdDevice. <\/code><\/pre>\n<p>  \u0414\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432\u044b\u0432\u0435\u0434\u0435\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435  <\/p>\n<pre>   idVendor           0x2020   idProduct          0x4000   bcdDevice            3.00   idVendor           0x1d6b Linux Foundation   idProduct          0x0002 2.0 root hub   bcdDevice            3.10   idVendor           0x1d6b Linux Foundation   idProduct          0x0001 1.1 root hub   bcdDevice            3.10 <\/pre>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0435 \u0442\u0440\u0438 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u043c\u043e\u0434\u0435\u043c\u0443.<\/p>\n<p>  2. \u0414\u0430\u043b\u0435\u0435 \u2014 System Log<\/p>\n<p>  \u0427\u0435\u0440\u0435\u0437 Web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441: \u043c\u0435\u043d\u044e Status \u2192 System Log.<br \/>  \u0427\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u044c (ssh):<\/p>\n<pre><code class=\"bash\">logread <\/code><\/pre>\n<p>  \u0414\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0438 \u0432\u0440\u043e\u0434\u0435 \u044d\u0442\u043e\u0433\u043e:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">System Log<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> Tue Aug 18 00:36:25 2015 daemon.notice netifd: Interface 'WAN3G' is setting up now Tue Aug 18 00:36:27 2015 kern.err kernel: [10387.270000] option1 ttyUSB0: option_instat_callback: error -2 Tue Aug 18 00:36:27 2015 daemon.notice pppd[22188]: pppd 2.4.7 started by root, uid 0 Tue Aug 18 00:36:28 2015 local2.info chat[22191]: abort on (BUSY) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: abort on (VOICE) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: abort on (NO CARRIER) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: abort on (NO DIALTONE) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: abort on (NO DIAL TONE) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: abort on (NO ANSWER) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: abort on (DELAYED) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: abort on (ERROR) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: abort on (+CGATT: 0) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: send (AT^M) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: timeout set to 30 seconds Tue Aug 18 00:36:28 2015 local2.info chat[22191]: expect (OK) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: AT^M^M Tue Aug 18 00:36:28 2015 local2.info chat[22191]: OK Tue Aug 18 00:36:28 2015 local2.info chat[22191]:  -- got it Tue Aug 18 00:36:28 2015 local2.info chat[22191]: send (ATH^M) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: expect (OK) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: ^M Tue Aug 18 00:36:28 2015 local2.info chat[22191]: ATH^M^M Tue Aug 18 00:36:28 2015 local2.info chat[22191]: OK Tue Aug 18 00:36:28 2015 local2.info chat[22191]:  -- got it Tue Aug 18 00:36:28 2015 local2.info chat[22191]: send (ATE1^M) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: expect (OK) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: ^M Tue Aug 18 00:36:28 2015 local2.info chat[22191]: ATE1^M^M Tue Aug 18 00:36:28 2015 local2.info chat[22191]: OK Tue Aug 18 00:36:28 2015 local2.info chat[22191]:  -- got it Tue Aug 18 00:36:28 2015 local2.info chat[22191]: send (AT+CFUN=1^M) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: expect (OK) Tue Aug 18 00:36:28 2015 local2.info chat[22191]: ^M Tue Aug 18 00:36:28 2015 local2.info chat[22191]: AT+CFUN=1^M^M Tue Aug 18 00:36:28 2015 local2.info chat[22191]: OK Tue Aug 18 00:36:28 2015 local2.info chat[22191]:  -- got it Tue Aug 18 00:36:28 2015 local2.info chat[22191]: send (AT+CGATT?^M) Tue Aug 18 00:36:29 2015 local2.info chat[22191]: expect (OK) Tue Aug 18 00:36:29 2015 local2.info chat[22191]: ^M Tue Aug 18 00:36:29 2015 local2.info chat[22191]: AT+CGATT?^M^M Tue Aug 18 00:36:29 2015 local2.info chat[22191]: +CGATT: 1^M Tue Aug 18 00:36:29 2015 local2.info chat[22191]: ^M Tue Aug 18 00:36:29 2015 local2.info chat[22191]: OK Tue Aug 18 00:36:29 2015 local2.info chat[22191]:  -- got it Tue Aug 18 00:36:29 2015 local2.info chat[22191]: send (AT+CGDCONT=1,&quot;IP&quot;,&quot;\\T&quot;^M) Tue Aug 18 00:36:29 2015 local2.info chat[22191]: expect (OK) Tue Aug 18 00:36:29 2015 local2.info chat[22191]: ^M Tue Aug 18 00:36:29 2015 local2.info chat[22191]: AT+CGDCONT=1,&quot;IP&quot;,&quot;T&quot;^M^M Tue Aug 18 00:36:29 2015 local2.info chat[22191]: OK Tue Aug 18 00:36:29 2015 local2.info chat[22191]:  -- got it Tue Aug 18 00:36:29 2015 local2.info chat[22191]: send (ATD*99#^M) Tue Aug 18 00:36:29 2015 local2.info chat[22191]: timeout set to 22 seconds Tue Aug 18 00:36:29 2015 local2.info chat[22191]: expect (CONNECT) Tue Aug 18 00:36:29 2015 local2.info chat[22191]: ^M Tue Aug 18 00:36:29 2015 local2.info chat[22191]: ATD*99#^M^M Tue Aug 18 00:36:29 2015 local2.info chat[22191]: CONNECT Tue Aug 18 00:36:29 2015 local2.info chat[22191]:  -- got it Tue Aug 18 00:36:29 2015 local2.info chat[22191]: send (^M) Tue Aug 18 00:36:29 2015 daemon.info pppd[22188]: Serial connection established. Tue Aug 18 00:36:29 2015 daemon.info pppd[22188]: Using interface 3g-WAN3G Tue Aug 18 00:36:29 2015 daemon.notice pppd[22188]: Connect: 3g-WAN3G &lt;--&gt; \/dev\/ttyUSB0 Tue Aug 18 00:36:30 2015 daemon.notice pppd[22188]: PAP authentication succeeded Tue Aug 18 00:36:32 2015 daemon.warn pppd[22188]: Could not determine remote IP address: defaulting to 10.64.64.64 Tue Aug 18 00:36:32 2015 daemon.notice pppd[22188]: local  IP address 10.175.68.213 Tue Aug 18 00:36:32 2015 daemon.notice pppd[22188]: remote IP address 10.64.64.64 Tue Aug 18 00:36:32 2015 daemon.notice pppd[22188]: primary   DNS address 176.59.127.150 Tue Aug 18 00:36:32 2015 daemon.notice pppd[22188]: secondary DNS address 176.59.127.146 Tue Aug 18 00:36:32 2015 daemon.notice netifd: Network device '3g-WAN3G' link is up Tue Aug 18 00:36:32 2015 daemon.notice netifd: Interface 'WAN3G' is now up Tue Aug 18 00:36:32 2015 user.notice firewall: Reloading firewall due to ifup of WAN3G (3g-WAN3G) <\/pre>\n<\/div>\n<\/div>\n<p>  \u041f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u043d\u0443\u0436\u043d\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u0434 \u044d\u0442\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438. \u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0442\u0443\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u043a\u0430\u0436\u0435\u0448\u044c.<\/p>\n<h4><font color=\"#777\">\u0421\u0441\u044b\u043b\u043a\u0438<\/font><\/h4>\n<p>  <a href=\"http:\/\/www.dlink.ru\/ru\/products\/5\/1466_b.html\">\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 DIR-320\/NRU \u043d\u0430 D-Link<\/a><br \/>  <a href=\"http:\/\/wiki.openwrt.org\/toh\/d-link\/dir-320_revb1\">\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 DIR-320\/NRU \u043d\u0430 OpenWRT<\/a><br \/>  <a href=\"http:\/\/wiki.openwrt.org\/ru\/doc\/howto\/basic.config\">\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 OpenWRT<\/a><br \/>  <a href=\"http:\/\/wiki.openwrt.org\/ru\/doc\/recipes\/3gdongle\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 3G \u043c\u043e\u0434\u0435\u043c\u0430 \u0432 OpenWRT<\/a><br \/>  <a href=\"http:\/\/v1ron.ru\/2013\/06\/stavim-openwrt-na-dir320nru\/\">\u0421\u0442\u0430\u0432\u0438\u043c OpenWRT \u043d\u0430 DIR320\/NRU<\/a><br \/>  <a href=\"https:\/\/www.ylsoftware.com\/news\/673\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043c\u0430 Sense R41 \u0432 Linux<\/a>     \t<\/p>\n<div class=\"clear\"><\/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\/265023\/\"> http:\/\/habrahabr.ru\/post\/265023\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u00abD-Link DIR-320\/NRU\u00bb \u0438 \u043c\u043e\u0434\u0435\u043c\u0430 \u00ab3G+ \u0420\u043e\u0441\u0442\u0435\u043b\u0435\u043a\u043e\u043c R41\u00bb.<\/p>\n<p>  \u041d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d \u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043c\u043e\u0434\u0435\u043c\u043e\u0432, \u0438 \u00ab3G+ \u0420\u043e\u0441\u0442\u0435\u043b\u0435\u043a\u043e\u043c R41\u00bb, \u0442\u0430\u043a\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u043a\u0430\u043a \u00abSense R41\u00bb, \u0432 \u0438\u0445 \u0447\u0438\u0441\u043b\u043e \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442. \u041f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0443 \u043c\u043e\u0434\u0435\u043c \u043d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0432 \u043b\u043e\u0433\u0430\u0445 \u043e\u043d \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a SCSI \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 <i>\/dev\/ttyUSB*<\/i> \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f. \u0422\u043e \u0435\u0441\u0442\u044c \u0431\u0435\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u2014 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430.<\/p>\n<p>  \u041f\u043e\u0438\u0441\u043a \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0448\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043e\u043a ZyXEL Keenetic \u0438 OpenWRT. \u0412\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u043d\u0430 OpenWRT. \u041d\u0430\u0440\u044f\u0434\u0443 \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c\u0438 \u0441\u0431\u043e\u0440\u043a\u0430\u043c\u0438 OpenWRT, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u043c\u0438 \u0432\u0441\u0451 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f 3G \u043c\u043e\u0434\u0435\u043c\u0430, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 DIR-320\/NRU \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0432\u0435\u0442\u043a\u0443 OpenWRT, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0440\u0435\u0432\u0438\u0437\u0438\u0438 38040. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f OpenWRT \u2014 Barrier Breaker 14.07.<\/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-263885","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263885","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=263885"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263885\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}