[Solved] Help to fix corrupted wl1 mac address (on DIR868L)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
skygunner
DD-WRT User


Joined: 28 Dec 2008
Posts: 146

PostPosted: Thu Jan 19, 2023 5:29    Post subject: [Solved] Help to fix corrupted wl1 mac address (on DIR868L) Reply with quote
Hi,

I have two of those 868L routers.
One seems to have corrupted mac address for wl1.

Working unit, wl1 mac address is same as LAN.
Quote:

size: 42366 bytes (23170 left)
et0macaddr=c0:a0:bb:5c:c8:a0
0:macaddr=c0:a0:bb:5c:c8:a0
1:macaddr=C0:A0:BB:5C:C8:B2
et0macaddr_safe=C0:A0:BB:5C:C8:A0
pci/1/0/macaddr=c0:a0:bb:5c:c8:a0
pci/1/1/macaddr=c0:a0:bb:5c:c8:a0
pci/2/0/macaddr=c0:a0:bb:5c:c8:a2
pci/2/1/macaddr=c0:a0:bb:5c:c8:a2

LAN MAC
C0:A0:BB:5C:C8:A0
WAN MAC
C0:A0:BB:5C:C8:A1
Wireless MAC (wl0 2.4G)
C0:A0:BB:5C:C8:A2
(wl1 5G)
C0:A0:BB:5C:C8:A0


So the 1:macaddr is not in use on DD-WRT?
The wl1 mac address is caculated not from nvram?
(I read there's some writing about converting the 868L into AC66U, it is making wl0 = LAN mac address, and wl1=wl0+4)

The broken unit:
Quote:

size: 38287 bytes (27249 left)
et0macaddr=c0:a0:bb:5c:cb:00
0:macaddr=c0:a0:bb:5c:cb:00
1:macaddr=00:90:5C:0E:50:18
et0macaddr_safe=C0:A0:BB:5c:CB:00
pci/1/0/macaddr=c0:a0:bb:5c:cb:00
pci/1/1/macaddr=c0:a0:bb:5c:cb:00
pci/2/0/macaddr=c0:a0:bb:5c:cb:02
pci/2/1/macaddr=c0:a0:bb:5c:cb:02

LAN MAC
C0:A0:BB:5C:Cb:00
WAN MAC
C0:A0:BB:5C:Cb:01
Wireless MAC wl0 2.4G
C0:A0:BB:5C:Cb:02
wl1 5G
C0:A0:BB:5C:Cb:02


The 1:macaddr does not seem to be in the range.
The wl1 mac address should be same as LAN but it is not.
The symptom is after pwering up, wl0 or wl1 seems to try to compete and when 2.4G works, 5G doesn't. When 5G works, 2.4G doesn't.

So how could I fix this? How is the wl1 mac address caculated here?
Do I fix the 1:macaddr in nvram/cfe editting?
Thanks.

_________________
[Broadcom]
DIR868L RevA -> r51506
DIR868L RevA -> r51440
Linksys EA6900-> r42819 STD
WL-500gP v2 --->

[Ralink]
DIR-600 Rev.B -> DD-WRT v3.0-r34886


Last edited by skygunner on Sun Jan 22, 2023 16:35; edited 1 time in total
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri Jan 20, 2023 11:14    Post subject: Reply with quote
On the Setup/Networking tab you can alter the MAC address of the interface
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
skygunner
DD-WRT User


Joined: 28 Dec 2008
Posts: 146

PostPosted: Fri Jan 20, 2023 12:19    Post subject: Reply with quote
Thanks. On the setup, networking I found the eth2 address might have problem as it is ending with 02. I changed it to the same as LAN mac address ending with 00. This seems to have fixed the wifi issue, also it does survive a settings reset.

Had a look of the nvram and obviously there are more variables relatd here:

eth2_hwaddr=C0:A0:BB:5C:CB:00
wl1_hwaddr=C0:A0:BB:5C:CB:00
wl1.2_hwaddr=C2:A0:BB:5C:CB:00
lan_hwaddr=C0:A0:BB:5C:CB:00

I'm not sure which one had problem before the fix, not sure which variable is actually in use for the 5G wifi. But it is working now.

_________________
[Broadcom]
DIR868L RevA -> r51506
DIR868L RevA -> r51440
Linksys EA6900-> r42819 STD
WL-500gP v2 --->

[Ralink]
DIR-600 Rev.B -> DD-WRT v3.0-r34886
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Sat Jan 21, 2023 22:21    Post subject: Reply with quote
i have the similar issue with my R9000 witch i flashed initially with Kong build back in the days, if this makes any sense...you can change those values but than on reset those will get back...as mac address is stored on another partition...

I dont know if this is corrupted partition or bad initial flash ...i haven't tried to go back stock and than initial flash with BS build to see if this will make any difference...but the only way to sort this out for now is manually charge those values...

nvram show | grep hwaddr

than

nvram set lan_hwaddr=xx:xx:xx:36:xx:xx
nvram commit

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum