You are on page 1of 6

4/13/2017 howtochnagenanostation5mmacaddressPage2UbiquitiNetworksCommunity

COMMUNITY S TO R E SIGN IN REGISTER EN

HOME FORUMS S TO R I E S BLOGS SUPPORT QUICK LINKS Search Board Search

Ubiquiti Networks Community airMAX airOS Software & Con guration

how to chnage nanostation 5m mac address


Reply Topic Options Previous 1 2 3 Next

the9am3 Re: how to chnage nanostation 5m mac address Options


New Member 02-20-2012 10:26 AM

guys this is full command that can change mac address and do not change when nanostation turn off you can use this command in Putty
or Directly go to 192.168.1.20/admin.cgi
Posts: 17 echo "ifcon g ath0 down; ifcon g ath0 hw ether 00:11:22:33:44:55; ifcon g ath0 up" > /etc/persistent/rc.poststart; chmod +x
Registered: 02-16-2012
/etc/persistent/rc.poststart; cfgmtd -w -p /etc/; reboot
Kudos: 4

0 Kudos Reply

SDA Re: how to chnage nanostation 5m mac address Options


Established Member 02-20-2012 01:13 PM

As the9am3 states, or

Posts: 1,388 #! /bin/sh


Registered: 08-16-2010 ifcon g ath0 down
Kudos: 325 ifcon g ath0 hw ether 00:11:22:33:44:55
Solutions: 99 ifcon g ath0 up

Save the above as rc.poststart in the /etc/persistent/ directory.


To make the con guration permanent, run "save" from the cli.

I use winSCP in SCP client client for both the cli terminal and as the le manager.

Cheers

0 Kudos Reply

esseph Re: how to chnage nanostation 5m mac address Options


SuperUser 02-20-2012 02:31 PM

As the9am3 states, or

Posts: 21,550 #! /bin/sh


Registered: 11-20-2011
ifcon g ath0 down
Kudos: 7561 ifcon g ath0 hw ether 00:11:22:33:44:55
Solutions: 229
ifcon g ath0 up

Save the above as rc.poststart in the /etc/persistent/ directory.


To make the con guration permanent, run "save" from the cli.

I use winSCP in SCP client client for both the cli terminal and as the le manager.

Cheers

Putty works as well. Same for PSCP, although WinPSCP works more like a windows-gui ftp client.

isp builder | linux sorcerer | datacenter automation conjurer | paid consultation available

https://community.ubnt.com/t5/airOSSoftwareConfiguration/howtochnagenanostation5mmacaddress/tdp/234781/page/2 1/6
4/13/2017 howtochnagenanostation5mmacaddressPage2UbiquitiNetworksCommunity

0 Kudos Reply

evrin1941 cheange mac nano bredge Options


New Member 02-20-2012 03:52 PM

cheange wlan mac on bredge mod.nanobredge m5


rst connect with putty ssh
Posts: 4 then
Registered: 12-29-2011 vi /etc/persistent/rc.poststart
Kudos: 1 ifcon g ath0 down
ifcon g ath0 hw ether XX:YY:ZZ:TT:GG:FF
ifcon g ath0 up

chmod +x /etc/persistent/rc.poststart
cfgmtd -w -p /etc/
reboot

nanobredge m5 test

1 Kudo Reply

ilian05 Re: how to chnage nanostation 5m mac address Options


New Member 07-02-2012 08:10 AM

vi /etc/persistent/rc.poststart

Posts: 20 ifcon g ath0 down


Registered: 10-19-2011

Kudos: 2 ifcon g ath0 hw ether XX:YY:ZZ:TT:GG:FF

ifcon g ath0 up

chmod +x /etc/persistent/rc.poststart

cfgmtd -w -p /etc/

works this on nano station m2?

1 Kudo Reply

esseph Re: how to chnage nanostation 5m mac address Options


SuperUser 07-02-2012 08:11 AM

works this on nano station m2?

Posts: 21,550
Registered: 11-20-2011

Kudos: 7561 Yes. ( ller text)


Solutions: 229

isp builder | linux sorcerer | datacenter automation conjurer | paid consultation available

0 Kudos Reply

satlamerd Re: how to chnage nanostation 5m mac address Options


New Member 08-02-2012 04:38 AM

