{"id":1965,"date":"2017-08-11T16:41:15","date_gmt":"2017-08-11T14:41:15","guid":{"rendered":"http:\/\/sheki.zlatograd.com\/blog\/?p=1965"},"modified":"2019-02-23T13:08:32","modified_gmt":"2019-02-23T11:08:32","slug":"ubnt-airos-7-compliance-test","status":"publish","type":"post","link":"https:\/\/sheki.zlatograd.com\/blog\/ubnt-airos-7-compliance-test\/","title":{"rendered":"UBNT AirOS 7 &#8211; 8 Compliance test"},"content":{"rendered":"<p>\u0422\u0435\u0437\u0438 \u0434\u043d\u0438 \u043c\u0438 \u0441\u0435 \u043d\u0430\u043b\u043e\u0436\u0438 \u0434\u0430 \u0442\u044a\u0440\u0441\u044f \u043f\u043e &#8211; \u0441\u0432\u043e\u0431\u043e\u0434\u0435\u043d \u043a\u0430\u043d\u0430\u043b \u0438 \u0441\u0435 \u0441\u0431\u043b\u044a\u0441\u043a\u0430\u0445 \u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u0442\u0430 \u043d\u0430 \u0410\u0421 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430, \u043f\u043e\u0442\u044a\u0440\u0441\u0438\u0445 \u0438 \u043d\u0430\u043c\u0435\u0440\u0438\u0445 \u0432 \u0435\u0434\u0438\u043d <a href=\"https:\/\/tekniblog.wordpress.com\/2016\/03\/15\/compliance-test-em-ubiquiti\/\">\u0438\u0441\u043f\u0430\u043d\u0441\u043a\u0438 \u0431\u043b\u043e\u0433<\/a> \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430 \u043a\u043e\u043c\u043f\u043b\u0438\u0430\u043d\u0441 \u0442\u0435\u0441\u0442-\u0430. \u041b\u043e\u0433\u0432\u0430\u0442\u0435 \u0441\u0435 \u043f\u0440\u0435\u0437 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u043a\u044a\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u0442\u043e \u0438 \u0438\u0437\u043f\u044a\u043b\u043d\u044f\u0432\u0430\u0442\u0435 \u0441\u043b\u0435\u0434\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0438<\/p>\n<blockquote><p>sed -i &#8216;s\/countrycode=.*\/countrycode=5000\/g&#8217; \/tmp\/system.cfg<\/p>\n<p>save<\/p>\n<p>reboot<\/p><\/blockquote>\n<p>\u0410\u043a\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u0435 \u0432\u044a\u0437\u0441\u0442\u0430\u043d\u043e\u0432\u0438 \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043b\u043d\u0430\u0442\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430,\u00a0 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0438 \u043a\u0430\u0442\u043e \u0441\u0435 \u0437\u0430\u043c\u0435\u0441\u0442\u0438 \u0432 \u043f\u043e \u0433\u043e\u0440\u043d\u0430\u0442\u0430\u00a0 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 &#8222;5000&#8220; \u0441 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u043d\u0438\u044f \u043a\u043e\u0434 \u043d\u0430 \u0434\u044a\u0440\u0436\u0430\u0432\u0430\u0442\u0430 100 &#8211; \u0411\u044a\u043b\u0433\u0430\u0440\u0438\u044f(\u043c\u043e\u0436\u0435 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 <a href=\"https:\/\/wikiinfotechno.wordpress.com\/2015\/08\/06\/list-of-country-code-ubiquiti\/\">\u0442\u0443\u043a<\/a>), \u0438\u043b\u0438 \u0435\u0434\u0438\u043d \u043f\u043e\u0441\u0442 \u043d\u0430 \u043a\u043e\u043b\u0435\u0433\u0430<\/p>\n<blockquote><p>For those struggling with the ability to change the country code of a remote antenna. The following works for me on NanoStation M5s, Rocket M5s, and PowerBridge M5s.<\/p>\n<p>1. Ensure that I can log into the web gui, and go to the wireless tab.<\/p>\n<p>2. Open my putty program (download at putty.org)<\/p>\n<p>3. SSH into the IP of the antenna and log in using the same credintials as the web gui.<\/p>\n<p>4. Type the following: vi \/tmp\/system.cfg and hit enter.<\/p>\n<p>5. Hit the i key so you will be able to edit the file.<\/p>\n<p>6. Edit the following XXX using the Country Code from the provided link below.<\/p>\n<p>6a. radio.countrycode=XXX<\/p>\n<p>6b radio.1.countrycode=XXX<\/p>\n<p>7. Hit the following ESC key, : key, wq keys, then enter<\/p>\n<p>7a. This saves the file.<\/p>\n<p>8. Go back to your web gui, and hit the wireless tab or refresh the page.<\/p>\n<p>9. You can now change it to whatever country you like.<\/p>\n<p>Note: If it is a US model, then you will still only get the US\/Canada\/Puerto Rico options.<\/p><\/blockquote>\n<p>\u0417\u0430\u043f\u043e \u0441\u0442\u0430\u0440\u0438\u0442\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 AIR OS\u00a0 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u0442\u0435<\/p>\n<div id=\"messagebodydisplay_0_2\" class=\"lia-message-body lia-component-body\">\n<div class=\"lia-message-body-content\">\n<blockquote><p>putty:192.168.1.20<\/p>\n<p>touch \/etc\/persistent\/ct<\/p>\n<p>save<\/p>\n<p>reboot<\/p><\/blockquote>\n<\/div>\n<\/div>\n<p>\u0410\u043a\u043e \u0441\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0438 \u0440\u0435\u0441\u0435\u0442 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435\u00a0 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430\u0442\u0430 \u0441\u0435 \u0430\u043d\u0443\u043b\u0438\u0440\u0430 \u0438 \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0438 \u043d\u0430\u043d\u043e\u0432\u043e.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0422\u0435\u0437\u0438 \u0434\u043d\u0438 \u043c\u0438 \u0441\u0435 \u043d\u0430\u043b\u043e\u0436\u0438 \u0434\u0430 \u0442\u044a\u0440\u0441\u044f \u043f\u043e &#8211; \u0441\u0432\u043e\u0431\u043e\u0434\u0435\u043d \u043a\u0430\u043d\u0430\u043b \u0438 \u0441\u0435 \u0441\u0431\u043b\u044a\u0441\u043a\u0430\u0445 \u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u0442\u0430 \u043d\u0430 \u0410\u0421 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430, \u043f\u043e\u0442\u044a\u0440\u0441\u0438\u0445 \u0438 \u043d\u0430\u043c\u0435\u0440\u0438\u0445 \u0432 \u0435\u0434\u0438\u043d \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u0438 \u0431\u043b\u043e\u0433 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430 \u043a\u043e\u043c\u043f\u043b\u0438\u0430\u043d\u0441 \u0442\u0435\u0441\u0442-\u0430. \u041b\u043e\u0433\u0432\u0430\u0442\u0435 \u0441\u0435 \u043f\u0440\u0435\u0437 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u043a\u044a\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u0442\u043e \u0438 \u0438\u0437\u043f\u044a\u043b\u043d\u044f\u0432\u0430\u0442\u0435 \u0441\u043b\u0435\u0434\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 sed -i &#8216;s\/countrycode=.*\/countrycode=5000\/g&#8217; \/tmp\/system.cfg save reboot \u0410\u043a\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u0435 \u0432\u044a\u0437\u0441\u0442\u0430\u043d\u043e\u0432\u0438 \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043b\u043d\u0430\u0442\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430,\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,44],"tags":[120,119,50],"class_list":["post-1965","post","type-post","status-publish","format-standard","hentry","category-ubnt","category-wifi","tag-ubnt","tag-wifi","tag-wireless"],"_links":{"self":[{"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/posts\/1965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/comments?post=1965"}],"version-history":[{"count":4,"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/posts\/1965\/revisions"}],"predecessor-version":[{"id":1999,"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/posts\/1965\/revisions\/1999"}],"wp:attachment":[{"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/media?parent=1965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/categories?post=1965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sheki.zlatograd.com\/blog\/wp-json\/wp\/v2\/tags?post=1965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}