Fireware upgrade changed MAC address to 00:11:22:33:44:56

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


Joined: 16 Aug 2009
Posts: 2

PostPosted: Wed Oct 11, 2017 16:23    Post subject: Fireware upgrade changed MAC address to 00:11:22:33:44:56 Reply with quote
I upgrade my WRT160NL-Router to the latest firmware "v24 PreSP2 [Beta] Build: 21061" from 2017-09-07 and then i didn't have Internet for a day. The reason was that my Internet Provider automatically blocked my router because of the change of its MAC-address, which was changed to 00:11:22:33:44:56 in the upgrade process.

This MAC-address is used in some of the dd-wrt examples, e.g. here https://www.dd-wrt.com/wiki/index.php/Static_DHCP. I assume it must have snuck into the source code by copy and paste.

My internet provider accepted my new MAC-address, when i called, so i got my internet back. So i just wanted to inform "you" about this probably unintended behavior.
Sponsor
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Wed Oct 11, 2017 19:11    Post subject: Re: Fireware upgrade changed MAC address to 00:11:22:33:44:5 Reply with quote
simon.void wrote:
I upgrade my WRT160NL-Router to the latest firmware "v24 PreSP2 [Beta] Build: 21061" from 2017-09-07 and then i didn't have Internet for a day.
You're saying that you installed 21061? You meant "latest from the Router Database"? That date isn't the build date, cuz that build is from 3-25-2013. The latest build is here:
ftp://ftp.dd-wrt.com/betas/2017/10-10-2017-r33492/linksys_wrt160nl/
...but if you were to update, you need to research New Build threads to make sure there isn't an issue, which many recent builds have, except generally for 33006, 33215, and 33492 (if the size isn't too big like it is for most Broadcom k3.x 8MB models).

So this MAC issue is interesting, but first...a few things:
1. The WRT160NL is an Atheros router, so you're in the wrong forum. Smile But since you're here...
2. You could have simply cloned the MAC in the GUI and set to what is printed on the label, rather than calling the ISP.
3. Did you do a reset after flashing a different build, and manually set back up? At least for Broadcom, MAC address is set by the the bootloader (CFE), unless the nvram parameter for aforesaid cloning is set. It appears this is your issue, unless something is -really- eftup, or your bootloader default was modified; I'm not familiar w/ Atheros devices.

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Wed Oct 11, 2017 19:35    Post subject: Reply with quote
Yea other forum where you need with that box
Few notes about wrt160nl in recent new build thread
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311600

If that don't work for you use the 33413
ftp://ftp.dd-wrt.com/betas/2017/09-27-2017-r33413/linksys_wrt160nl/

Been using 33413 on two as WDS link since the build came out
simon.void
DD-WRT Novice


Joined: 16 Aug 2009
Posts: 2

PostPosted: Tue Oct 24, 2017 15:51    Post subject: Reply with quote
Ok, so i updated the DD-WRT version to rev33525, which seems to work fine, and cloned the MAC address to the old one. This changed the WAN MAC but didn't change the LAN MAC, which is now (and was since the last update two weeks ago) an easy to remember 00:11:22:33:44:55.

Is there any point in changing the LAN MAC as well?
And if yes, how?
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Mon Oct 30, 2017 20:16    Post subject: Reply with quote
simon.void wrote:
Is there any point in changing the LAN MAC as well? And if yes, how?
You should be able to change the nvram parameter, if you can't fix the default used by the bootloader. In telnet/ssh or GUI Admin->Commands run `nvram show|grep -e mac -e addr`. Then change it with:
    nvram set {parameter}={value}
    nvram commit && reboot

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4


Last edited by jwh7 on Tue Oct 31, 2017 17:46; edited 1 time in total
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2319
Location: Canada

PostPosted: Tue Oct 31, 2017 15:18    Post subject: MAC Address Reply with quote
The only way to really change the MAC address is by connecting a serial cable (USB-TTL 3.3V) and writing in a new MAC address at the correct location, more than likely you accidentally overwrote it when upgrading. I have done it before, but I don't remember the commands off had.

The only time I did it was on a Broadcom device and it required updating a caldata parition.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
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