Linksys LN1301 - MX4300

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


Joined: 14 Mar 2012
Posts: 323

PostPosted: Fri Aug 30, 2024 5:13    Post subject: Reply with quote
Well I have installed the newest dd-wrt: DD-WRT v3.0-r58207 std (08/28/24

Wifi seemed stable. But it got crazy once eoip was on and the wan port was coneected. I have added the mtd26 log and dmesg



dmesg mx4300 r58207.txt
 Description:

Download
 Filename:  dmesg mx4300 r58207.txt
 Filesize:  41.76 KB
 Downloaded:  1 Time(s)


mtd26 strings mx4300 r58207.txt
 Description:

Download
 Filename:  mtd26 strings mx4300 r58207.txt
 Filesize:  36 KB
 Downloaded:  2 Time(s)


_________________
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.
Sponsor
lexridge
DD-WRT Guru


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

PostPosted: Fri Aug 30, 2024 5:41    Post subject: Reply with quote
This seems the same issue I was having with Mikrotik tunnels. It may be the same "fix" needs applied to EOIP tunnels as well. Try disabling the EOIP tunnel on the opposite side and see if it still crashes/boot loops your mx4300.
_________________
- 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
nightanole
DD-WRT Novice


Joined: 07 Feb 2011
Posts: 5

PostPosted: Sat Aug 31, 2024 12:38    Post subject: Reply with quote
As of r58124 the note is gone, so someone managed to do a serial boot dump. Guess ill try to brick mine this weekend. So whats the deal with the two partitions? dd-wrt sits on first, and if it boot loops 5 times it loads the second partition?
lexridge
DD-WRT Guru


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

PostPosted: Sun Sep 01, 2024 3:12    Post subject: Reply with quote
nightanole wrote:
As of r58124 the note is gone, so someone managed to do a serial boot dump. Guess ill try to brick mine this weekend. So whats the deal with the two partitions? dd-wrt sits on first, and if it boot loops 5 times it loads the second partition?

Someone on the OpenWRT forum supplied him with a serial log. It's pretty stable now. Still some radio issues perhaps Power levels seem to fluctuate.

Two partitions is basically a bootable backup. My method is to put a known working version onto both partitions when first flashing (three total flashes), then alternate back and forth as builds are released. This way, if you would happen to install a bad build that cannot boot (or no longer update), you can switch partitions and be good again.

If one partition fails to boot three times (not 5), it will switch boot partitions automatically. If it fails to boot five times, it erases NVRAM. This is adjustable in Administration tab.

You can also manually switch boot partitions in a few ways. From a telnet or ssh session using a combination of the fw_printenv and fw_setenv commands. Or just toggle the power switch 3 times, counting to 4 or 5 between power cycles. The forth boot will be the opposite partition.

_________________
- 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: Sun Sep 01, 2024 5:46    Post subject: Any idea what the M stands for? Reply with quote
Any idea what the M stands for?
MX4300

Firmware: DD-WRT v3.0-r58244M std (08/30/24)

Firmware: DD-WRT v3.0-r58207 std (08/28/24)
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Sep 01, 2024 11:06    Post subject: Reply with quote
It stands for modified, most likely contains uncommitted changes to/after 58244. All of <K>s builds were M because he always landed on 0 and 5.
_________________
"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: Sun Sep 01, 2024 22:16    Post subject: Reply with quote
No guarantee it will be available in the next release, but work is being done to fix restoring the Factory OEM images on this router and others.

What will be available in the next release is the ability to change the CPU clock on this device up to 2208mhz. Note this is still in ondemand mode so you may not notice it immediately, and it's highly recommended you do not change this.

NOTE: While the SoC does support these higher CPU clock speeds, the heat sinks may not.
----USE WITH CAUTION!---- DO NOT RUN AT THESE SPEEDS IN PERFORMANCE MODE or you will likely fry your CPU in a short amount of time. You have been warned!

_________________
- 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: Mon Sep 02, 2024 17:37    Post subject: Enabling eoip tunnels still goes to boot looping Reply with quote
Router ModelLinksys MX4300
Firmware VersionDD-WRT v3.0-r58283 std (09/02/24)
Kernel VersionLinux 6.6.48-rt29 #1129 SMP Mon Sep 2 14:45:44 +07 2024 aarch64
Prev:

Seems to be working well with the exception of eoip tunnels still. It goes in to a boot loop once I connect internet to the wan port or if I enabled static ip addressing on the wan.

I have attached the dmesg and mtd strings

@lexridge: Is there a tutorial on the mikortik tunnels setup? Will it work from dd-wrt router to another or does it require a mikrotik router?



mx4300 r58283 strings.txt
 Description:

Download
 Filename:  mx4300 r58283 strings.txt
 Filesize:  56.11 KB
 Downloaded:  0 Time(s)


mx4300 r58283 dmeg.txt
 Description:

Download
 Filename:  mx4300 r58283 dmeg.txt
 Filesize:  39.66 KB
 Downloaded:  0 Time(s)


_________________
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: Tue Sep 03, 2024 3:12    Post subject: Re: Enabling eoip tunnels still goes to boot looping Reply with quote
dun4cheap wrote:
@lexridge: Is there a tutorial on the mikortik tunnels setup? Will it work from dd-wrt router to another or does it require a mikrotik router?


There are no tutorials that I have found and it should work from ddwrt<>ddwrt.

I spent a lot of time on Mikrotik and VXLan tunnels with very limited progress. When I started out testing them, neither worked. This testing was done on a MR7350 but should be identical on the mx4300. Initially I could not get the vxlan1 interface to come up. This has been fixed. Regarding Mikrotik: even without a Mikrotik tunnel configured on the mr7350, any other router with a Mikrotik tunnel pointed at the mr7350 would cause it to kernel dump. This too has been fixed.

What I tried with Mikrotik with some limited success (they both actually sent and received some data). I was never able to ping the remote sides.

Here are some things I discovered while doing this, and this could be completely wrong. Just what I observed:
1. The remote and local IP addresses cannot be the same as your router's subnet.
2. You have to unbridge the tunnel.
3. You have to add a manual route under Advanced Routing on each side.
4. I am still unclear on what the MTU value should be, but I suspect the default is not correct.
5. There is no place to add a tunnelID. According to the Mikrotik, this is a requirement, but could be that BS has done this automatically behind the scenes. No idea at this point.

Sorry I could not be of more help. FYI, I also messed with EoIP and never experienced any crashes with it, but also never made it work either. I didn't spend a lot of time on it (yet), and I didn't have my WAN port connected. My goal is to use one of these tunnels to move vlans over a wireless connection. Once I get it figured out I will write a howto guide for it which will hopefully include all three of these tunnels, if possible.

_________________
- 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: Tue Sep 03, 2024 4:17    Post subject: Reply with quote
I have eoip working on my asus routers and Buffalo. But when I enable it on the mx4300 and the static ip address is set on the Wan or I set it up for dynamic and plug a cable in the Wan port it goes in to a boot loop. Not reset though.
_________________
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: Tue Sep 03, 2024 4:33    Post subject: Reply with quote
dun4cheap wrote:
I have eoip working on my asus routers and Buffalo. But when I enable it on the mx4300 and the static ip address is set on the Wan or I set it up for dynamic and plug a cable in the Wan port it goes in to a boot loop. Not reset though.


This sounds much different than the issue with the Mikrotik tunnel causing kernel oops on the mr7350 (fixed). Perhaps @kernel-panic69 can point BS to your kernel dump upload you posted earlier. I don't know how to link a specific post, or I would do it.

If that doesn't get any attention from BS, I will try to re-create your circumstances in a test environment and send him my logs, assuming I can re-create it. I have other projects going on ATM, so I may not get to that for a while.

_________________
- 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
lexridge
DD-WRT Guru


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

PostPosted: Tue Sep 03, 2024 16:04    Post subject: Revert to Stock without TTYUSB Serial - MX4300 Reply with quote
Flashing Back to Stock without TTYUSB Serial
READ THIS GUIDE IN ITS ENTIRETY BEFORE FLASHING ANYTHING. RELEASE 58283 OR ABOVE REQUIRED

Linksys LN1301 MX4300 Factory Firmware Link

Okay folks, we can finally flash back to stock FW, if you really want too. This only works from the console. YOU CANNOT DO THIS FROM THE WEBUI!

First, scp, sftp or ftp the factory firmware file to the router's /tmp folder (figure this out on your own).

Next either SSH or Telnet into the router's console and cd to /tmp.

Do #ls -lart to make sure the file you just uploaded is present. Using the -lart flags will sort your newly uploaded factory firmware file to the bottom of the output list.
Also type
Code:
#fw_printenv -n boot_part
to verify which partition you are booted from, assuming you want to put the factory firmware back onto only one partition while retaining DD-WRT on the currently booted partition. NOTE: If the file is not present when you run the following command, you will get a segmentation fault. NOTE2: Should will be fixed in the next public release..and has been as of release r58362.

Type
Code:
mtd -e linux|linux2 -f write factoryfilename.img linux|linux2

Note, linux|linux2 are the two individual partitions. DO NOT USE BOTH HERE, chose one or the other. If the output of fw_printenv is 1, then you would writing to linux2 in this command. If the output of fw_printenv is 2, you would use linux. This ensures you keep your presently booted dd-wrt partition intact. Also, be careful. Both the linux or linux2 MUST match in both places of the command line. This is because the -e erases it first, then the -f writes to it. THEY MUST MATCH or else the router will refuse to boot from whichever partition you flashed to.

If you see this error, you can ignore it:
Code:
Writing from FW_MX4300_1.0.4.215382_prod.img to linux ...  [w]                                                                                                                                   
Warning unaligned data, we use manual padding to avoid errors. size was 131072!!!


Once completed you need to change your boot partition to where you just flashed the factory firmware.
Code:
fw_setenv boot_part 1|2

This is either 1 OR 2. You should know which to use by now.

If you choose to return to Factory Firmware on both partitions, just run the above command on BOTH partitions, one at a time. You will not need to change the boot partition once completed. Just reboot afterwards.
Code:
mtd -e linux -f write factoryfilename.img linux
mtd -e linux2 -f write factoryfilename.img linux2


Using two command lines instead of one:
If combining the erase and flash commands makes you nervous, you can split them up.
Code:
mtd erase linux|linux2
mtd -f write filename.img linux|linux2


This should work on all newly supported Linksys AX routers and maybe others, but has only been tested on the MX4300 and the MR7350.

Hopefully this provides a guide to all those who wish to return to stock OEM Firmware. Good luck!

_________________
- 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


Last edited by lexridge on Mon Sep 09, 2024 5:33; edited 3 times in total
dun4cheap
DD-WRT User


Joined: 14 Mar 2012
Posts: 323

PostPosted: Tue Sep 03, 2024 17:31    Post subject: Reply with quote
Great news.
_________________
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.
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Sep 03, 2024 18:18    Post subject: Reply with quote
Just for clarification, because I know how people are, I'd venture to say that you'd want to flash to one partition via CLI then switch to that boot partition, reboot, then flash from stock webUI to complete the transaction to return completely to stock because otherwise, you best hope that mtd is still resident in RAM. Wink Cool
_________________
"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 18:26    Post subject: Reply with quote
kernel-panic69 wrote:
Just for clarification, because I know how people are, I'd venture to say that you'd want to flash to one partition via CLI then switch to that boot partition, reboot, then flash from stock webUI to complete the transaction to return completely to stock because otherwise, you best hope that mtd is still resident in RAM. Wink Cool


Good call @kernel-panic69! Having Factory on one partition and ddwrt on the other can create a bunch of caveats that most people would not be able to wrap their head around. Such as, you can not upgrade DD-WRT from the WebUI ever again in this situation. You will trash the Factory partition if you attempt this and it will be completely unbootable. All updates would have to be done manually using the methods described above and written to the correct partition which ddwrt is booting from.

IT IS RECOMMENDED YOU FLASH BOTH PARTITIONS TO FACTORY to avoid this situation unless you really know what you are doing.

_________________
- 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
Goto page Previous  1, 2, 3, ... 14, 15, 16  Next Display posts from previous:    Page 2 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