Linksys LN1301 - MX4300

Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Goto page Previous  1, 2, 3, 4 ... 14, 15, 16  Next
Author Message
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Sep 03, 2024 18:29    Post subject: Reply with quote
I think you misread, perhaps(?). I'm advising not to flash both partitions to factory via CLI because someone is going to do it and wonder why they bricked, etc. People can be short-sighted and jump the gun. Wink
_________________
"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
Sponsor
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2150
Location: WV, USA

PostPosted: Tue Sep 03, 2024 18:30    Post subject: Reply with quote
No, I tested that. I flashed both partitions without a reboot and all went well. But the caveats I mentioned are the real gotchas.
_________________
- Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Sep 03, 2024 21:15    Post subject: Reply with quote
You're overwriting the mounted and booted partition when you do that. Didn't think that was possible without something else involved.
_________________
"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
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2150
Location: WV, USA

PostPosted: Tue Sep 03, 2024 21:36    Post subject: Reply with quote
Yes, you are exactly right. This is the case on my EA8500 (or once was anyway). If you overwrite the booted MTD, all your CLI commands and library access disappear (to name but a few). I know this from experience from actually doing it once.

But not apparently the case here, oddly enough, so I would have to assume the entire filesystem gets transferred to RAM (or at least the needed mtd and reboot bits).

I even went back and tested doing this again after you initially brought it up, just to make sure I hadn't imagined just doing it, and it worked.

If there is a better way to prove/disprove this, give me some ideas and I will try them out.

Be as it may, I am the only person so far to have tried this. I expect it will work for everyone if done exactly right. However, once more folks try this method and we get some more feedback in, I will change/correct the guide accordingly if needed.

_________________
- Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Sep 03, 2024 22:32    Post subject: Reply with quote
Did you switch boot partitions via CLI between? That's the only thing I can think of that would allow it to work, but hey, this is getting interesting.
_________________
"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
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2150
Location: WV, USA

PostPosted: Tue Sep 03, 2024 22:36    Post subject: Reply with quote
kernel-panic69 wrote:
Did you switch boot partitions via CLI between? That's the only thing I can think of that would allow it to work, but hey, this is getting interesting.

Whenever I flashed a single partition, I switched it manually, but I did not switch it whenever I did both, one after another. I just hit the up arrow and changed linux to linux2 in both places and hit enter again, then rebooted. I also just turned it off on another test without using reboot at all.

_________________
- Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
kernel-panic69
DD-WRT Guru


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

PostPosted: Wed Sep 04, 2024 1:38    Post subject: Reply with quote
Ok. Still need to add a separate Wiki for this specific device, as well as M*5500 and add info to the Dynalink and EA8250/MR8250/EA-MR8300/MR9000 Wiki. #alwaysplayingcatchup
_________________
"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
dun4cheap
DD-WRT User


Joined: 14 Mar 2012
Posts: 323

PostPosted: Wed Sep 04, 2024 4:14    Post subject: Reply with quote
Revert To Factory Firmware The method that worked for me.

enable telnet in the webif

telnet to you mx4300
fw_printenv -n boot_part
fw_setenv boot_part 1
cd /tmp
wget http://www.yourwebaddres.com/MX4300FactoryFW.img
mtd -e linux2 -f write MX4300FactoryFW.img linux2

fw_setenv boot_part 2
fw_printenv -n boot_part
cd /tmp
wget http://www.yourwebaddress.com/MX4300FactoryFW.img
mtd -e linux -f write MX4300FactoryFW.img linux

When it reboots if the light is flashing red, be sure to hold the reset button on the bottom until the light turns off.

_________________
5 Linksys MX4300 LN1301 DD-WRT v3.0-r58376 std (09/11/24)

6 Asus AC5300 R55109 std 2/9/2024
3 Buffalo WZR-1750DHP - DD-WRT v3.0-r29218 std (03/07/16)


6 Buffalo WZR-HP-G300NH2
DD-WRT v3.0-r29218 std (03/07/16)

all in eoip configurations, some with vlans running wep and wpa.

Some with proftp enabled and smb enabled. Mixed ISP from Timewarner cable, Cox Cable and AT&T Uverse.
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2150
Location: WV, USA

PostPosted: Wed Sep 04, 2024 4:22    Post subject: Reply with quote
dun4cheap wrote:
When it reboots if the light is flashing red, be sure to hold the reset button on the bottom until the light turns off.

