Am I doing something wrong? LAN mac changes after restore

Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Goto page 1, 2  Next
Author Message
Cartel
DD-WRT Novice


Joined: 14 Jun 2013
Posts: 33

PostPosted: Sat May 10, 2025 20:59    Post subject: Am I doing something wrong? LAN mac changes after restore Reply with quote
I notice that when I save a backup of my settings, then restore it, my LAN mac address defaults to the routers baked in mac. I have to go to the router under setup "networking" and change the bridge mac back to what I had as the "new" mac it defaults to freaks the software firewall and network neighborhood out and they want to "add new network" which I dont want.

So have I configured something wrong here?

thanks



Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16146
Location: Texas, USA

PostPosted: Sat May 10, 2025 21:31    Post subject: Reply with quote
Router model and DD-WRT build version? Or are we supposed to guess? Complete information, please.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Cartel
DD-WRT Novice


Joined: 14 Jun 2013
Posts: 33

PostPosted: Sat May 10, 2025 21:49    Post subject: Reply with quote
WRT400N
any version, currently DD-WRT v3.0-r58819 std
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16146
Location: Texas, USA

PostPosted: Sat May 10, 2025 21:56    Post subject: Reply with quote
Without information from the current release to determine if the issue still exists, I cannot forward the report. System logs possibly required. Ensure browser cache has been cleared. Moved to Atheros, because this is not an Advanced Networking topic.

https://wikidevi.wi-cat.ru/Linksys_WRT400N

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2025/05-06-2025-r61025/linksys-wrt400n/
dplotz
DD-WRT User


Joined: 07 Jan 2025
Posts: 155
Location: Bethel Park, PA, USA

PostPosted: Sun May 11, 2025 0:12    Post subject: Reply with quote
I had been seeing this behavior for many years, on everything from a Buffalo WZR-600DHP, through Netgear AC1450s, Linksys WRT1900ACs, and Netgear R7800s. Seemed to stop around the time BS went to K6 builds. I'm still using the WZR-600DHP (Kernel 3.10) but it's doing basic port forwarding and I haven't had to restore config, pretty much ever.

For some reason, I just assumed this was known, default behavior. Of course, we all know what happens when you assume...

_________________
Formerly dpp3530
Linksys MR7350
Gateway, 2 wired APs, NSS-ECM , Clock 1440MHz
VAPs on wlan0 and wlan1 for guest/IOT devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
SmartDNS (using NextDNS, Cloudflare), DNSMasq
Wireguard and OpenVPN server
2.4GHz: dd-wrt, N/G-Mixed, ACK Timing 1350, WPA3 SAE & WPA2 w/AES
5GHz: dd-wrt, AX/AC/N Mixed, ACK Timing 1350, WPA3 SAE & WPA2 w/AES
Verizon Fios, 500/500Mbps
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16146
Location: Texas, USA

PostPosted: Sun May 11, 2025 1:49    Post subject: Reply with quote
Yes, because the MAC addresses have nothing to do with the kernel in use.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Cartel
DD-WRT Novice


Joined: 14 Jun 2013
Posts: 33

PostPosted: Sun May 11, 2025 16:49    Post subject: Reply with quote
Its not a big deal, it does it on my dlink 825 rev b also.
I just thought maybe I was doing something wrong.
Cartel
DD-WRT Novice


Joined: 14 Jun 2013
Posts: 33

PostPosted: Wed May 21, 2025 8:03    Post subject: Reply with quote
kernel-panic69 wrote:
Yes, because the MAC addresses have nothing to do with the kernel in use.


The problem I am having now is that when I change the LAN mac it deletes the bridge and I have to reset the router.

I followed the forum advice to reset and enter the info manually after updating so many times. I did that and I notice the back up file was encrypted and before I reset the back ups were plain text.

The encrypted back up works but as I said it doesnt populate the LAN mac with the saved one, now after doing the reset and such when I type the mac myself in the Create a Bridge line, instead of updating the desired mac it deletes the bridge and then I'm locked out of the router. So I'm not sure what to do now
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16146
Location: Texas, USA

PostPosted: Wed May 21, 2025 14:09    Post subject: Reply with quote
You only change the MAC address in Setup -> Networking -> Interface Setup, not the root MAC on the bridging. Also, MAC addresses are generally not saved in nvram backups last I knew.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3640
Location: Germany

PostPosted: Wed May 21, 2025 15:23    Post subject: Reply with quote
The bridge MAC addresses can also be changed without any problems.

Bridges do not have their own MAC addresses but inherit those of the first interface that is added.

and yes, as KP has already mentioned, MAC addresses are not restored from backups - as the backups are compatible with other devices.

_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 24.10.1 - Gateway
Qualcomm IPQ8065 - R7800 - OpenWrt 24.10.1 - WAP
Cartel
DD-WRT Novice


Joined: 14 Jun 2013
Posts: 33

PostPosted: Wed May 21, 2025 21:06    Post subject: Reply with quote
I'm not sure whats going on. If I try to restore the encryped backup, it wont let me change the mac of the default bridge.
When I restore the plain text backup it allows it.

I change the
lan_hwaddr it deletes the bridge soon as hit apply. (interface eth0 successfully deleted from bridge br0)

I always have the eth0_hwaddr and lan_hwaddr set to 2 different macs.

The other thing is why would 1 backup bin be plain text but another be like this?

ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3640
Location: Germany

PostPosted: Thu May 22, 2025 7:13    Post subject: Reply with quote
Since the backups are not encrypted, the question is superfluous.

I don't know what you are uploading, maybe a corrupted file or a backup of another firmware.

_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 24.10.1 - Gateway
Qualcomm IPQ8065 - R7800 - OpenWrt 24.10.1 - WAP
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16146
Location: Texas, USA

PostPosted: Thu May 22, 2025 15:54    Post subject: Reply with quote
Please post a screenshot of opening the nvrambak.bin file with a text editor if it's not "encrypted". I don't think the following would've been developed and created if it were a plain text file. The only other program that will show human-readable anything is a hex editor. I guess it's the definition of "encrypted" that is in question.

https://github.com/tknarr/ddwrt-nvram-tools
NVRAM Editor 0.92 Beta released (original thread)
NVRAM Editor 0.92 Beta released (redundant thread)

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3640
Location: Germany

PostPosted: Thu May 22, 2025 16:07    Post subject: Reply with quote
...

have been doing this for years to extract settings



797526752756.jpg
 Description:
 Filesize:  134.74 KB
 Viewed:  601 Time(s)

797526752756.jpg



_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 24.10.1 - Gateway
Qualcomm IPQ8065 - R7800 - OpenWrt 24.10.1 - WAP
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16146
Location: Texas, USA

PostPosted: Thu May 22, 2025 17:43    Post subject: Reply with quote
I guess I should've specified a text editor that doesn't understand certain things.

Still not 100% plain text as what nvram show would output, which is what my point was.



nvrambak.bin.notepad++.png
 Description:
 Filesize:  184.71 KB
 Viewed:  580 Time(s)

nvrambak.bin.notepad++.png



nvramback.bin.notepad-win.png
 Description:
 Filesize:  171.43 KB
 Viewed:  580 Time(s)

nvramback.bin.notepad-win.png



_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros 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