Compilance Test Nanostation 6.0.4 licenced CS

Lucien

Administrador
Mensajes
1,075
Oro
1,119,849
1ro Decargar Putty

Puedes hacerlo en www.putty.org o del servidor Mega

2do Abrir Putty: Coloca la IP de tu Antena a Liberar y dale click a OPEN


3ro Ingresa con el USER y el PASSWORD y copia el CODIGO:


Presiona el boton SI para otorgar los permisos necesarios​

Ingresa los datos de acceso a la antena​

Aqui vas ha colocar el código para liberar Compliance TEST​

El código es:

Bash:
#!/bin/sh
 insmod ubnt_spectral
 iwpriv wifi0 setCountry UB
 ifconfig ath0 down
 ifconfig wifi0 down
 sleep 5
 rmmod ubnt_spectral
 ap_freq=$(cat /tmp/system.cfg | grep radio.1.freq | cut -d = -f 2)M
 iwconfig ath0 freq $ap_freq
 ifconfig ath0 up
 ifconfig wifi0 up
 echo "countrycode=511" > /var/etc/atheros.conf
 sed -i 's/840/511/g' /tmp/system.cfg
 echo "<option value="511">Compliance Test</option>" >> /var/etc/ccodes.inc
 
 mkdir /etc/persistent/www
 ln -s /usr/www/* /etc/persistent/www/
 rm /etc/persistent/www/index.cgi
 head -n 415 /usr/www/index.cgi >> /etc/persistent/www/index.cgi
 echo "<div class=\"row\">" >> /etc/persistent/www/index.cgi
 echo "<span class=\"label\"><? echo \"Modded By:\"; ></span>" >> /etc/persistent/www/index.cgi
 echo "<span class=\"value\" style=\"color: red\"><? echo \"Social_Community\"; ></span>" >> /etc/persistent/www/index.cgi
 echo "</div>" >> /etc/persistent/www/index.cgi
 tail -n +416 /usr/www/index.cgi >> /etc/persistent/www/index.cgi
 sed -i 's/\/usr\/www/\/etc\/persistent\/www/g' /var/etc/lighttpd.conf
 /usr/etc/init.d/plugin stop httpd
 /usr/etc/init.d/plugin start httpd

1631007144336.png
 
Atrás
Arriba