Arg-Wireless - Foro de Argentina

[In]Seguridad Informática => 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
(https://www.arg-wireless.com.ar/proxy.php?request=http%3A%2F%2Fosxdaily.com%2Fwp-content%2Fuploads%2F2012%2F03%2Fchange-mac-address.jpg&hash=664b63326572c94fd64a59066530f537a8dfd6b4)

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.