Table of Contents

Linksys WAG54G

This device is NOT RECOMMENDED for future use with OpenWrt due to low flash/ram.
DO NOT BUY DEVICES WITH 4MB FLASH / 32MB RAM if you intend to flash an up-to-date and secure OpenWrt version onto it! See 4/32 warning for details.

1) This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
This means that even setting a password or changing simple network settings might not be possible any more, rendering the device effectively useless. See OpenWrt on 4/32 devices what you can do now.

2) OpenWrt support for this device has ended in 2022.
19.07.10 was the last official build for 4/32 devices.

The Linksys WAG54G is an ADSL gateway with wireless acccess point integrated.

Supported Versions

Version/Model SoC S/N OpenWrt Version Supported Model Specific Notes
WAG54Gv1 ARM940L N/A Not Supported
WAG54Gv1.1 BCM6348 N/A Backfire 10.03.1 No ADSL, ethernet & wireless only
WAG54Gv1.2 S3C2510A01 N/A Not Supported
WAG54Gv2 TNETD7300 N/A Backfire (See #3124 and #9192) Code Pattern: WA21
WAG54Gv3 TNETD7200 N/A unknown Code Pattern: WAA2

Samsung Platform

v1 Info

Architecture ARM
Vendor Samsung
Bootloader ?
System-On-Chip S3C2510A01 (ARM940L)
CPU Speed 166Mhz
Flash-Chip ?
Flash size ?
RAM Integrated Silicon Solution, Inc 64Mbit (8MB) SDRAM
Wireless Linksys WET54GM2 Wireless-G CardBus Module
Ethernet Infineon/ADMTek ADM6996L
USB No
Serial ?
JTAG ?

Photos

http://wireless.gumph.org/content/4/4/011-wag54g-insides.html

Broadcom Platform

v1.1 Info

Architecture MIPS
Vendor Broadcom
Bootloader CFE 1.0.37-5.11
System-On-Chip BCM6348
CPU Speed 240Mhz
Flash-Chip MX29LV320
Flash size 4Mb
RAM ESMT12L8216 64Mbit (8MB) SDRAM x2
Wireless Broadcom BCM4318 soldered to board
Ethernet Broadcom BCM5325 ?
USB No
Serial Via mod
JTAG Via mod

This appears to be based on a Broadcom reference design, as all the chips were made by them.

Photos

Case is held together with 4 screws under the rubber feet.

Inside, note grey side wall is attached to the aerial

There is a 3.3v serial header near the front, behind the LED's marked J503

Pinout:

  [x]    (x)    (x)    (x)
  Gnd    TxD    3.3V   RxD

Reflashing

Attach a serial cable and an ethernet cable to the router, connect both to a PC/Linux box with a tftp server in.

Download the generic flash image: http://downloads.openwrt.org/backfire/10.03.1/brcm63xx/openwrt-96348GW-generic-squashfs-cfe.bin

Note: you can try later versions, but low RAM size on this device may cause trouble

Set the address of the tftp to 192.168.1.100 (static IP), start a terminal on the serial at 115200 8n1

power up the router and hit a key when prompted to interrupt CFE

now enter:

flashimage openwrt-96348GW-generic-squashfs-cfe.bin

to flash the device.

On reboot you can now configure your router through LuCi.

ToDo

There is a JTAG connector next to the serial - pinout unknown.

The device has a button marked “Secure Easy Setup” with a LED behind it. This is currently ignored

Lack of a FOSS driver prevents the ADSL from being used.

TI Platform

v2 Info

Architecture MIPS
Vendor Texas Instruments
Bootloader Adam2
System-On-Chip TI TNETD7300GDU (AR7WRD) Single Chip Network Processor/AFE/Line Driver
CPU Speed MIPS 4KEc V4.8 @ 150 MHz
Flash-Chip AMD AM29LV320DT-90EI 32Mbit (4MB) FLASH ROM
Flash size 4 MiB
RAM EtronTech EM639165TS-7 128Mbit (16MB) SDRAM
Wireless TI TNETW1130GVF 802.11b/g Wireless MiniPCI Card [TI ACX111 (vlynq)]
Ethernet Infineon/ADMTek ADM6996L 6 port 10/100 Mb/s (4 ports usable)
USB No
Serial Yes
JTAG ?

This is essentially the same unit as the AG241v2, except for the wireless controller.

Opening the case

Serial

|
|    __
|   |  |	<- Pin 1, GND
|    --
|   |  |	<- Pin 2, Not Connected
|    --
|   |  |	<- Pin 3, Router's Serial RX
|    --
|   |  |	<- Pin 4, Router's Serial TX
|    --
|   |  |	<- Pin 5, VCC
|    --
|
|
 \__led__led__led__led____________________
 		Front of WAG54G

NOTE: You cannot plug directly those pins to your pc serial port. You need a RS232-TTL level adapter, see port.serial.

Configuration

The settings for the serial console are “38400 bauds, 8 bits, no parity, 1 stop bit (38400 8N1)”, with hardware and software flow control both disabled.

Interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
eth0 LAN ports (1 to 4) None
eth1 Unknown Disabled
wlan0 Wireless Disabled

v3 Info

Architecture MIPS
Vendor Texas Instruments
Bootloader Adam2
System-On-Chip Ti TNETD7200ZDW (AR7W)
CPU Speed
Flash-Chip Intel JS28F640J3D75
Flash size 8 MiB
RAM-Chip MIRA P2V56S40BTP
RAM size 256Mbit (32MB)
Wireless Ti TNETW1350A
Ethernet Infineon/ADMTek ADM6996L
USB No
Serial Yes
JTAG ?

This is essentially the same unit as the AG300, except for the wireless controller.

Tags

For some help with the tags, please have a look here: tags