Linksys E2500 v3 is now TomatoUSB cant get it back to DD-WRT

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3  Next
Author Message
trick027
DD-WRT Novice


Joined: 17 Aug 2017
Posts: 6

PostPosted: Thu Aug 17, 2017 15:50    Post subject: Linksys E2500 v3 is now TomatoUSB cant get it back to DD-WRT Reply with quote
I tried flashing the a build into default firmware which comes from their website (https://www.linksys.com/us/support-article?articleNum=148377) but it said "file contains an invalid".

I also tried using the "Linksys Connect Setup Software" but it keeps failing.
Sponsor
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Thu Aug 17, 2017 18:34    Post subject: Reply with quote
Going from tomato, back to stock, you must edit the stock firmware file's header. then flash via the tomato update / upgrade GUI

Note: A hex editor is not notepad!

Once you get back to stock firmware, then you can flash dd-wrt per instructions for your router.

The title of you thread is confusing.

barryware wrote:

you need to use a hex editor on the stock firmware and delete the first 32 (maybe 36) bytes of the firmware.

This area is called the header.

you must delete everything before "HDR0" so the the H in HDRO is the first byte.


_________________
[Moderator Deleted] Shocked
trick027
DD-WRT Novice


Joined: 17 Aug 2017
Posts: 6

PostPosted: Thu Aug 17, 2017 20:27    Post subject: Reply with quote
thank you, Barryware. You are the hero of the "invalid header" problem in this firmware. I hope you are happy with that.

Now I have a different new problem. I'm not sure if i should make a new thread or can just get help here?

The router that has now dd wrt firmware doesn't have internet connection even if it's already connected to a modem router.
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Thu Aug 17, 2017 20:49    Post subject: Reply with quote
trick027 wrote:
thank you, Barryware. You are the hero of the "invalid header" problem in this firmware. I hope you are happy with that.

Now I have a different new problem. I'm not sure if i should make a new thread or can just get help here?

The router that has now dd wrt firmware doesn't have internet connection even if it's already connected to a modem router.

I am assuming that you were successful flashing the stock Linksys firmware and had the router running and working under stock firmware BEFORE installing dd-wrt.

That said, please review the peacock sticky at the top of the forum.

You are not giving any useful information.

By your post count, you are new to the dd-wrt forum. Nothing wrong with that. But unless you give specific detailed information, you won't get much help.

Information needed:

You indicated "modem/router". How is your dd-wrt router connected (wan port)?, what is the subnet of the IP's you modem/router is handing out? Is it possible that the dd-wrt router is on the same subnet (192.168.1.x)? if so, that is not allowed to have the wan connection on the same subnet as the lan..

You should disable the "modem/router"'s dhcp server (set it to bridge mode) and let your dd-wrt router be the gateway.

See what I mean? Give more information and there will be a whole bunch of forum members that will be more than happy to help.

I pretty much gave up trying to help if all my posts are asking questions..

_________________
[Moderator Deleted] Shocked
trick027
DD-WRT Novice


Joined: 17 Aug 2017
Posts: 6

PostPosted: Thu Aug 17, 2017 21:23    Post subject: Reply with quote
You're right. I'm so sorry for being so ignorant.

Yes, i was successful flashing the stock linksys firmware before i flashed it to dd-wrt.

I'm not sure how to decribe the connection of the dd-wrt router and modem/router but I can say it is connected by a rj45 cable. One end is connected to a lan port in modem/router and the other end being connected to a port where there is a word "internet" below it.

I'm not sure if this info can help but i used to have the linksys firmware for a really long time. I have the same setup, modem/router is connected to another router(linksys). I didn't configure anything after initialzing the router and it has internet connection already. I just thought dd-wrt will be the same. The reason I want to change the firmware is because I want the configure the QoS settings further.
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Thu Aug 17, 2017 22:27    Post subject: Reply with quote
barryware wrote:
Information needed:

You indicated "modem/router". How is your dd-wrt router connected (wan port)?, what is the subnet of the IP's you modem/router is handing out? Is it possible that the dd-wrt router is on the same subnet (192.168.1.x)? if so, that is not allowed to have the wan connection on the same subnet as the lan..

You should disable the "modem/router"'s dhcp server (set it to bridge mode) and let your dd-wrt router be the gateway.

See what I mean? Give more information and there will be a whole bunch of forum members that will be more than happy to help.
@trick027; You're still missing some key info. Internet = WAN... what does DD-WRT show as your WAN IP? It sounds like you want to use the DD router as your gateway; I think that requires setting the modem/router to 'bridge mode' or otherwise disabling it's gateway/firewall. Also, what build (version and type) are you using?
_________________
# 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
trick027
DD-WRT Novice


Joined: 17 Aug 2017
Posts: 6

PostPosted: Thu Aug 17, 2017 22:38    Post subject: Reply with quote
yes, i think it's connected to wan. the wan ip is 192.168.1.6. DD-WRT v24-sp2 (02/12/14) min. the build is 23569.

is it possible to get the dd-wrt an internet connection without setting the modem/router to bridge mode? because when i was using the linksys firmware I didn't have any problems having an internet connection when I'm connected to the router.

Another problem I realize just now is it doesn't broadcast the ssid even though the wireless access point is enabled. I changed the ssid and put a security key for wireless.
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Fri Aug 18, 2017 0:56    Post subject: Reply with quote
trick027 wrote:
yes, i think it's connected to wan. the wan ip is 192.168.1.6. DD-WRT v24-sp2 (02/12/14) min. the build is 23569.

is it possible to get the dd-wrt an internet connection without setting the modem/router to bridge mode?
As barryware alluded, if your DD LAN is still defaulted to 192.168.1.1, then it's using the same IP range as your -WAN- (.6), since it is not in bridged mode.

You could just set up the DD router as an Access Point and be done...but QoS is usually done with WAN<-->LAN connections; not sure what the current state of LAN<-->LAN QoS is. First you need a newer build...probably either 32170 or 33006 (with SFE disabled since it was just added and currently doesn't work quite right w/ QoS).
1. Bridge the modem/router so it has a Public IP (not 192....) then setup the DD router as a Gateway Router.
2. Change the DD router LAN address to e.g. 192.168.2.1, then you're double NAT'd.
3. Research if LAN<-->LAN QoS works, and use Access Point mode

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


Joined: 17 Aug 2017
Posts: 6

PostPosted: Fri Aug 18, 2017 9:40    Post subject: Reply with quote
Thank you so much I will give it a try and let you know what happen.

Can the modem/router still be used as access point when it's on bridge mode?
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Fri Aug 18, 2017 11:52    Post subject: Reply with quote
trick027 wrote:
Thank you so much I will give it a try and let you know what happen.

Can the modem/router still be used as access point when it's on bridge mode?

No
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Fri Aug 18, 2017 17:40    Post subject: Reply with quote
Maybe the OP should set up his dd-wrt router as a switch/ap and let his main modem/router handle all the dirty work.

I don't own a 2500 but maybe it works on stock because the stock firmware has a different IP.. Some Linksys / cisco devices use 192.168.0.x as their default subnet as opposed to 192.168.1.x

_________________
[Moderator Deleted] Shocked
trick027
DD-WRT Novice


Joined: 17 Aug 2017
Posts: 6

PostPosted: Fri Aug 18, 2017 17:44    Post subject: Reply with quote
But when I use the Linksys firmware through "Linksys Connect", i can get an internet connection. It automatically configures stuff. Like, after the upgrade, the IP is not 192.168.1.1 but it actually becomes 192.168.0.1. And before the setup starts, it tells me that I should connect the router to the modem/router before I start proceeding. The method is different in Linksys. So I think there's got to be a way, right? And I didn't change anything about the modem/router, I didn't make it a bridge connection. So they are both access points with wireless capabilities. I want to use the dd-wrt so bad because of its features.
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Fri Aug 18, 2017 18:01    Post subject: Reply with quote
trick027 wrote:
But when I use the Linksys firmware through "Linksys Connect", i can get an internet connection. It automatically configures stuff. Like, after the upgrade, the IP is not 192.168.1.1 but it actually becomes 192.168.0.1. And before the setup starts, it tells me that I should connect the router to the modem/router before I start proceeding. The method is different in Linksys. So I think there's got to be a way, right? And I didn't change anything about the modem/router, I didn't make it a bridge connection. So they are both access points with wireless capabilities. I want to use the dd-wrt so bad because of its features.


Well. I can see that this is going to get complicated..

dd-wrt does not support "Linksys connect"

Reset you dd-wrt router (E2500) Connect to your dd-wrt router via a lan port. Have nothing connected to either your PC or the 2500 except each other.

With dd-wrt, the default dhcp pool will be in the 192.168.1.x subnet.

Access the dd-wrt router @ 192.168.1.1..

Change password, yada, yada.

Set up the wan connection type as "automatic - dhcp"

Under network setup, change the default IP from 192.168.1.1 to 192.168.10.1, subnet mask of 255.255.255.0.

Now save the settings, then apply.

The router will reboot. Now plug the wan port into a lan port of your modem/router.. Then power cycle the 2500.

Remember that your pc now has to be in the 192.168.10.x subnet to access the 2500 in regard to configuring it. The 2500 should assign an ip to your pc in the 192.168.10.x subnet.

This will do what you want but now you are going to get into double natting and all kinds of other challenges when it comes to port forwarding and so on.

Basically, your main modem/router is now your ISP giving the wan if the 2500 an IP.

Good luck.. Have fun..

_________________
[Moderator Deleted] Shocked
alex0001
DD-WRT Novice


Joined: 18 Oct 2014
Posts: 30

PostPosted: Thu Feb 01, 2018 18:16    Post subject: serial failed Reply with quote
does anybody has an ide what causes this error?


1.png
 Description:
 Filesize:  47.93 KB
 Viewed:  11533 Time(s)

1.png


jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Thu Feb 01, 2018 18:27    Post subject: Reply with quote
Did you try: flash -noheader : flash1.trx
?
https://www.dd-wrt.com/wiki/index.php/Serial_Recovery#To_flash_the_firmware

_________________
# 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
Goto page 1, 2, 3  Next Display posts from previous:    Page 1 of 3
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