Linksys WRT54GL

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:09, 8 January 2010 (edit)
Redhawk0 (Talk | contribs)
m (Running NEWD2 and/or K26 on the GL model)
← Previous diff
Current revision (05:28, 17 December 2021) (edit) (undo)
Kernel-panic69 (Talk | contribs)
(Running NEWD2 and/or K26 on the GL model - (add link for HxD))
 
(29 intermediate revisions not shown.)
Line 1: Line 1:
-==Device Photos==+{{languages|Linksys_WRT54GL}}
 +<font color=red><b>To find other WRT54* model wiki pages see [[Linksys_WRT54G/GL/GS/GX|here]].</b></font><br>
[[Image:linksys_wrt54gl_front_mini.jpg]] [[Image:linksys_wrt54gl_front_mini.jpg]]
[[Image:linksys_wrt54gl_back_mini.jpg]] [[Image:linksys_wrt54gl_back_mini.jpg]]
-==Hardware==+=Hardware [https://wikidevi.com/wiki/Linksys_WRT54GL_v1.1 Specifications]=
*'''Platform''': Broadcom MIPS *'''Platform''': Broadcom MIPS
-*'''CPU''': Broadcom BCM5452 at 200 MHz (130nm construction) [http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM5352EL Broadcom Product Page]+*'''CPU''': Broadcom BCM5452 at 200 MHz (130nm process)
-**overclocking support in DD-WRT (verified in v24 SP1)+**overclocking is supported in DD-WRT
-** /proc/cpuinfo output+**Use `cat /proc/cpuinfo` to verify BogoMIPS. Default output:
<pre> <pre>
system type : Broadcom BCM947XX system type : Broadcom BCM947XX
Line 13: Line 14:
cpu model : BCM3302 V0.8 cpu model : BCM3302 V0.8
BogoMIPS : 199.47 BogoMIPS : 199.47
-wait instruction : no+[...]</pre>
-microsecond timers : yes+
-tlb_entries : 32+
-extra interrupt vector : no+
-hardware watchpoint : no+
-VCED exceptions : not available+
-VCEI exceptions : not available+
-unaligned_instructions : 1501948+
-dcache hits : 3604983805+
-dcache misses : 1069308396+
-icache hits : 1669945160+
-icache misses : 616661321+
-instructions : 0+
- +
-</pre>+
*'''Flash''': 4 MB NAND, single chip *'''Flash''': 4 MB NAND, single chip
*'''System Memory''': 16 MB 16-bit DDR SDRAM *'''System Memory''': 16 MB 16-bit DDR SDRAM
-*'''USB''': None 
*'''Wireless Radio''': Broadcom BCM43xx 802.11b/g *'''Wireless Radio''': Broadcom BCM43xx 802.11b/g
-*'''Antenna''': Dual folding, removable, rotating antennas (NOTE: it has been reported as of September 26, 2009, that for up to a year and a half ago until the present, the version of the WRT54GL you have acquired in that time period may have molded antennas which are NOT REMOVABLE)+*'''Antenna''': Dual folding, removable, rotating antennas
 +**NOTE: (26 Sep 2009) Non-removable molded antennas may have been used in the past a year or two
*'''Network Switch''': (4) 10/100 LAN + (1) 10/100 WAN, Auto MDX/MDI-X (Integrated in CPU) *'''Network Switch''': (4) 10/100 LAN + (1) 10/100 WAN, Auto MDX/MDI-X (Integrated in CPU)
-*'''Serial pinout''': Yes+*'''Serial''' / '''JTAG''' / '''USB''': Yes / Yes / No
-*'''JTAG pinout''': Yes+
-==Firmware== 
-'''Put the MICRO or MINI build on this router first if you're upgrading from the stock Linksys firmware'''. Read on to find out why -- the consequences of not following this advice can be '''VERY GRAVE'''! Then you can upgrade to a STANDARD, VOIP or VPN build, according to your needs.+=Firmware=
 +'''See [[Firmware_FAQ#Where_do_I_download_firmware.3F|the DD-WRT FAQ]] for build info and download links.'''
-The stock firmware from Linksys on the WRT54GL v1 and 1.1 won't accept a firmware image over 3MB in size (you will get the error: "Upgrade are failed!"(sic) if you try). So you will need to flash the micro or mini versions of DD-WRT onto the router BEFORE flashing the standard, voip, and vpn versions. Be sure to hard reset your router to restore firmware defaults both BEFORE AND AFTER you upgrade even to the micro or mini DD-WRT.+'''NOTE: Check the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock announcement] for recommended builds, and also research build threads.'''
-You can HARD RESET by holding down the reset button on the back of the router for 30 seconds, then waiting for the router to finish doing whatever it's going to do. Usually the WLAN light will come on close to last in the boot sequence. Sometimes, however, the POWER light will keep flashing for a good while. Either way, once you're sure the router has done its thing, you should probably power cycle the router. The easiest way to do this is by unplugging and replugging the power connector in the back of the router. There's no need to wait between unplugging and replugging.+: ''Q: Why can't I directly upgrade from a stock Linksys firmware to DD-WRT versions other than MICRO or MINI?''<br>
 +A: Stock Linksys firmware on the WRT54GLv1.x won't accept firmware over 3MB, or it will show the error: "Upgrade are failed!" [sic]. The micro or mini versions of DD-WRT must be flashed BEFORE flashing the standard, voip, or vpn versions. Hard reset the router to restore firmware defaults BEFORE AND AFTER upgrading, even to micro or mini DD-WRT builds.
-Also, be sure to reset your router to firmware defaults with HARD RESETS both BEFORE AND AFTER you upgrade to the STANDARD, VOIP, or VPN versions. '''DO NOT try to load a MEGA build on this router. MEGA builds are too large for this router!''' The WRT54GL has only 4MB for flashing firmware, which is not enough space for a mega build. If you try to load a mega build onto this router anyway, you may turn your router into a brick! I don't know if you can recover your router using TFTP or other methods if you do this, because it's never happened to me. Read on:+: ''Q: Is there a limit to how many times routers can be flashed with firmware?''<br>
 +A: Flash memory does have a lifespan, like an SD card or USB flash drive, and depends upon NAND vs. NOR flash, but at least 100,000 write cycles is common. This is why limiting JFFS and script writes is recommended.
-If you make the mistake of not upgrading with the micro or mini version first, you will end up with a router that has a flashing power light. You will be able to ping the router, but will not be able to access the web interface. You will then have to TFTP the '''LINKSYS''' firmware ('''NOT THE DD-WRT FIRMWARE''') back on to the router to rescue it. You can connect your modem directly to your computer, and download the Linksys firmware from their site. Once you have rescued your router by restoring the Linksys firmware, you can then try upgrading to DD-WRT again (if you're still up for it!). THIS TIME, use the micro or mini version first!+===Build Size===
 +DD_WRT boot log MTD partition layout:
 + Creating 5 MTD partitions on "Physically mapped flash":
 + 0x00000000-0x00040000 : "cfe"
 + 0x00040000-0x003f0000 : "linux"
 + 0x00124c00-0x003d0000 : "rootfs"
 + mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
 + 0x003f0000-0x00400000 : "nvram"
 + 0x003d0000-0x003f0000 : "ddwrt"
-Instructions on restoring your router are here: [[Recover from a Bad Flash]]+<font color=red><b>Thus the ''linux'' partition size limit is 0x3F0000-0x40000 = 3866624 bytes = 3776 KB</b></font>
 +===Installation from Linksys firmware===
 +Before starting, '''read the build info and Peacock announcement''' linked above.
 +* Recommended: check the MD5 HASH of the firmware after downloading - a bad hash can mean a bad firmware download (and flashing a bad firmware can brick your device). See [[Hashes & Checksums]].
 +* '''DO NOT try to load a MEGA build on this router''', as they are ~8MB.
 +# '''Use the MINI (or MICRO) generic build''' (''broadcom'' folder) for initial flash from the Linksys firmware
 +#*A trailed build (with ''wrt54g'' in the name) is NOT required except for TFTP upgrades (see below).
 +# Do a [[Hard_reset_or_30/30/30|hard reset]] then login to the Linksys GUI at http://192.168.1.1
 +# Use the firmware upgrade web interface to update your router with dd-wrt. '''DO NOT''' close your browser or interrupt the process until you are sure it has completed.
 +# After ~3 minutes, the WLAN light will turn on. Access dd-wrt at http://192.168.1.1 and set a password.
-It is very simple to patch the firewall script against the "remote code execution" security hole (''unless you need to use HTTPS remote access''). Read about it here:+===Upgrade from DD-WRT===
-http://dd-wrt.com/dd-wrtv3/+# Compare different build versions' features [[What is DD-WRT?#File Versions|here]]. If larger versions' features aren't needed, the available memory will be increased by using the smallest version with the needed features.
 +#* '''MEGA''' - As stated before on this page, the WRT54GL cannot support MEGA, so don't try.
 +#* '''MICRO, MINI, STANDARD (e.g. VoIP or VPN)''' versions - continue with the following steps:
 +#*# Power cycle the router, then hard reset after boot
 +#*# Install the desired generic dd-wrt build, from the ''broadcom'' folder, via the GUI
 +#*# Wait again for the process to complete and the lights to return to normal (3-5 minutes)
 +#*# Power cycle again, then hard reset after boot
 +#*# Set a password then configure dd-wrt
-If you are upgrading from the web interface, you should use the GENERIC versions. If you are upgrading via TFTP, you need the versions that contain headers with hardware info in them.+===TFTP Upgrade===
 +To upgrade via TFTP, a trailed build with ''wrt54g'' in the name is required, which has a header with hardware info.
-In order to saveguard against data corruption during download of the firmware, and against possible alteration of your download by any other method, '''you should check the MD5 HASH of the firmware after downloading it'''.+===TFTP Recovery===
 +For a router that it stuck with a flashing power light with no GUI access, but responds to pings, TFTP of the '''Linksys''' firmware is required ('''NOT''' DD-WRT!) to rescue it. This occurs most commonly from NOT using a MICRO or MINI build for initial flash. Instructions on restoring with TFTP [[Recover from a Bad Flash|are here]].
-For the MD5 hashes of most major versions of DD-WRT, and for instructions on how to check the hashes in different operating systems, go here: [[Hashes & Checksums]] 
-EKO build 12548 Newd_Mini.bin is the recommended build for this router. It works well. You can also upgrade to 12458 Newd_Std.bin AFTER you have put on the mini version. Here is a link to the mini version download:+=Running NEWD2 and/or K26 on the GL model=
-ftp://dd-wrt.com/others/eko/V24_TNG/svn12548/dd-wrt.v24-12548_NEWD_mini.bin.+<div style='color:red; font-weight:bold'>WARNING</div><div style=color:red>This is ONLY for those that can recover using JTAG, '''and is an unnecessary hack for people who want to try the k26 driver. (God only knows why a person would on this router.)''' If this goes wrong...you MUST use JTAG to recover...you've been warned...you are altering the CFE of the router.</div>
- +
-If you need to know whether to use MICRO, MINI, STANDARD, etc..., you can find thorough documentation of the features in the different versions here:+
-[[What is DD-WRT?#File Versions]]+
- +
-If you won't be needing the features in the larger versions such as standard, you may be able to increase the responsiveness of your router by getting the smallest version that includes the features you need.+
- +
-Also, you can always update to a larger version later if down the line you need the extra features. A few quotes from the following link:+
-http://forums.whirlpool.net.au/forum-replies-archive.cfm/686075.html+
- +
-Q: "I'm a bit worried about how many times routers can be re-flashed with firmware - is there a limit??"+
-A: "There really isn't a limit to number of times you can flash. (within reason) Flash memory does have a life. Like your usb stick, 100,000 times or 10,000 times, I don't remember but it is alot, otherwise they would be useless."+
- +
-Don't go and flash your router 10,000 times and test this person's assertion literally. But it appears that a few extra flashes here and there are not going to turn your router into a paperweight. So there's no need to worry about switching from micro to mini or mini to standard, or in reverse, as your needs change.+
- +
----------------------------------------------------------------------------------------------+
- +
-'''You must hard reset your router to firmware defaults both BEFORE and AFTER upgrading to your new firmware'''. Do this by holding down the reset button for 30 seconds. Then leave the router alone for a little while so it can process the reset. Once you are sure it is done, power cycle your router by unplugging the power connector in the back and plugging it back in. Some people say you should leave it unplugged for a while. But that is definitely not necessary with this model.+
- +
-'''TURN OFF AND DISABLE YOUR FIREWALL, TURN OFF AND DISABLE YOUR ANTIVIRUS''', and sign into your linksys router '''WITH INTERNET EXPLORER ONLY (**DO NOT USE FIREFOX**)''', and use the firmware upgrade web interface to update your router with dd-wrt. '''DO NOT close your browser, DO NOT interrupt the process, be EXTREMELY PATIENT, even after the firmware is already supposedly upgraded.''' Wait around for a while, and make sure it settles down and is definitely finished doing whatever it's going to do. The router needs time to rebuild the NVRAM after it has been flashed, and if you interrupt this you will regret it!+
- +
-----------------------------------------------------------------------------------------------+
- +
-==Running NEWD2 and/or K26 on the GL model==+
- +
-<div style='color:red; font-weight:bold'>WARNING</div><div style=color:red>This is not for those that can NOT recover using JTAG. If this goes wrong...you MUST use JTAG to recover...you've been warned...you are altering the CFE of the router.</div>+
The WRT54GL router must already have dd-wrt installed before you begin this process. The WRT54GL router must already have dd-wrt installed before you begin this process.
Line 95: Line 83:
<br> <br>
3- Next you will need to download the "new" CFE for the WRT54GL model located [http://www.dd-wrt.com/phpBB2/download.php?id=12654 here]. This is an altered CFE.BIN from a WRT54G-TM<br> 3- Next you will need to download the "new" CFE for the WRT54GL model located [http://www.dd-wrt.com/phpBB2/download.php?id=12654 here]. This is an altered CFE.BIN from a WRT54G-TM<br>
-4- Obtain a Hex Editor like [http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm xvi32]<br>+4- Obtain a Hex Editor like [http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm xvi32] or [https://mh-nexus.de/en/hxd/ HxD]<br>
5- Edit your et0macaddr (located at 10CAh) to match your router's MAC address (exa. currently 00:14:BF:00:00:01)<br> 5- Edit your et0macaddr (located at 10CAh) to match your router's MAC address (exa. currently 00:14:BF:00:00:01)<br>
6- Edit your new cfe il0macaddr (located at 1154h) to your router's MAC address plus one (exa. currently 00:14:BF:00:00:02)<br> 6- Edit your new cfe il0macaddr (located at 1154h) to your router's MAC address plus one (exa. currently 00:14:BF:00:00:02)<br>
Line 103: Line 91:
9- Using [http://winscp.net/eng/index.php WinSCP] upload the modified CFE (named K26-CFE.BIN) to the routers /tmp directory.<br> 9- Using [http://winscp.net/eng/index.php WinSCP] upload the modified CFE (named K26-CFE.BIN) to the routers /tmp directory.<br>
10- Log into your router and issue the following commands on the command line.<br> 10- Log into your router and issue the following commands on the command line.<br>
-<br>+ mtd unlock cfe
-mtd unlock cfe<br>+ mtd write K26-CFE.BIN cfe
-mtd write K26-CFE.BIN cfe<br>+When completed, it should reboot. If it doesn't, manually reboot it.<br>
-<br>+
-When it completes it should reboot itself. - there has been a report that it did not reboot itself...if it doesn't reboot by itself...manually reboot it. <br>+
<br> <br>
11- Verify you have the new cfe by [http://www.dd-wrt.com/wiki/index.php/CFE_backup backing] up the CFE again.<br> 11- Verify you have the new cfe by [http://www.dd-wrt.com/wiki/index.php/CFE_backup backing] up the CFE again.<br>
12- verify the original K26-CFE.BIN file and this new cfe.bin file are identical (you can use the "comp" command in windows to compare them)<br> 12- verify the original K26-CFE.BIN file and this new cfe.bin file are identical (you can use the "comp" command in windows to compare them)<br>
<br> <br>
-12- Once you have verified the new CFE.BIN file is on the unit, hard reset the unit again, let it boot up, then load up the K26_mini.bin build. (or any other "generic" K26 build that is under 3.7M in size)<br>+12- Once the new CFE.BIN file is verified on the unit, hard reset again and let it boot, then load a ''NEWD2_mini.bin'' or ''K26_mini.bin'' build (or any other "generic" NEWD2 or K26 build under 3.7M).<br>
- +
------------------------------------------------------------------------------------------------+
-''[Comment added 18/03/08 [Matt]]''+
- +
-I bought a WRT54GL-UK this week....and flashed the firmware. After the flash, the device reboots constantly! Tried soft reset/hard reset. If I disconnect all wired lan connection, and use only wifi....the device is fine. If I kill the radio, then use the wired lan, device is fine. If I enable the radio with the wired lan on.....the device goes insane. Should I be afraid?+
- +
-"[Comment added 25/6/2008 [jas3]]"+
- +
-No, Matt. You don't need to be afraid. But you need to rever to the micro version, then do a hard reset, then upgrade to standard, then do another hard reset. That should fix the problem with your NVRAM that is likely causing your reboots.+
- +
-"[Comment added 05/07/2008 [broadbandwizard]]"+
- +
-I just bought two WRT54GL routers and after burning them in a couple of weeks, I flashed v24 generic mini onto one of them. I had configured both, so I reset the target router with the software reset from the GUI, then I did the 30 second pushbutton reset because there have been so many warnings. It loaded and works perfectly, although I still cannot find the "use local time" check box. I have continued to read about installation and operation, and I find that I was supposed to hold the reset button for 30 seconds after the successful flash. I did not do that, but it appears to be working fine. My question: What problem (if any) is lurking inside my router because I did not do the after firmware install reset?+
- +
-DD-WRT makes a decent router into something fantastic.+
- +
-"[Comment added 07/07/2008 [rickm]]"+
- +
-I tried to upgrade a WRT54G V4 (clearly marked and SN starts with CDFA) but kept getting "Upload are failed!". I then started nosing around and saw that it had v4.3.0 Linksys firmware, whereas I know that the latest for the WRT54G V4 was supposed to be 2.3.1. This was actually a WRT54GL router, cleverly disguised as a WRT54G. I then tried flashing the GL firmware (mini) and it worked. I then tried to flash with the mega and that failed, so flashed it with the standard and it worked. Just something to watch for.+
- +
-"[Comment added 02/08/2009 [kfir]]"+
- +
-I tried to upgrade a WRT54GL v1.1 from DD-WRT v.23 sp2 to v.24 sp1, due to bugs in the former version (after ~10 hours i got replies for about half the packets) . Anyway, I followed all directions (hard reset, etc), but ended up with a semi-working router. Some menu and sub-menu items are named "undefined" in the GUI, and I do not have all the original menu tabs. I tried hard-resetting, but it does not change. Reloading the same firmware (dd-wrt.v24_std_generic.bin) and even downgrading back to (dd-wrt.v23_generic.bin) fail, with an error message (something like "Upgrade Failed") that pops up 10-15 minutes after I clicked "Update". I now plan to try reverting the router back to Linksys original FW, but still a bit concerned about bricking it altogether.+
- +
-"[Comment added 02/08/2009 [kfir]]"+
- +
-Does the dd-wrt have a way of knowing I posted a comment about it? ;-) 10 minutes after my previous comment, the router started showing a normal-looking bug-free v24 sp1 GUI, without any intervention by anyone. I guess this new version has some AI built into it... ;-)+
- +
-"[Comment added 05/06/2009 [akopts]]"+
- +
-It is not always true that "there are no special requirements". I spent hours trying to flash my WRT54GL v1.1 with mini, micro, at different LAN speed, from different browsers, and it always ended up with "Upgrade are failed". Finally, I was advised to use device specific firmware, and it worked, but not via GUI, only via TFTP.+
- +
-"[Comment added 16/07/2009 [Magmatrix]]"+
- +
-My WRT54GL 1.1 said "upgrades are failed" every time i tried to flash it with dd-wrt.v24_mini_generic.bin. I had to use dd-wrt.v24_mini_wrt54g.bin, probably because the WRT54GL looks at the header to make sure it is marked as a WRT54 file. Using "tftp -i 192.168.1.1 PUT dd-wrt.v24_mini_wrt54g.bin" solved the problem.+
- +
-"[Comment added 08/14/2009 [BobofVA]]"+
- +
-I just purchased a NIB WRT54GL V1.1 (CL7C). It came with down level Linksys firmware on it, 4.30.11. I upgraded it to Linksys 4.30.12, the latest. This is recommended in the procedures as a precursor to installation of any DD-WRT release, thus I followed that advice. I then reset the router using the button on the back. Next I installed dd-wrt.v24_mini_generic.bin. There is some disagreement in prior comments about whether or not std can be flashed directly. I saw no disadvantage, other than time, with flashing mini first. That flash completed successfully. I reset the router using the button on the back. Last, I flashed dd-wrt.v24_std_generic.bin. This also completed successfully. All flashes were performed using the web interface. The biggest hassle was dd-wrt insisting I change the id/password to something other than the default before it would let me access the menus.+
-[[Category: Linksys]]+[[Category:Linksys]]

Current revision

To find other WRT54* model wiki pages see here.
Image:linksys_wrt54gl_front_mini.jpg Image:linksys_wrt54gl_back_mini.jpg

Contents

[edit] Hardware Specifications

  • Platform: Broadcom MIPS
  • CPU: Broadcom BCM5452 at 200 MHz (130nm process)
    • overclocking is supported in DD-WRT
    • Use `cat /proc/cpuinfo` to verify BogoMIPS. Default output:
system type             : Broadcom BCM947XX
processor               : 0
cpu model               : BCM3302 V0.8
BogoMIPS                : 199.47
[...]
  • Flash: 4 MB NAND, single chip
  • System Memory: 16 MB 16-bit DDR SDRAM
  • Wireless Radio: Broadcom BCM43xx 802.11b/g
  • Antenna: Dual folding, removable, rotating antennas
    • NOTE: (26 Sep 2009) Non-removable molded antennas may have been used in the past a year or two
  • Network Switch: (4) 10/100 LAN + (1) 10/100 WAN, Auto MDX/MDI-X (Integrated in CPU)
  • Serial / JTAG / USB: Yes / Yes / No


[edit] Firmware

See the DD-WRT FAQ for build info and download links.

NOTE: Check the Peacock announcement for recommended builds, and also research build threads.

Q: Why can't I directly upgrade from a stock Linksys firmware to DD-WRT versions other than MICRO or MINI?

A: Stock Linksys firmware on the WRT54GLv1.x won't accept firmware over 3MB, or it will show the error: "Upgrade are failed!" [sic]. The micro or mini versions of DD-WRT must be flashed BEFORE flashing the standard, voip, or vpn versions. Hard reset the router to restore firmware defaults BEFORE AND AFTER upgrading, even to micro or mini DD-WRT builds.

Q: Is there a limit to how many times routers can be flashed with firmware?

A: Flash memory does have a lifespan, like an SD card or USB flash drive, and depends upon NAND vs. NOR flash, but at least 100,000 write cycles is common. This is why limiting JFFS and script writes is recommended.

[edit] Build Size

DD_WRT boot log MTD partition layout:

Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x00124c00-0x003d0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x003d0000-0x003f0000 : "ddwrt"

Thus the linux partition size limit is 0x3F0000-0x40000 = 3866624 bytes = 3776 KB

[edit] Installation from Linksys firmware

Before starting, read the build info and Peacock announcement linked above.

  • Recommended: check the MD5 HASH of the firmware after downloading - a bad hash can mean a bad firmware download (and flashing a bad firmware can brick your device). See Hashes & Checksums.
  • DO NOT try to load a MEGA build on this router, as they are ~8MB.
  1. Use the MINI (or MICRO) generic build (broadcom folder) for initial flash from the Linksys firmware
    • A trailed build (with wrt54g in the name) is NOT required except for TFTP upgrades (see below).
  2. Do a hard reset then login to the Linksys GUI at http://192.168.1.1
  3. Use the firmware upgrade web interface to update your router with dd-wrt. DO NOT close your browser or interrupt the process until you are sure it has completed.
  4. After ~3 minutes, the WLAN light will turn on. Access dd-wrt at http://192.168.1.1 and set a password.

[edit] Upgrade from DD-WRT

  1. Compare different build versions' features here. If larger versions' features aren't needed, the available memory will be increased by using the smallest version with the needed features.
    • MEGA - As stated before on this page, the WRT54GL cannot support MEGA, so don't try.
    • MICRO, MINI, STANDARD (e.g. VoIP or VPN) versions - continue with the following steps:
      1. Power cycle the router, then hard reset after boot
      2. Install the desired generic dd-wrt build, from the broadcom folder, via the GUI
      3. Wait again for the process to complete and the lights to return to normal (3-5 minutes)
      4. Power cycle again, then hard reset after boot
      5. Set a password then configure dd-wrt

[edit] TFTP Upgrade

To upgrade via TFTP, a trailed build with wrt54g in the name is required, which has a header with hardware info.

[edit] TFTP Recovery

For a router that it stuck with a flashing power light with no GUI access, but responds to pings, TFTP of the Linksys firmware is required (NOT DD-WRT!) to rescue it. This occurs most commonly from NOT using a MICRO or MINI build for initial flash. Instructions on restoring with TFTP are here.


[edit] Running NEWD2 and/or K26 on the GL model

WARNING
This is ONLY for those that can recover using JTAG, and is an unnecessary hack for people who want to try the k26 driver. (God only knows why a person would on this router.) If this goes wrong...you MUST use JTAG to recover...you've been warned...you are altering the CFE of the router.

The WRT54GL router must already have dd-wrt installed before you begin this process.

1 -First start by backing up your current CFE.BIN file and keep it in a safe place
2- Enable ssh services in the dd-wrt configuration at 192.168.1.1. This is REQUIRED for WinSCP to work (step9)

3- Next you will need to download the "new" CFE for the WRT54GL model located here. This is an altered CFE.BIN from a WRT54G-TM
4- Obtain a Hex Editor like xvi32 or HxD
5- Edit your et0macaddr (located at 10CAh) to match your router's MAC address (exa. currently 00:14:BF:00:00:01)
6- Edit your new cfe il0macaddr (located at 1154h) to your router's MAC address plus one (exa. currently 00:14:BF:00:00:02)
7- Save your edited file and call it K26-CFE.BIN

8- Hard reset your GL router using the 30/30/30 method
9- Using WinSCP upload the modified CFE (named K26-CFE.BIN) to the routers /tmp directory.
10- Log into your router and issue the following commands on the command line.

mtd unlock cfe
mtd write K26-CFE.BIN cfe

When completed, it should reboot. If it doesn't, manually reboot it.

11- Verify you have the new cfe by backing up the CFE again.
12- verify the original K26-CFE.BIN file and this new cfe.bin file are identical (you can use the "comp" command in windows to compare them)

12- Once the new CFE.BIN file is verified on the unit, hard reset again and let it boot, then load a NEWD2_mini.bin or K26_mini.bin build (or any other "generic" NEWD2 or K26 build under 3.7M).