Ubnt ct
Z KHnetWiki
(Rozdíly mezi verzemi)
(→Ubiquiti AirMax) |
(→Ubiquiti AirMax) |
||
Řádka 6: | Řádka 6: | ||
echo "radartool cactime 1000" > /etc/persistent/rc.poststart | echo "radartool cactime 1000" > /etc/persistent/rc.poststart | ||
- | echo "echo '<option value=\"511\">===Compliance Test===</option>\n<option value=\"203\">Czech</option>\n<option value=\"533\">Aruba</option>' >> /etc/ccodes.inc" >> /etc/persistent/rc.poststart | + | echo "echo '<option value=\"511\">===Compliance Test===</option>\n' >> /etc/ccodes.inc" >> /etc/persistent/rc.poststart |
+ | <!-- echo "echo '<option value=\"511\">===Compliance Test===</option>\n<option value=\"203\">Czech</option>\n<option value=\"533\">Aruba</option>' >> /etc/ccodes.inc" >> /etc/persistent/rc.poststart--> | ||
chmod +x /etc/persistent/rc.poststart | chmod +x /etc/persistent/rc.poststart | ||
cfgmtd -w -p /etc/ | cfgmtd -w -p /etc/ |
Verze z 20. 8. 2014, 18:05
Ubiquiti AirMax
Pro firmware 5.5.8 - zmizela možnost nastavení Compliance Test
Jak to vrátit?
echo "radartool cactime 1000" > /etc/persistent/rc.poststart echo "echo '<option value=\"511\">===Compliance Test===</option>\n' >> /etc/ccodes.inc" >> /etc/persistent/rc.poststart chmod +x /etc/persistent/rc.poststart cfgmtd -w -p /etc/ reboot
Ověřeno i pro 5.5.9, včetně NanoBeam (XW firmware).
Ve verzích 5.5.x už zjevně soubor ccodes.inc neexistuje. Tento script nastaví jen compliance test a nezůstane na výběr nic jiného. Což asi nevadí ničemu.
Ve starších verzích (5.3.3) je obsah tento:
<option value="32" selected>Argentina</option> <option value="51">Armenia</option> <option value="533">Aruba</option> <option value="36">Australia</option> <option value="40">Austria</option> <option value="31">Azerbaijan</option> <option value="48">Bahrain</option> <option value="52">Barbados</option> <option value="112">Belarus</option> <option value="56">Belgium</option> <option value="84">Belize</option> <option value="68">Bolivia</option> <option value="70">Bosnia and Herzegovina</option> <option value="76">Brazil</option> <option value="96">Brunei Darussalam</option> <option value="100">Bulgaria</option> <option value="116">Cambodia</option> <option value="124">Canada</option> <option value="152">Chile</option> <option value="156">China</option> <option value="170">Colombia</option> <option value="511">Compliance Test</option> <option value="188">Costa rica</option> <option value="191">Croatia</option> <option value="196">Cyprus</option> <option value="203">Czech republic</option> <option value="208">Denmark</option> <option value="214">Dominican Republic</option> <option value="218">Ecuador</option> <option value="818">Egypt</option> <option value="222">El Salvador</option> <option value="233">Estonia</option> <option value="246">Finland</option> <option value="250">France</option> <option value="268">Georgia</option> <option value="276">Germany</option> <option value="300">Greece</option> <option value="304">Greenland</option> <option value="308">Grenada</option> <option value="316">Guam</option> <option value="320">Guatemala</option> <option value="332">Haiti</option> <option value="340">Honduras</option> <option value="344">Hong Kong</option> <option value="348">Hungary</option> <option value="352">Iceland</option> <option value="356">India</option> <option value="360">Indonesia</option> <option value="364">Iran</option> <option value="372">Ireland</option> <option value="376">Israel</option> <option value="380">Italy</option> <option value="388">Jamaica</option> <option value="400">Jordan</option> <option value="404">Kenya</option> <option value="408">North Korea</option> <option value="410">Korea Republic</option> <option value="414">Kuwait</option> <option value="428">Latvia</option> <option value="422">Lebanon</option> <option value="438">Liechtenstein</option> <option value="440">Lithuania</option> <option value="442">Luxembourg</option> <option value="446">Macau</option> <option value="807">Macedonia</option> <option value="458">Malaysia</option> <option value="470">Malta</option> <option value="484">Mexico</option> <option value="492">Monaco</option> <option value="504">Morocco</option> <option value="524">Nepal</option> <option value="528">Netherlands</option> <option value="530">Netherlands Antilles</option> <option value="554">New Zealand</option> <option value="578">Norway</option> <option value="512">Oman</option> <option value="586">Pakistan</option> <option value="591">Panama</option> <option value="598">Papua New Guinea</option> <option value="604">Peru</option> <option value="608">Philippines</option> <option value="616">Poland</option> <option value="620">Portugal</option> <option value="630">Puerto Rico</option> <option value="634">Qatar</option> <option value="642">Romania</option> <option value="643">Russia</option> <option value="682">Saudi Arabia</option> <option value="891">Serbia And Montenegro</option> <option value="702">Singapore</option> <option value="703">Slovakia</option> <option value="705">Slovenia</option> <option value="710">South Africa</option> <option value="724">Spain</option> <option value="144">Sri Lanka</option> <option value="752">Sweden</option> <option value="756">Switzerland</option> <option value="158">Taiwan</option> <option value="764">Thailand</option> <option value="780">Trinidad And Tobago</option> <option value="788">Tunisia</option> <option value="792">Turkey</option> <option value="804">Ukraine</option> <option value="784">United Arab Emirates</option> <option value="826">United Kingdom</option> <option value="840">United States</option> <option value="858">Uruguay</option> <option value="860">Uzbekistan</option> <option value="862">Venezuela</option> <option value="704">Viet Nam</option>