https://community.ubnt.com/t5/airOSSoftwareConfiguration/howtochnagenanostation5mmacaddress/tdp/234781/page/2 2/6
4/13/2017 howtochnagenanostation5mmacaddressPage2UbiquitiNetworksCommunity
afther doing this way. i cannot access to my nano station m5 , sometime i can see that i have ping to my nano but afther 30 sec i see
timeouts.
reset KEY is broken and i cannot reset nano.
Posts: 12
Registered: 05-01-2012
is there anyway?

0 Kudos Reply

ilian05 Re: how to chnage nanostation 5m mac address Options


New Member 10-07-2012 04:36 AM

just use this command

Posts: 20 echo "ifcon g ath0 down; ifcon g ath0 hw ether 00:11:22:33:44:55; ifcon g ath0 up" > /etc/persistent/rc.poststart; chmod +x
Registered: 10-19-2011 /etc/persistent/rc.poststart; cfgmtd -w -p /etc/; reboot
Kudos: 2

0 Kudos Reply

satlamerd Re: how to chnage nanostation 5m mac address Options


New Member 10-07-2012 08:09 AM

just use this command

Posts: 12
Registered: 05-01-2012
echo "ifcon g ath0 down; ifcon g ath0 hw ether 00:11:22:33:44:55; ifcon g ath0 up" > /etc/persistent/rc.poststart; chmod +x
/etc/persistent/rc.poststart; cfgmtd -w -p /etc/; reboot

can you show me your wlan intercafe with this mac 001122334455?
thanks

0 Kudos Reply

xankom Re: how to chnage nanostation 5m mac address Options


Member 01-31-2013 02:35 PM

just use this command

Posts: 197
Registered: 09-19-2010
echo "ifcon g ath0 down; ifcon g ath0 hw ether 00:11:22:33:44:55; ifcon g ath0 up" > /etc/persistent/rc.poststart; chmod +x
Kudos: 34 /etc/persistent/rc.poststart; cfgmtd -w -p /etc/; reboot

Hi everyone,

I had to change the mac address on one of my APs because as a fool I had 4 CPEs with ap mac lock enabled and had changed a faulty ap by
a new one

To do so I followed this thread:


forum.ubnt.com/showthread.php?t=48059&page=3

since i typed these commands my rocket doesnt answer to ping:

ifcon g ath0 down

ifcon g ath0 hw ether XX:YY:ZZ:TT:GG:FF

did even have time to type "ifcon g ath0 up" that I got cut off with a time out error message in putty.

This sounds bad doesn't it?

Can you help?


Thanks
__________________
Gabe

https://community.ubnt.com/t5/airOSSoftwareConfiguration/howtochnagenanostation5mmacaddress/tdp/234781/page/2 3/6
4/13/2017 howtochnagenanostation5mmacaddressPage2UbiquitiNetworksCommunity

Gabe

0 Kudos Reply

xankom Re: how to chnage nanostation 5m mac address Options


Member 02-01-2013 12:00 AM

Hi everyone,
I had to change the mac address on one of my APs because as a fool I had 4 CPEs with ap mac lock enabled and had changed a
Posts: 197 faulty ap by a new one
Registered: 09-19-2010
To do so I followed this thread:
Kudos: 34 forum.ubnt.com/showthread.php?t=48059&page=3
since i typed these commands my rocket doesnt answer to ping:
ifcon g ath0 down
ifcon g ath0 hw ether XX:YY:ZZ:TT:GG:FF
did even have time to type "ifcon g ath0 up" that I got cut off with a time out error message in putty.
This sounds bad doesn't it?
Can you help?
Thanks
__________________
Gabe

By miracle I could reboot it via aircontrol even if it didnt answer to ping.


?!
I'll just go onsite and disable ap mac lock in the 5 cpes that got cut off after changing the ap controller
Would be nice to have the mac cloning feature in bridge mode also

Gabe

0 Kudos Reply

viawi s Re: how to chnage nanostation 5m mac address Options


New Member 05-16-2013 01:03 PM

Bueno canviando la mac de un Ap M5 version 5.5.3 solucion que a funcionado despues de muchas pruebas.
Subimos dos archivos en el directorio etc rc.prestart y rc.poststart con el mismo contenido tres lineas. Contenido ifcon g ath0
Posts: 5 down, ifcon g ath0 hw ether 01:02:03:04:05:06 , ifcon g ath0 up una vez subidos camviamos permisos chmod 755 , conectamos con
Registered: 05-16-2013 ssh y ejecutamos este comando cfgmtd -w -p /etc/ esto lo hace permanente . ahora reiniciamos reboot . Ahora en el ap desactivamos
el airmax y vemos que se nos conectan varias estaciones , no todas, pero van conectando a medida que bamos actualizando. Entramos en
cada una y ponemos vincular al mac (la mac del nuevo aparato, la original) del Ap y vamos haciendo cada uno asi y refrescando, cuando
los tenemos todos activamos el airmax. Vamos al directorio etc y borramos los dos cheros suvidos y reiniciamos y VOILAAA todas las
estaciones conectadas al nuevo AP y funcionando perfectamente con la mac original del nuevo AP aparato.

