change wifi mac address on fonera

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
mazxim
Posts: 2
Joined: Fri Dec 17, 2010 8:43 am

change wifi mac address on fonera

Post by mazxim »

Hi there

I'm really happy to use Gargoyle firmware, it's a pretty nice and functional alternative to other firmwares of this kind, all my appreciations and love to the developers and the community.

Just one question, at the moment: is there any quick way to spoof the WIFI mac address on the fonera (2100/2200)? I already tried 'ifconfig ath0/br-lan hw ether' command, but the device just freeze when I try to come up with that. I also tried the 'macchanger' util with same results.

Best Regards
maz

mazxim
Posts: 2
Joined: Fri Dec 17, 2010 8:43 am

Re: change wifi mac address on fonera (2100)

Post by mazxim »

Ok guys, I think I partially solved the issue, somehow.
I have successfully uploaded in my Fonera 2100 the 2200 version's redboot, in which is included the 'set -m' command to change LAN & WLAN mac addresses. I download it from here (I choose the 200Mhz version, it should be safe)

Turn on your TFTP server and from the 2100's redboot prompt type this:

> load -r -v -b 0x80041000 redboot_fonera_2200_200mhz_16Ram.bin

so the console will reply with:

-- Raw file loaded 0x80041000-0x80070fff, assumed entry at 0x80041000

..then overwrite your existent one with:

> fis write -f 0xA8000000 -b 0x80041000 -l 0x00030000
> reset

Your fonera 2100 will boot up normally with your new 2200 redboot. It actually works! Now the problem is that, for some reason, when the bridge mac address is up, the first hex digit turn to be always '06' in it's modified mac address, no matter what address I choose with the 'set -m' command in redboot.
I'll try to looking further for some other trick.

Post Reply