Hi,
I seem to have successfully turned my router into a brick. Here is a brief summary of how I got there:
Took a brand new WRT54GL (the new Linux one) and installed openwrt-wrt54g-squashfs.bin (RC5) via the Linksys web interface. No problems, router booted, logged in via telnet on first boot and set a password.
Installed and configured a few packages and was using it successfully for a couple of days.
I decided to revert it back to the Linksys firmware for the purpose of going through the whole install process again so that I could document my setup. As I am using RC5, I took the advice in the notes and used webif in OpenWrt to upload the Linksys firmware. I got a copy of the Linksys firmware from the Linksys website following a link from linksysinfo.org site. (Could not find the firmware on the UK website, had to get it off the US site, don't know if this should make a difference). Went through the process of uploading the firmware making sure that I had ticked the "Erase the JFFS2 partition" box first. The firmware appeared to load fine. There were a total of 3 lines of messages. Sorry I didn't take a note of them but none of the messages indicated any errors just information on the fact that Linux was being loaded. I had a constant ping going and this stopped after the 3rd line of info and the browser had a "done" message in the status bar at the bottom. I waited a good 5 minutes before manually rebooting the unit but still got no ping reply after it booted. I also tried each port on the router but neither would respond.
As it dawned on me that I was in a "brick" scenario, I went through the troubleshooting section and tried the "failsafe mode" as I am using the SquashFS images. I installed the recvudp utility but got no response from any of the router on any port. This leads me to think that the Linksys firmware has loaded but can't boot.
I then found the "shorting out the flash" method which I tried before reading mbm's comments in post "id=5346" about this not being the correct way to go about things and this method had been removed from the OpenWrt wiki as it had messed up a lot of routers. Nevertheless, I did get some progress. Once I had shorted out the pin, I could then ping the router on 192.168.1.1. I used Windows 2000 tftp to upload the Linksys firmware again. The transfer was succesfull and according to the notes the router should reboot and let me access the Linksys web interface. The router didn't reboot but now the power light is constantly flashing (even after several reboots) and it seems to be in a permenant tftp state but not able to accept firmware. I also tried the OpenWRT firmware image which also didn't work.
After several scratches of the head, I think the problem may lie with some of my actions while I was using OpenWRT. I want to be able to connect more than one router up to the unit so I decided to reverse the role of the switch and make the "Internet" port the single connection to the LAN and ports 1 to 4 separate vlans that I could attach routers to. This would save having to use another switch to bridge 2 or more routers onto the Internet port. When I made my changes, it all seemed to work fine. The changes I made were as follows:
Old nvram Settings:
vlan0ports="3 2 1 0 5*"
vlan0hwname=et0
vlan1ports="4 5"
vlan1hwname=et0
New nvram Settings:
vlan0ports="4 5*"
vlan0hwname=et0
vlan1ports="3 5"
vlan1hwname=et0
vlan2ports="2 5"
vlan2hwname=et0
vlan3ports="1 5"
vlan3hwname=et0
vlan4ports="0 5"
vlan4hwname=et0
I have just grasped that flashing the router does not clear the nvram variables therefore I think this is my problem. (By the way, I was connected to the "Internet" (new LAN) port when uploading the Linksys firmware).
I think that the Linksys firmware loaded successfully but it is booting and trying to use my custom vlanX nvram settings which are wrong for the correct operation of the Linksys software.
Also, I have noticed a note in the "Ethernet switch configuration" section that says:
"It's a good idea when choosing a vlan layout to keep port 1 in vlan0. At least the WRT54GS v1.0 will not accept new firmware via TFTP if port 1 is in another VLAN."
Does this mean Linksys firmware or OpenWRT firmware? If it means the Linksys firmware, this may explain why my tftp is not working as my configuration changes have put port 1 into vlan3.
If this is the case, can anyone suggest a way of resetting the nvram settings considering the state (I think) the router is currently in or am I way off the mark and there is something else that would be causing my problem?
Any help would be greatly appreciated and I hope I have included enough information.
regards,
Aidan
(Last edited by AidanAnderson on 20 Apr 2006, 18:08)