{"id":215401,"date":"2014-03-11T16:46:03","date_gmt":"2014-03-11T12:46:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=215401"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=215401","title":{"rendered":"<span class=\"post_title\">Cubieboard A10 \u043a\u0430\u043a \u0440\u043e\u0443\u0442\u0435\u0440 \u0438 \u0442\u043e\u0447\u043a\u0430 WiFi hotspot<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043e\u0431\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a \u0425\u0430\u0431\u0440\u0430 \u043d\u0430\u0440\u043e\u0434, \u044f \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0438 \u0442\u043e\u0447\u043a\u0438 WIFI \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 miniPC Cubieboard A10. \u041d\u0430 \u0434\u0430\u043d\u043d\u0443\u044e \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0443 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043c\u0430\u043d\u0443\u0430\u043b\u043e\u0432 \u043a\u0430\u043a \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u0442\u0430\u043a \u0438 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043d\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0442\u0430\u043a \u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c. <br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0427\u0442\u043e \u0438\u043c\u0435\u0435\u0442\u0441\u044f:<\/p>\n<p>  \u0420\u043e\u0443\u0442\u0435\u0440: \u0441\u0442\u0430\u0440\u044b\u0439 \u0434\u043e\u0431\u0440\u044b\u0439 Dlink \u2014 Dir 300 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u043e\u0439, \u0432\u0435\u0440\u043e\u0439 \u0438 \u043f\u0440\u0430\u0432\u0434\u043e\u0439 \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043e\u043d \u043c\u043d\u0435 \u043f\u0440\u043e\u0441\u043b\u0443\u0436\u0438\u043b, \u0437\u0430\u043c\u0435\u043d\u043e\u0439 \u0435\u0433\u043e \u0441\u0442\u0430\u043b\u043e \u0442\u043e \u0447\u0442\u043e \u0432 \u0434\u043e\u043c\u0435 \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u043b\u043e\u0441\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 WIFI 802.11 n, \u0430 \u0443 \u043d\u0435\u0433\u043e \u0441 \u044d\u0442\u0438\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043f\u0440\u0438 \u043f\u043e\u043b\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043e\u043d \u0432\u044b\u0434\u0430\u0432\u0430\u043b \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 75 \u041c\u0431\u0438\u0442\/c \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e \u0441 1 \u0430\u043d\u0442\u0435\u043d\u043d\u043e\u0439. <\/p>\n<p>  \u041d\u0430 \u0435\u0433\u043e \u0437\u0430\u043c\u0435\u043d\u0443 \u0431\u044b\u043b \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0451\u043d Cubieboard A10 \u0442\u0430\u043a\u0436\u0435 \u0432 \u0445\u043e\u0434\u0435 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u0439 \u0431\u044b\u043b\u0438 \u043f\u0440\u0435\u0430\u0431\u0440\u0435\u0442\u0435\u043d\u044b \u0434\u0432\u0430 WIFi USB \u043c\u043e\u0434\u0443\u043b\u044f TP-LINK721N \u0438 TP-LINK722N.<\/p>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435:<\/p>\n<p>  \u041d\u0430 \u0447\u0438\u0441\u0442\u044b\u0439 Cubieboar \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432 NAND \u043f\u0430\u043c\u044f\u0442\u044c Cubian(\u044d\u0442\u043e OS \u043d\u0430 \u0431\u0430\u0437\u0435 Debian \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e miniPC). \u042f \u0434\u0443\u043c\u0430\u044e \u0442\u0443\u0442 \u043d\u0435 \u043a\u0430\u043a\u0438\u0445 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430 github \u0435\u0441\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u043c\u0430\u043d\u0443\u0430\u043b, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0435\u0433\u043e \u0438 \u0441\u0442\u0430\u0432\u0438\u043b, \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c \u0432 \u0442\u043e\u043c \u0447\u0442\u043e \u043e\u043d \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043a\u0430\u0440\u0442\u044b \u043f\u0430\u043c\u044f\u0442\u0438, \u044f \u0440\u0435\u0448\u0438\u043b \u044d\u0442\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u0430\u0432\u043a\u0438 \u0444\u0430\u0439\u043b\u0430 \/boot\/uEnv.txt, \u0432 \u043d\u0451\u043c \u0432\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0431\u044b\u043b\u0430 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a <\/p>\n<pre><code class=\"bash\">root=\/dev\/nandb rootwait <\/code><\/pre>\n<p>  \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f \u0443\u0436\u0435 \u0441 NAND \u043f\u0430\u043c\u044f\u0442\u0438, \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0441\u0435\u0442\u044c, \u0432 \u043c\u043d\u043e\u0433\u0438\u0445 \u043c\u0430\u043d\u0443\u0430\u043b\u0430\u0445 \u0435\u0441\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0441\u0442\u0430, \u043d\u043e \u043c\u043d\u0435 \u044d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0434\u043e\u0448\u0451\u043b \u043a\u043e\u0433\u0434\u0430 \u0432 \u043c\u043e\u0435\u0439 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 \u0434\u043b\u044f \u0442\u0435\u0441\u0442 \u0431\u044b\u043b \u0440\u043e\u0443\u0442\u0435\u0440, \u0442\u043e \u0435\u0441\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442&#8212;Dir-300&#8212;Cubieboar&#8212;PC, \u0435\u0441\u043b\u0438 \u0438\u0437 \u044d\u0442\u043e\u0439 \u0446\u0435\u043f\u043e\u0447\u043a\u0438 \u0443\u0431\u0440\u0430\u0442\u044c Dir-300 \u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0441\u0442\u0430 \u0442\u043e cubieboard \u043d\u0435 \u043c\u043e\u0433 \u043f\u0438\u043d\u0433\u043e\u0432\u0430\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0448\u043b\u044e\u0437 \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0434\u0430\u043d\u043d\u0443\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e NAT <\/p>\n<p>  \u043c\u043e\u0439 \u0444\u0430\u0439\u043b \/etc\/network\/interfaces \u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0438\u0434\u0435:<\/p>\n<pre><code class=\"bash\"># the loopback interface auto lo iface lo inet loopback  # \u041a\u0430\u0440\u0442\u0430 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430  auto eth0 iface eth0 inet static address 178.210.208.39  netmask 255.255.255.128  gateway 178.210.208.1 dns-nameservers 178.210.192.2 pre-up ifconfig eth0 down hw ether 02:c3:0b:82:c1:cb  auto wlan2 #wifi \u043a\u0430\u0440\u0442\u0430 iface wlan2 inet static address 192.168.0.1 netmask 255.255.255.0  <\/code><\/pre>\n<p>  \u0425\u043e\u0442\u0435\u043b \u0431\u044b \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u043a\u0443<\/p>\n<pre><code class=\"bash\">pre-up ifconfig eth0 down hw ether 02:c3:0b:82:c1:cb <\/code><\/pre>\n<p>  \u0412 Cubiane \u0441\u0442\u043e\u0438\u0442 \u0440\u0435\u043d\u0434\u043e\u043c\u043d\u044b\u0439 MAC \u0430\u0434\u0440\u0435\u0441 (\u043d\u0435 \u0437\u043d\u0430\u044e \u0437\u0430\u0447\u0435\u043c) \u043d\u043e \u043c\u043e\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0443 \u043f\u043e MAC \u0430\u0434\u0440\u0435\u0441\u0443 \u0438 \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u0434 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043a\u0430\u0440\u0442\u044b \u043e\u043d \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043c\u043e\u0439 \u043c\u0430\u043a \u0430\u0434\u0440\u0435\u0441. <\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0441\u0435\u0442\u044c <\/p>\n<pre><code class=\"bash\"> sudo \/etc\/init.d\/networking restart <\/code><\/pre>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c dns \u0430\u0434\u0440\u0435\u0441\u0430 <\/p>\n<pre><code class=\"bash\">sudo nano \/etc\/resolv.conf <\/code><\/pre>\n<p>  \u0438 \u0432\u043e\u0434\u0438\u043c \u0432\u0430\u0448\u0438 dns \u0430\u0434\u0440\u0435\u0441\u0430 \u043f\u043e \u0442\u0438\u043f\u0443 <\/p>\n<pre><code class=\"bash\">nameserver ip dns \u0441\u0435\u0440\u0432\u0435\u0440\u0430 nameserver ip dns \u0441\u0435\u0440\u0432\u0435\u0440\u0430 <\/code><\/pre>\n<p>  \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 NAT: <\/p>\n<p>  \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e iptables \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0434\u043b\u044f POSTROUTING.<\/p>\n<pre><code class=\"bash\">sudo nano \/etc\/rc.local <\/code><\/pre>\n<p>  \u0418 \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c <\/p>\n<pre><code class=\"bash\">\/sbin\/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u0432 \u0444\u0430\u043b\u0435   <\/p>\n<pre><code class=\"bash\">sudo nano \/etc\/sysctl.conf <\/code><\/pre>\n<p>  \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443<\/p>\n<pre><code class=\"bash\">net.ipv4.ip_forward=1 <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u043f\u0438\u043d\u0433\u043e\u0432\u0430\u0442\u044c \u0447\u0442\u043e \u043b\u0438\u0431\u043e <\/p>\n<pre><code class=\"bash\">ping google.com <\/code><\/pre>\n<p>  \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u043f\u0438\u043d\u0433\u0438 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e.<\/p>\n<p>  \u041d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043c\u044b \u0438\u043c\u0435\u0435\u043c Cubieboard \u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u043e\u043c \u0434\u0430\u043b\u0435\u0435 \u0431\u0443\u0434\u0435\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c WIFI hotspot \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e hostapd<\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c hostapd <\/p>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 \u043d\u043e \u0442\u0430\u043c \u043e\u0447\u0435\u043d\u044c \u0441\u0442\u0430\u0440\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043e\u043d\u0430 \u0438 \u043d\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430, \u0438 \u043f\u043b\u043e\u0445\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 802.11n \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c:<\/p>\n<pre><code class=\"bash\">git clone git:\/\/w1.fi\/srv\/git\/hostap.git <\/code><\/pre>\n<p>  \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0435\u0439 \u0434\u043e\u0431\u0430\u0432\u0438\u043c 1 \u043d\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433 \u0447\u0442\u043e \u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 40 Mhz (\u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442 \u043d\u0430\u043c 150 \u041c\u0431\u0438\u0442\/c)<\/p>\n<p>  \u043b\u0438\u0447\u043d\u043e \u044f \u043d\u0435 \u0443\u043c\u0435\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f patch \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u043f\u0438\u0440\u044b\u0432\u0430\u043b \u0438 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u043b \u0440\u0443\u043a\u0430\u043c\u0438 \u0438\u0437 \u0431\u0430\u0433-\u0442\u0440\u0435\u043a\u0435\u0440\u0430 <\/p>\n<p>  <a href=\"https:\/\/dev.openwrt.org\/browser\/trunk\/package\/hostapd\/patches\/400-noscan.patch?rev=33392\">dev.openwrt.org\/browser\/trunk\/package\/hostapd\/patches\/400-noscan.patch?rev=33392<\/a><\/p>\n<p>  \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e <\/p>\n<pre><code class=\"bash\">cd hostap\/hostapd cp defconfig .config nano .config <\/code><\/pre>\n<p>  \u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u0447\u043a\u0443   <\/p>\n<pre><code class=\"bash\">CONFIG_IEEE80211N=y <\/code><\/pre>\n<p>  \u0438 \u043c\u043e\u0436\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c   <\/p>\n<pre><code class=\"bash\">sudo make <\/code><\/pre>\n<p>  \u043f\u043e\u0441\u043b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b <\/p>\n<pre><code class=\"bash\">nano conf <\/code><\/pre>\n<p>  \u0432\u043e\u0442 \u043c\u043e\u0439 \u0444\u0430\u0439\u043b <\/p>\n<pre><code class=\"bash\">interface=wlan2 driver=nl80211 ssid=SupaAP country_code=RU hw_mode=g macaddr_acl=0  auth_algs=1 logger_syslog=-1 logger_syslog_level=3 logger_stdout=-1 logger_stdout_level=2 ignore_broadcast_ssid=0 ieee80211n=1 ht_capab=[HT40-][HT40+][SHORT-GI-40][RX-STBC1][DSSS_CCK-40] channel=7 wmm_enabled=1 noscan=1  wpa=1 wpa_passphrase=PASSWORD wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP  <\/code><\/pre>\n<p>  \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c <\/p>\n<pre><code class=\"bash\">.\/hostapd conf <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c. \u0422\u0430\u043a \u043a\u0430\u043a \u0443 \u043d\u0430\u0441 \u043d\u0435\u0442 DHCP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u0432 \u0440\u0443\u0447\u043d\u0443\u044e, \u0432 \u043f\u043e\u043b\u0435 DNS \u044f \u0441\u0442\u0430\u0432\u0438\u043b DNS \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430, \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u0438\u0445 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u0438 \u044f \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0441\u0442\u0430\u043b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c, \u0438 \u0431\u044b\u043b \u043e\u0447\u0435\u043d\u044c \u043e\u0433\u043e\u0440\u0447\u0451\u043d. <\/p>\n<p>  \u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0431\u044b\u043b\u0438 \u043c\u044f\u0433\u043a\u043e \u0433\u043e\u0432\u043e\u0440\u044f \u043d\u0435 \u043e\u0447\u0435\u043d\u044c, \u043f\u0440\u0438\u0447\u0451\u043c \u0441 \u0434\u043e\u043b\u0435\u0439 \u043c\u0430\u0433\u0438\u0438, \u043f\u043e WIFI \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0431\u044b\u043b\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 1.2 \u041c\u0431\u0438\u0442\/c \u0433\u0434\u0435 Dir-300 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b 3.5 \u041c\u0431\u0438\u0442\/c, \u044f \u0433\u0440\u0435\u0448\u0438\u043b \u043d\u0430 USB WIFI \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u043c\u043e\u043b \u043f\u0440\u0430\u0432\u044b \u0431\u044b\u043b\u0438 \u0443\u043c\u043d\u044b\u0435 \u043b\u044e\u0434\u0438 \u043a\u0430\u043a \u043d\u0430 \u0444\u043e\u0440\u043c\u0435 \u0442\u0430\u043a \u0438 \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0441\u043a\u0435\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u0437\u0430\u0442\u0435\u044f\u043c, \u043d\u043e \u043d\u0430 \u043f\u0440\u044f\u043c\u0443\u044e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0432 \u0441\u043a\u0430\u0447\u0430\u0442\u044c wget \u0431\u044b\u043b \u043e\u0448\u0430\u0440\u0430\u0448\u0435\u043d, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043d\u0435 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u043b\u0430 300 \u043a\u0431\u0438\u0442\/c, \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e. \u0414\u0430\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0431\u044b\u043b\u0430 \u0432 \u044f\u0434\u043d\u0435 \u0441\u0430\u043c\u043e\u0433\u043e Cubian-a \u044f, \u044f \u0437\u0430\u043c\u0435\u043d\u0438\u043b \u044f\u0434\u0440\u043e \u043d\u0430 \u044f\u0434\u0440\u043e \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0420\u043e\u043c\u0430\u043d\u0430 (https:\/\/romanrm.net\/a10) \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043b\u0430 \u0434\u043e 6.9 \u041c\u0431\u0438\u0442\/c \u0447\u0435\u0440\u0435\u0437 wget, \u0438 \u0434\u043e 4-5 \u041c\u0431\u0438\u0442\/c \u043f\u043e WIFI \u0447\u0442\u043e \u0445\u043e\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044f \u0432\u0437\u0431\u043e\u0434\u0440\u0438\u043b\u043e.<\/p>\n<h5>\u0412\u044b\u0432\u043e\u0434\u044b:<\/h5>\n<p>  Cubieboard \u043d\u0438 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u043b\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0440\u043e\u0443\u0442\u0435\u0440 \u0438 Wifi \u0442\u043e\u0447\u043a\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u0430, \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043f\u0440\u0438\u0440\u043e\u0441\u0442\u0430 \u043a \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043e\u043d\u0430 \u043d\u0435 \u0434\u0430\u0451\u0442, \u0434\u0430 \u0438 \u0437\u0430 \u0442\u0430\u043a\u0438\u0435 \u0434\u0435\u043d\u044c\u0433\u0438 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043a\u0443\u043f\u0438\u0442\u044c \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u0440\u043e\u0443\u0442\u0435\u0440 \u043a\u0443\u0434\u0430 \u043f\u043e \u0448\u0443\u0441\u0442\u0440\u0435\u0435. \u041d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0435 \u044f \u043f\u0440\u0435\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b \u043d\u0435 \u044d\u0442\u0438 \u0446\u0435\u043b\u0438 \u0438 \u043c\u043e\u0442\u0438\u0432\u044b, \u0446\u0435\u043b\u044c\u044e \u0431\u044b\u043b\u043e \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 nix \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0438 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e \u0447\u0435\u0433\u043e \u0441 \u043b\u0438\u0445\u0432\u043e\u0439 \u043c\u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u043b\u043e, \u0434\u0430\u043b\u0435\u0435 \u043a\u0443\u0431\u0438\u043a \u0431\u0443\u0434\u0435\u0442 \u0438 \u0434\u0430\u043b\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u0440\u043e\u0443\u0442\u0435\u0440 \u0443 \u043c\u0435\u043d\u044f, \u043d\u0430 \u043d\u0435\u043c \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u043a\u0430 \u043a\u0440\u0443\u0442\u0438\u0442\u044c\u0441\u044f nginx + apache \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0430 \u0441\u0432\u043e\u0438\u0445 \u0432\u0435\u0431 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \t\t\t<\/p>\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\/215401\/\"> http:\/\/habrahabr.ru\/post\/215401\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043e\u0431\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a \u0425\u0430\u0431\u0440\u0430 \u043d\u0430\u0440\u043e\u0434, \u044f \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0438 \u0442\u043e\u0447\u043a\u0438 WIFI \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 miniPC Cubieboard A10. \u041d\u0430 \u0434\u0430\u043d\u043d\u0443\u044e \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0443 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043c\u0430\u043d\u0443\u0430\u043b\u043e\u0432 \u043a\u0430\u043a \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u0442\u0430\u043a \u0438 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043d\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0442\u0430\u043a \u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c.   <\/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-215401","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/215401","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=215401"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/215401\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=215401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=215401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=215401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}