0 Kudos Reply

nmstplummer Re: how to chnage nanostation 5m mac address Options


New Member 05-16-2013 05:07 PM

yes the local wisp here where i am located also uses mac address restrictions only.. no wep, wpa , wpa2 etc..

Posts: 30 i have used the mac addrss clone before to bypass like one of the other guys talks about..
Registered: 11-16-2011
Kudos: 3
Solutions: 3

0 Kudos Reply

hwally Re: how to chnage nanostation 5m mac address Options


10-17-2014 05:11 PM
https://community.ubnt.com/t5/airOSSoftwareConfiguration/howtochnagenanostation5mmacaddress/tdp/234781/page/2 4/6
4/13/2017 howtochnagenanostation5mmacaddressPage2UbiquitiNetworksCommunity
Member 10-17-2014 05:11 PM

You're a good guy Gene. Thanks for the straight forward and friendly reply.

Posts: 113
Registered: 01-16-2011

Kudos: 5
Solutions: 1

0 Kudos Reply

oilop9000 Re: how to chnage nanostation 5m mac address [Edited] Options


Emerging Member 09-13-2015 11:40 PM - edited 09-13-2015 11:40 PM

ViaWi s.

Posts: 46 No funciona en modo bridge verdad?
Registered: 11-16-2013
Kudos: 2 Saludos.
Solutions: 1

0 Kudos Reply

oilop9000 Re: how to chnage nanostation 5m mac address Options


Emerging Member 09-14-2015 11:09 AM

Cant believe Its so dif cult andfrustrating to change mac address of an AP (Rocket M5) to replace a broken one, we use both ssid and ap
mac to prevent rogue ap attacks, and now we are tied because we just cant change the mac address, shameful.
Posts: 46
Registered: 11-16-2013 We tried the procedures written in this post but rocket replies
Kudos: 2 ifcon g: SIOCSIFHWADDR: Device or resource busy
Solutions: 1
please Help

0 Kudos Reply

viawi s Re: how to chnage nanostation 5m mac address Options


New Member 09-14-2015 03:10 PM

Si que funciona en modo britge, desactivar airmax en versiones superores a v5.5

Posts: 5
Registered: 05-16-2013

0 Kudos Reply

laithmikrotik Re: how to chnage nanostation 5m mac address Options


New Member 11-19-2015 04:16 AM

hi every one
can i do the steps above on rocket m5 with soft v5.5.6
Posts: 3 with thankssss
Registered: 05-16-2015

0 Kudos Reply

ninolasi Re: how to chnage nanostation 5m mac address Options


New Member 03-01-2016 09:22 AM

Ciao vorrei sapere se hai cambiato il mac e come hai fatto , perfavore lo puoi dire anche a me ? grazie

Posts: 1
Registered: 03-01-2016

0 Kudos Reply

muslim_sat Re: how to chnage nanostation 5m mac address Options


New Member 05-21-2016 06:46 AM

pls help as we are need the soft of chaing mac Wlan0 to nano m5 , ...etc

https://community.ubnt.com/t5/airOSSoftwareConfiguration/howtochnagenanostation5mmacaddress/tdp/234781/page/2 5/6
4/13/2017 howtochnagenanostation5mmacaddressPage2UbiquitiNetworksCommunity


Posts: 4 waiting you to hel as
Registered: 09-13-2014 thanks .
Kudos: 2

0 Kudos Reply

Message Listing Previous Topic Next Topic

Reply Topic Options Previous 1 2 3 Next


Company

In the News

Buy Now

Social
Training
Careers Product Updates Courses UBNT Store Community
Contact Us Newsletters Calendar Find a Distributor Facebook
Investors Case Studies Trainers Stock Locator Tool Twitter
Marketing Become a Trainer Become a Distributor YouTube

2017 Ubiquiti Networks, Inc. All rights reserved.


Terms of Service | Privacy Policy

https://community.ubnt.com/t5/airOSSoftwareConfiguration/howtochnagenanostation5mmacaddress/tdp/234781/page/2 6/6

You might also like