MAC Address Clone Bug

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
s19303cc
DD-WRT Novice


Joined: 20 Mar 2007
Posts: 22

PostPosted: Sun Dec 26, 2010 18:38    Post subject: MAC Address Clone Bug Reply with quote
When I clone my MAC Address, it works. Until....

When I reboot (via the "reboot router" Administration-> Management) the router, it reverts to the hardware MAC and NOT the clone.

Which makes my connection not come back up Smile This is very bad in a remote situation.

Locally, I then can do a "Apply Settings" under the MAC Address clone tab and the MAC will update and my WAN connection will come up.

When I say "the MAC will update" I am referring to the WAN MAC listed on the Status -> Router page.

This happens on Atheros:

DD-WRT v24SP2-EU-US (08/19/10) std - build 14998 (Atheros AR9132 rev 2 (0xb9)) WZR-HP-G300NH

Can I get some more feedback from other users? Thanks.
Sponsor
Johnas89
DD-WRT Novice


Joined: 02 Jul 2008
Posts: 47

PostPosted: Sun Dec 26, 2010 20:00    Post subject: Reply with quote
This also happened with built 15747, but I really had no reason to Clone my MAC. It ma be that Buffalo put a restriction on how the cloned MAC's are stored. I'm not very knowledgeable, but I do know that Buffalo wanted all MAC's to be the same. BrainSlayer's explanation is in the WZR-HP-G300NH support thread, i want to say around page 20 or so..
_________________
Buffalo WZR-600DHP ==> build 20675
2x Buffalo WZR-HP-G300NH ==> pro build 14998 and community 17201
s19303cc
DD-WRT Novice


Joined: 20 Mar 2007
Posts: 22

PostPosted: Mon Dec 27, 2010 0:46    Post subject: Reply with quote
Thanks. Found the info you were talking about here:

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51532&postdays=0&postorder=asc&highlight=wzrhpg300nh&start=285

...but the question and answer was related to why all three MACs (WAN/LAN/WIFI) were all the same.

A person followed up with my same question, but there was no response as to why cloning was not working after a reboot. Although I didn't read all 40 pages.

The duplicate MAC is working as intended.

The MAC clone failure after a reboot is a bug. Unless someone has some more info and/or read all 40 pages.

Maybe BS put a check in to force the duplicate MAC on reboots (per Buffalo's request/standards), and in doing so, over looked the functionality of cloning a MAC on reboots.

like: IF MAC=clone THEN WIFI/WAN/LAN=clone on reboots/startup, otherwise WIFI/WAN/LAN=oem MAC on reboots/startup

Johnas89 wrote:
This also happened with built 15747, but I really had no reason to Clone my MAC. It ma be that Buffalo put a restriction on how the cloned MAC's are stored. I'm not very knowledgeable, but I do know that Buffalo wanted all MAC's to be the same. BrainSlayer's explanation is in the WZR-HP-G300NH support thread, i want to say around page 20 or so..
s19303cc
DD-WRT Novice


Joined: 20 Mar 2007
Posts: 22

PostPosted: Tue Jan 04, 2011 2:31    Post subject: Reply with quote
Cross posted since this went stale:
http://forums.buffalotech.com/t5/Wireless/Mac-Clone-Bug-WZR-HP-G300NH/td-p/50032
Rayures
DD-WRT Novice


Joined: 27 Sep 2007
Posts: 11

PostPosted: Thu Jan 06, 2011 21:10    Post subject: Reply with quote
have the same issue with my wndr3700 (r15962)

i can clone a mac and press apply, then the mac is cloned, BUT the router is terribly slow and 2.4Ghz wireless wont even come online.
On a reboot the mac is reset to its original, although the clone mac adress settings are still there.

hope this is a know bug/issue, and that someone is fixing it.
DJArtyUA
DD-WRT Novice


Joined: 11 Feb 2011
Posts: 13

PostPosted: Fri Feb 11, 2011 8:14    Post subject: Mac Clone don't work Reply with quote
Have the same problem.
Mac Clone don't work.
DD-WRT v24-sp2 (12/24/10) std (SVN revision 15962)
eko - BrainSlayer V24-preSP2 12-24-10-r15962
and purposed 15778. the same..
Device: D-Link DIR-615 H/W ver. E4 (A)
CPU Model Atheros AR7240 rev 1.2 (0x00c2).
Code:

nvram set et0macaddr=00:E0:xx...
nvram set wan_hwaddr=00:E0:xx...
nvram set def_hwaddr=00:E0:xx...
nvram commit

in /tmp/.rc_startup don't solve the problem.
Only "Save"-"Apply Changes" on Mac Clone Page via GUI. Evil or Very Mad

Interesting if I do dump of nvram after reboot or power up:
nvram show >> test1 (no macclone, no inet)
Apply change on Mac Clone page via GUI (see little disconnect, but not full reboot - tmp files do not cleaned)
nvram show >> test2 (macclone, inet)

After that diff test1 test2 show to me changes nothing!!
So, that its mean? No nvram store problem, but startup (hidden from eyes) script in firmware core? I think so.. Smile
Now try to use, but...:
Code:

sleep 30
ifconfig eth0 down
sleep 5
ifconfig eth0 hw ether 00:E0:xx..
sleep 5
ifconfig eth0 up
sleep 10
route add default gw $(nvram get wan_gateway)

...but its ugly Smile
StalP
DD-WRT Novice


Joined: 30 Mar 2011
Posts: 1

PostPosted: Wed Mar 30, 2011 21:00    Post subject: Reply with quote
And I have the same problem.
DD-WRT v24-sp2 (03/17/11) std (SVN revision 16454).
Mac Clone still don't work.
Device: WNDR3700 (Atheros AR7161 rev 2 (0xaa))

PS. MAC Cloning works fine on my second DD-WRT Device (WRT610Nv2) with any build of DD-WRT I've ever tried...
joegreat
DD-WRT Novice


Joined: 27 May 2010
Posts: 10

PostPosted: Thu Mar 31, 2011 5:58    Post subject: Reply with quote
StalP wrote:
And I have the same problem.
DD-WRT v24-sp2 (03/17/11) std (SVN revision 16454).
Mac Clone still don't work.
Device: WNDR3700 (Atheros AR7161 rev 2 (0xaa))

PS. MAC Cloning works fine on my second DD-WRT Device (WRT610Nv2) with any build of DD-WRT I've ever tried...

Hi,

The firmware version r16454 has fixed the MAC cloning problem for WNDR3700 - at least for me! But it has other major problems - like memory usage to high!

You can try the version r16230 from here with the fixed MAC cloning problem - it was only posted into the forum - not on FTP server - by BrainSlayer.

With kind regards
Joe Cool

_________________
Netgear WNDR3700 v2 with Firmware: BrainSlayer-V24-preSP2 (02/19/11) std r16230
nhanquy
DD-WRT Novice


Joined: 12 Aug 2010
Posts: 15

PostPosted: Mon Apr 18, 2011 5:26    Post subject: Re: Mac Clone don't work Reply with quote
DJArtyUA wrote:

Now try to use, but...:
Code:

sleep 30
ifconfig eth0 down
sleep 5
ifconfig eth0 hw ether 00:E0:xx..
sleep 5
ifconfig eth0 up
sleep 10
route add default gw $(nvram get wan_gateway)

...but its ugly Smile


It was you to make me create this script:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=137634
I think it solves the MAC clone problem but I still prefer it's a real fix in the firmware not in the startup script.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum