ASUS RT-AC3100 dump and edit CFE

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


Joined: 19 Jan 2009
Posts: 7

PostPosted: Mon Oct 19, 2020 17:15    Post subject: ASUS RT-AC3100 dump and edit CFE Reply with quote
Hi,

I'm having a trouble with my ASUS RT-AC3100, currently the router stop to broadcasting the 5ghz signal. I'been reading a couple in a couple of forums including this one, that this problem it's related to a Hardware failure. But i want to test something, i just want to dump the CFE (i tried to do that with the command cat /dev/mtd0 > original_cfe.bin, but when i open this file with a Hex editor does not show nothing about the mac) from this Router and edit the WIFI Mac Address field. On the configurations and logs through serial console, i saw that the 5ghz interface has a unknown mac address.

Thanks in advanced.
Sponsor
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Mon Oct 19, 2020 23:55    Post subject: Re: ASUS RT-AC3100 dump and edit CFE Reply with quote
darksuite wrote:
I just want to dump the CFE (i tried to do that with the command cat /dev/mtd0 > original_cfe.bin, but when i open this file with a Hex editor does not show nothing about the mac) from this Router and edit the WIFI Mac Address field. On the configurations and logs through serial console, i saw that the 5ghz interface has a unknown mac address.
Did the rest of the CFE look normal? What does `cat /proc/mtd` show? Also, have you tried running `strings` (with `grep` if desired) on the various mtd's to see if it might be stored in another partition?
_________________
# 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
darksuite
DD-WRT Novice


Joined: 19 Jan 2009
Posts: 7

PostPosted: Tue Oct 20, 2020 2:26    Post subject: Re: ASUS RT-AC3100 dump and edit CFE Reply with quote
jwh7 wrote:
darksuite wrote:
I just want to dump the CFE (i tried to do that with the command cat /dev/mtd0 > original_cfe.bin, but when i open this file with a Hex editor does not show nothing about the mac) from this Router and edit the WIFI Mac Address field. On the configurations and logs through serial console, i saw that the 5ghz interface has a unknown mac address.
Did the rest of the CFE look normal? What does `cat /proc/mtd` show? Also, have you tried running `strings` (with `grep` if desired) on the various mtd's to see if it might be stored in another partition?


Did the rest of the CFE look normal?
No all the file is not legible on hex.

What does `cat /proc/mtd` show?
cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "boot"
mtd1: 00180000 00020000 "nvram"
mtd2: 03e00000 00020000 "linux"
mtd3: 03c3fd64 00020000 "rootfs"
mtd4: 04000000 00020000 "brcmnand"

Also, have you tried running `strings` (with `grep` if desired) on the various mtd's to see if it might be stored in another partition?
How can i do that, i've did this command
cp /dev/mtd1 cfe1.bin
The files looks like the configuration, this file is legible.

Thanks in advanced.
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Tue Oct 20, 2020 14:07    Post subject: Re: ASUS RT-AC3100 dump and edit CFE Reply with quote
darksuite wrote:
>What does `cat /proc/mtd` show?
cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "boot"
mtd1: 00180000 00020000 "nvram"
mtd2: 03e00000 00020000 "linux"
mtd3: 03c3fd64 00020000 "rootfs"
mtd4: 04000000 00020000 "brcmnand"

>Also, have you tried running `strings` (with `grep` if desired) on the various mtd's to see if it might be stored in another partition?
How can i do that, i've did this command
cp /dev/mtd1 cfe1.bin
Something like: `strings /dev/mtd0|grep -ie mac -e addr`
And check the nvram and brcmnand partitions too. Smile

_________________
# 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
darksuite
DD-WRT Novice


Joined: 19 Jan 2009
Posts: 7

PostPosted: Tue Oct 20, 2020 19:35    Post subject: Re: ASUS RT-AC3100 dump and edit CFE Reply with quote
jwh7 wrote:
darksuite wrote:
>What does `cat /proc/mtd` show?
cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "boot"
mtd1: 00180000 00020000 "nvram"
mtd2: 03e00000 00020000 "linux"
mtd3: 03c3fd64 00020000 "rootfs"
mtd4: 04000000 00020000 "brcmnand"

>Also, have you tried running `strings` (with `grep` if desired) on the various mtd's to see if it might be stored in another partition?
How can i do that, i've did this command
cp /dev/mtd1 cfe1.bin
Something like: `strings /dev/mtd0|grep -ie mac -e addr`
And check the nvram and brcmnand partitions too. Smile


Just found visible info on mtd1, there's a mac-address different for the 5Ghz interface that the RT has
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Wed Jun 15, 2022 12:27    Post subject: Reply with quote
Just for the hell of it, you can dump the CFE via Web Interface.

https://ro.ut.er.ip/backup/cfe.bin

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
o2bad455
DD-WRT User


Joined: 08 Oct 2015
Posts: 252

PostPosted: Wed Aug 31, 2022 1:44    Post subject: Reply with quote
the-joker wrote:
Just for the hell of it, you can dump the CFE via Web Interface.

https://ro.ut.er.ip/backup/cfe.bin


Sounds like fun, but "Server Not Found." More info?

_________________
My DD-WRT Routers:
Linksys WRT3200ACM - Marvell
Linksys WRT1900ACS - Marvell
Netgear R9000 - Atheros
Netgear R7000 - Broadcom
PC x86-64 VM - Atheros
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6268
Location: Texas

PostPosted: Wed Aug 31, 2022 4:17    Post subject: Reply with quote
o2bad455 wrote:
the-joker wrote:
Just for the hell of it, you can dump the CFE via Web Interface.

https://ro.ut.er.ip/backup/cfe.bin


Sounds like fun, but "Server Not Found." More info?

worky ok here on the broadcomy E2500
https://mrjcd.com/junk/dd-wrt/E2500/E2500_backup-cfe.mp4
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Wed Aug 31, 2022 7:48    Post subject: Reply with quote
o2bad455 wrote:
the-joker wrote:
Just for the hell of it, you can dump the CFE via Web Interface.

https://ro.ut.er.ip/backup/cfe.bin


Sounds like fun, but "Server Not Found." More info?

It would only be https if you have https webUI access enabled; and "ro.ut.er.ip" should be your router's IP address... you didn't click on the link and expect it to work, did you? <lol>

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
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