Arg-Wireless - Foro de Argentina

Equipamientos => Ubiquiti => Mensaje publicado por: D3M0N en 13 de Agosto de 2013, 09:43:21 PM

Título: MANUAL: Clonar Mac-Address en AirOS Ubiquiti
Publicado por: D3M0N en 13 de Agosto de 2013, 09:43:21 PM
(http://osxdaily.com/wp-content/uploads/2012/03/change-mac-address.jpg)

REQUERIMIENTOS:

    - Equipamiento Ubiquiti con AirOS.
    - Firmware Requerido: v5.3.5 (http://www.ubnt.com/downloads/firmwares/XN-fw/v5.3.5/XM.v5.3.5.11245.111219.2046.bin).

PASOS:

1.- Ingresar por SSH al equipamiento.
2.- Ingresar el siguiente Codigo Reemplazando lo indicado:

echo "ifconfig ath0 down; ifconfig ath0 hw ether <MAC-ADDRESS>; ifconfig ath0 up" > /etc/persistent/rc.poststart; chmod +x /etc/persistent/rc.poststart; cfgmtd -w -p /etc/; reboot

EXPLICACIÓN DEL CÓDIGO:

ifconfig ath0 down = Deshabilita la interfaz inalambrica (Atheros0 = Ath0)
ifconfig ath0 hw ether <MAC-ADDRESS> = Cambia su MAC Address por una que indicamos.
ifconfig ath0 up = Habilita nuevamente la interfaz.
Demás cuestiones son para que los efectos queden fijos.