Differences

This shows you the differences between two versions of the page.

toh:linksys:wrt54g [2013/01/25 11:55]
immanuel
toh:linksys:wrt54g [2014/03/05 15:38] (current)
sebelk
Line 1: Line 1:
====== Linksys WRT54G, WRT54GL and WRT54GS ====== ====== Linksys WRT54G, WRT54GL and WRT54GS ======
-The original WRT54G was first released in December 2002. The router is considered a home network device supporting, WLAN(//WiFi//), LAN and WAN. It has a 4+1 port network switch (the Internet WAN port is part of the same internal network switch, but on a different VLAN). The devices have two removable antennas connected through Reverse Polarity TNC connectors. The Linksys WRT54G series family is well-documented in [[wp>Linksys WRT54G series]].+The original WRT54G was first released as a SOHO router in December 2002. The product line supports WiFi and five switched Ethernet ports. (The WAN port is part of the same internal network switch, but on a different VLAN.) The devices have two removable antennas connected through Reverse Polarity TNC connectors. For additional background information, see [[wp>Linksys WRT54G series]].
===== Supported Versions ===== ===== Supported Versions =====
-The model number shown on the package, the front panel, and the sticker on the underside of the unit is the reference to follow in order to download the right OpenWrt firmware.  
-**Note:** The supported updated version can be found on the [[toh:#linksys|Table of Hardware]]+The different models within the WRT54G series may all look identical.  Please refer to the model information sticker on the underside of the unit in order to determine the precise model number and hardware version of your device. 
 + 
 +**Note:** The supported versions of OpenWrt can be found on the [[toh:#linksys|Table of Hardware]]
For wireless support on Kernel 2.6 it is recommended to use trunk snapshots or releases newer than and including "Backfire" 10.3. Note - the wireless driver names are different in 2.6 from 2.4. You may need to do: For wireless support on Kernel 2.6 it is recommended to use trunk snapshots or releases newer than and including "Backfire" 10.3. Note - the wireless driver names are different in 2.6 from 2.4. You may need to do:
Line 15: Line 16:
in order to get the correct wireless configuration created. in order to get the correct wireless configuration created.
-==== Notes on specific WRT54G//x// hardware versions ====+For versions of the OpenWrt "brcm47xx" target prior to "Attitude Adjustment" 12.09-final, you may wish to use Broadcom's proprietary wl driver due to longstanding issues with the b43 driver in Linux kernel versions 2.6 and newer ([[https://dev.openwrt.org/ticket/7552]]).  After installing the brcm47xx image, you will need to execute the following commands while logged into the router over TELNET or SSH: 
 + 
 +  opkg update 
 +  opkg install kmod-brcm-wl wlc nas 
 +  rm /etc/modules.d/*b43* 
 + 
 +After rebooting the router, configure wireless as usual, only using the Broadcom driver instead of the generic 802.11 driver. 
 + 
 +==== Notes on specific WRT54G hardware versions ==== 
 + 
 +=== WRT54G ===
  * The Linksys WRT54G ver. 1.1 hardware (4 MB of flash) has trouble with OpenWrt 10.03.1-rc6 and maybe all 10.03 releases as of 2011-12-08. In a test with OpenWrt 10.03.1-rc6, the OS will install but LuCI will be unable to update settings because there isn't enough flash left free.   * The Linksys WRT54G ver. 1.1 hardware (4 MB of flash) has trouble with OpenWrt 10.03.1-rc6 and maybe all 10.03 releases as of 2011-12-08. In a test with OpenWrt 10.03.1-rc6, the OS will install but LuCI will be unable to update settings because there isn't enough flash left free.
Line 25: Line 36:
According to the [[wp>Linksys WRT54G series]], the WRT54G-TM is nothing but a renamed WRT54GS v3.0 According to the [[wp>Linksys WRT54G series]], the WRT54G-TM is nothing but a renamed WRT54GS v3.0
 +
 +=== WRT54GL ===
 +
 +I have a WRT54GL 1.1 (16MB RAM, 4MB flash.) For a long time it was running Kamikaze 7.09; today I have installed various newer builds, here are the results:
 +
 +|                  |^  7.09  ^  8.09.2  ^  10.03  ^ 10.03.1 ^        12.04        ^    12.09      ^
 +^brcm-2.4          ||  works  |  works  |  works  |  works  |        n/a          |      n/a      |
 +^brcm47xx|b43/legacy|untested | untested |works although somewhat unstable  |works although somewhat unstable |v. low free ram & jffs| see note below |
 +
 +12.04 almost certainly needs to rebuilt with unnecessary packages (e.g. LuCI) and daemons (uhttpd) removed to make enough free ram & jffs to obtain long uptimes..  --- //tc424 2013/08/26 17:28//
 +
 +12.09 "Only have 688kb available on filesystem /overlay, pkg kmod-brcm-wl needs 695" Impossible to install wl into 12.09  --- //jikuja 2013/11/18 12:29//
===== Basic configuration ===== ===== Basic configuration =====
Line 170: Line 193:
You should also be confident with a soldering iron and basic knowledge with a multimeter will always help. You should also be confident with a soldering iron and basic knowledge with a multimeter will always help.
-This circuit also needs 5 volt output wich is standard for USB, [[http://lmgtfy.com/?q=7805+circuit+for+usb|5 Volt Regulator]].+This circuit also needs 5 volt output which is standard for USB, [[http://lmgtfy.com/?q=7805+circuit+for+usb|5 Volt Regulator]]. It's recommended to add heatsink to 7805 chip.
//Schematics:// //Schematics://
Line 180: Line 203:
{{:media:linksys.wrt54gl.12v_source.jpg?200|Where to take 12 volt from.}} {{:media:linksys.wrt54gl.12v_source.jpg?200|Where to take 12 volt from.}}
-//USB source solderd://+//USB source soldered://
-{{:media:linksys.wrt54gl.usb_pins_solderd.jpg?200|USB 1 and 2 solderd.}}+RH21 = USB1 Data +  
 + 
 +RH23 = USB1 Data -  
 + 
 +RH25 = USB2 Data +  
 + 
 +RH26 = USB2 Data -  
 + 
 +{{:media:linksys.wrt54gl.usb_pins_solderd.jpg?200|USB 1 and 2 soldered.}} 
 +{{:media:wrt54gl.v1.1.usb.mod.jpg?250|USB 1 and 2 from another side}}
//USB Port:// //USB Port://
Line 189: Line 221:
-When the circuits are done and everything is solderd onto the pcb of the router, it's time to install the software.+When the circuits are done and everything is soldered onto the pcb of the router, it's time to install the software.
<code> <code>
Line 235: Line 267:
  * Download the openwrt-wrt54g-squashfs.bin firmware image from the brcm-2.4 folder to your PC.   * Download the openwrt-wrt54g-squashfs.bin firmware image from the brcm-2.4 folder to your PC.
  * You can find that image at: http://downloads.openwrt.org/backfire/10.03.1/brcm-2.4/   * You can find that image at: http://downloads.openwrt.org/backfire/10.03.1/brcm-2.4/
 +  * Actually the safest version to use would be <del>**8.09**</del>. //Hmmm, it looks like 10.03.1 is safe but you must use the **brcm-2.4** variant like in the link above//. I am not risking bricking my router for the initial flash, so I am going with **8.09**.
  * Open http://192.168.1.1/Upgrade.asp in your browser or manually go to http://192.168.1.1 -> Administration -> Firmware Upgrade   * Open http://192.168.1.1/Upgrade.asp in your browser or manually go to http://192.168.1.1 -> Administration -> Firmware Upgrade
  * Upload openwrt-wrt54g-squashfs.bin   * Upload openwrt-wrt54g-squashfs.bin
Line 243: Line 276:
nvram set boot_wait=on nvram set boot_wait=on
nvram set boot_time=10 nvram set boot_time=10
 +nvram set wait_time=10 #important for some models
nvram commit && reboot nvram commit && reboot
</code> </code>
Line 263: Line 297:
nvram set boot_wait=on nvram set boot_wait=on
nvram set boot_time=10 nvram set boot_time=10
 +nvram set wait_time=10
nvram commit && reboot nvram commit && reboot
</code> </code>
Line 268: Line 303:
**''NOTE:''** Do not touch any other NVRAM parameters. NVRAM is only used as environment for the bootloader. OpenWrt ignores NVRAM parameters. **''NOTE:''** Do not touch any other NVRAM parameters. NVRAM is only used as environment for the bootloader. OpenWrt ignores NVRAM parameters.
-**''NOTE:''** On WRT54GL (at least), you should probably use 'wait_time' instead of 'boot_time'.+**''NOTE:''** On WRT54GL (at least), you should probably use 'wait_time' instead of 'boot_time'. //bg300: Added//.
**''NOTE:''** On WRT54GS v1.1 too you have to use 'wait_time' instead of 'boot_time', anyway if in doubt add both parameters. **''NOTE:''** On WRT54GS v1.1 too you have to use 'wait_time' instead of 'boot_time', anyway if in doubt add both parameters.
Line 394: Line 429:
(Source and details: [[https://forum.openwrt.org/viewtopic.php?id=25063]]) (Source and details: [[https://forum.openwrt.org/viewtopic.php?id=25063]])
 +
 +===== Tags =====
 +{{tag>bcm53xx bcm5352 MIPS}}

Back to top

toh/linksys/wrt54g.1359111306.txt.bz2 · Last modified: 2013/01/25 11:55 by immanuel