I never watched the light. I was focused on the serial output. I also never needed to press the reset button, but probably a good thing to do in afterthought.

Thanks for the report.

_________________
- Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
dun4cheap
DD-WRT User


Joined: 14 Mar 2012
Posts: 323

PostPosted: Wed Sep 04, 2024 4:30    Post subject: Reply with quote
It was pretty much the method you posted, but ran it through. I may update the first post in the thread with this information.
_________________
5 Linksys MX4300 LN1301 DD-WRT v3.0-r58376 std (09/11/24)

6 Asus AC5300 R55109 std 2/9/2024
3 Buffalo WZR-1750DHP - DD-WRT v3.0-r29218 std (03/07/16)


6 Buffalo WZR-HP-G300NH2
DD-WRT v3.0-r29218 std (03/07/16)

all in eoip configurations, some with vlans running wep and wpa.

Some with proftp enabled and smb enabled. Mixed ISP from Timewarner cable, Cox Cable and AT&T Uverse.
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2150
Location: WV, USA

PostPosted: Wed Sep 04, 2024 4:43    Post subject: Reply with quote
Re-setting the boot partition between flashing (you did not show any reboot in between) made no difference whatsoever. Not sure why you did that. Resetting the boot partition is only necessary when flashing back to OEM onto one partition. If you do both, not needed.
_________________
- Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
dun4cheap
DD-WRT User


Joined: 14 Mar 2012
Posts: 323

PostPosted: Wed Sep 04, 2024 16:16    Post subject: mx4300 Reply with quote
Yes, you are correct I did not reset until the end. So the extra lines are not required. I really need the eoip tunnels working. Should I post an SVN. I believe it is only with the mx4300. Very specific, if a tunnel is enabled and internet is plugged in to the wan port and the wan is set to dhcp. If it is set to static then it boot loops even without a cable plugged in if the eoip tunnel is enabled. I have never seen this on any of my other routers, but it is easily reproduceable.


lexridge wrote:
Re-setting the boot partition between flashing (you did not show any reboot in between) made no difference whatsoever. Not sure why you did that. Resetting the boot partition is only necessary when flashing back to OEM onto one partition. If you do both, not needed.

_________________
5 Linksys MX4300 LN1301 DD-WRT v3.0-r58376 std (09/11/24)

6 Asus AC5300 R55109 std 2/9/2024
3 Buffalo WZR-1750DHP - DD-WRT v3.0-r29218 std (03/07/16)


6 Buffalo WZR-HP-G300NH2
DD-WRT v3.0-r29218 std (03/07/16)

all in eoip configurations, some with vlans running wep and wpa.

Some with proftp enabled and smb enabled. Mixed ISP from Timewarner cable, Cox Cable and AT&T Uverse.
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2150
Location: WV, USA

PostPosted: Wed Sep 04, 2024 16:34    Post subject: Re: mx4300 Reply with quote
dun4cheap wrote:
I really need the eoip tunnels working. Should I post an SVN. I believe it is only with the mx4300. Very specific, if a tunnel is enabled and internet is plugged in to the wan port and the wan is set to dhcp. If it is set to static then it boot loops even without a cable plugged in if the eoip tunnel is enabled. I have never seen this on any of my other routers, but it is easily reproduceable.

I'd say don't open a SVN just yet. Open a new thread about the problem so others who are familiar with EoIP tunnels can perhaps test and comment. Post screen shots as well of your settings and I will try to reproduce it and get some serial logs, then I'll send them to BS.

_________________
- Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
kernel-panic69
DD-WRT Guru


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

PostPosted: Wed Sep 04, 2024 17:57    Post subject: Reply with quote
If it's particular to this device, the discussion is fine in this thread. x2 on no SVN ticket.
_________________
"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
nightanole
DD-WRT Novice


Joined: 07 Feb 2011
Posts: 5

PostPosted: Thu Sep 05, 2024 12:15    Post subject: Reply with quote
So i noticed in open-wrt land that if you use the pure open source drivers, you are limited to about 500mbs. But if you use the proprietary blob you get the full 1000mbs because offloading is enabled.

Has anyone done speed tests on the ddwrt builds, or know which blob is used?
Goto page Previous  1, 2, 3, 4 ... 14, 15, 16  Next Display posts from previous:    Page 3 of 16
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