Oops or How to Recover from Problems with your WRT54G(L)

Slides:



Advertisements
Similar presentations
Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
Advertisements

CY-SWR1100 Dual Band Wireless N Router
Networking By: Matt Motl… Programmer Brent Everson… Programming Mentor.
Boot Mode. Agenda 1.What can I do if I forget my password? 2.What to do if My Gateway can’t enter into [usr/config] mode?
Ch. 6 – Switch Configuration CCNA 3 version Overview Identify the major components of a Catalyst switch Monitor switch activity and status using.
Ch. 7 – Switch Configuration
WANs and Routers Routers. Router Description Specialized computer Like a general purpose PC, a router has:  CPU  Memory  System Bus Connecting Internal.
hotEx RADIUS Manager Installation
TEW-691GR Training TEW-691GR Training TEW-691GR 450Mbps Wireless N Gigabit Router.
© 2004 Cisco Systems, Inc. All rights reserved. Managing Your Network Environment Managing Router Startup and Configuration INTRO v2.0—9-1.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 5 Managing Cisco IOS Software.
Advanced Networking for DVRs
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
DSL 305 Series ADSL Modem. Types of DSL305 series DSL305E ADSL Modem  PPP Half-Bridge (Default)  Transparent Bridge DSL305EU ADSL Router/Modem.
Ch. 5 – Access Points. Overview Access Point Connection.
Chabot College ELEC autoinstall and SLARP.
Basic Router Configuration Warren Toomey GCIT. Introduction A Cisco router is simply a computer that receives packets and forwards them on based on what.
Inter-Tel IP Devices IP Phone+ IPSLA IP Card.
Configuring the MagicInfo Pro Display
Starting the switch Configuring the Switch
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration Cisco Networking Academy.
CTSP TRAINING Router 101 And Networking Basics. You Don’t Need Internet Access to Run or Connect your devices to an Ethernet switch or Router Enable DHCP.
Lexmark Wireless Printer Adaptor Instructions Step 1. For a Mac, go to network preferences/ select built-in-ethernet and click on TCP/IP tab and annotate.
Chap 5 Startup and Setup Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
DSL-2544N Dual Band Wireless N600 Gigabit ADSL2+ Modem Router
Background of Wireless Communication Wireless Communication Technology Wireless Networking and Mobile IP Wireless Local Area Networks Wireless Communication.
Ethernet port  Make sure that your computer has an Ethernet connection (RJ45 port).  Power the zSeries on and make sure the “network link” LED is solid.
 The Control Panel window will pop up. Existing LAN USB-to-Ethernet adapter  Use an inexpensive USB-to-Ethernet adapter and connect it to your computer’s.
Installing SME Version 5 –1)Set the computer to boot from the CDRom by changing the BIOS setting. –2)Startup the computer with the CD in the CD drive –3)Type.
Ericsson-LG Enterprise Proprietary | | Page 1 Slide title 30 pt Text and bullet level 1 minimum 24 pt Bullets level 2-5 minimum 20 pt Do not.
Page 110/19/2015 Chapter 5 CCNA2 Chapter 5 Managing Cisco IOS Software.
Cisco ASA 5505 Joseph Cicero Northeast Wisconsin Technical College.
By Joe Elkins Password Recovery for Cisco Routers (aka Breaking a Cisco Router)
IOS Backup & Password Breaking Technique of Routers & Switches Chapter 17 powered by DJ 1.
1 Version 3.0 Module 6 Switch Configuration. 2 Version 3.0 Switches Contain: –CPU –RAM –Operating System.
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/16 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
Brian Hixenbaugh Network Managment. My Home Network.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: Introduction to Switched Networks Routing And Switching 2.0.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
RT-LAB Electrical Applications 1 Opal-RT Technologies Use of the “Store Embedded” mode Solution RT-LAB for PC-104.
Introduction to Routers
AP-2000 Problem solving - Force Reload Entering Force Reload mode Force Reload is an emergency procedure to re-load the AP-2000 with new image file, when.
CCNA2 Chapter 2 Cisco IOS Software. Cisco’s operating system is called Cisco Internetwork Operating System (IOS) IOS provides the following network services:
Chapter 7 & 8 IOS Images and Router Configuration
Configuration Modes and TFTP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
1 Version 3.1 Module 5 Managing Cisco IOS Software.
* pls connect PC via Lan cable to DVR * click Intranet icon, then click the “content”
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
Cisco 2 - Routers Perrine. J Page 16/26/2016 Chapter 2 Cisco IOS Software Cisco’s operating system is called Cisco Internetwork Operating System (IOS)
Introduction to networking (Yarnfield) Configure a router.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.

Configuring Network Devices
© 2002, Cisco Systems, Inc. All rights reserved.
Lec 3: Introduction to Switched Networks
FlashBack-4 Training June 2014
CIT 384: Network Administration
Data Server S/W Upgrade Samsung Electronics Co., Ltd.
Cisco S2 C5 Router Startup.
Chapter 5: Switch Configuration
Chapter 2: Introduction to Switched Networks
Chapter 2: Introduction to Switched Networks
Chapter 5: Switch Configuration
Chapter 5: Switch Configuration
PHASE IDENTIFICATION UNIT (PIU)
Computer troubleshooting
Lecture9: Embedded Network Operating System: cisco IOS
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

Oops or How to Recover from Problems with your WRT54G(L)

Topics Covered ● What can go wrong ● WRT54GL startup ● How to do various Procedures to the Router ● Problems vs Solutions ● Resources

Possible Problems

What can go wrong? ● Unknown/Lost Password ● Unknown IP address ● Broken startup scripts, locked out by bad firewall rules, corrupted the JFFS2 partition ● Aborted/broken image upload

Router Familiarization and Startup

WRT54GL rear Panel

Boot Loader ● The Router runs the Broadcom CFE (Common Firmware Environment) Boot Loader from Flash when the Router is rebooted or powered up. ● Power LED flashes while Boot Loader running. ● The Boot Loader loads the firmware image and passes control to it. ● The firmware image can be in Flash, or transferred from a TFTP connection.

OpenWRT Firmware Startup ● Transfer of control to the OpenWRT firmware from the Boot Loader starts a bunch of things ● Power LED initially flashing. The DMZ light comes on. ● The startup scripts run including checking for the reset button being pressed. (failsafe check) ● The Power LED stays on and eventually the DMZ light goes out at the end of the startup sequence and the router is fully functioning.

Router Reset Button ● The Boot Loader and firmware image react differently to the reset button. ● Holding the Reset button during the time the Boot Loader is running resets the NVRAM to the default. ● Reset button is used by the OpenWRT firmware image to enter Failsafe mode. It will not reset the NVRAM if pressed during the time OpenWRT is running.

Procedures

Resetting the NVRAM ● Holding the Reset button while the Boot Loader is running sets the NVRAM to the default values. 1) Disconnect the power from the router 2) Hold in the reset button while simultaneously powering up the router. Keep holding reset button for 5 seconds. 3) Release reset and wait for router to boot. 4) Now has default settings.

Failsafe Mode ● OpenWRT needs to run to get into Failsafe mode. ● If you have a Windows PC, download and install recvudp from ● Hardwire an Ethernet cable from your PC to a LAN port on the router. ● Reset the router NVRAM ● Set your computers network address to static IP

Failsafe Mode (continued) ● On your Linux computer, run “nc -l -p u” or on Windows run “recvudp”. ● Reboot router, when you see the message “Press reset now, to enter Failsafe!” from nc or recvudp, press and hold the reset button until you see the message “Entering Failsafe!” which takes approximately 2 seconds. You need to be fast on the reset button.

What to do in Failsafe ● In failsafe, the router address is and boots into a telnet server. ● Telnet to to access the router's command line.

Problem vs Solution

Unknown/Lost Password ● You will need to Reset the password as follows: ● Enter failsafe mode ● Issue the following commands ➔ mount_root ➔ passwd

Unknown IP Address ● If you just want to reset the IP address to the default of then reset the NVRAM

Broken Startup script, Bad Firewall Rules, Bad JFFS2 partition ● Enter Failsafe mode ● Telnet into the router to fix your problem.

Aborted/Broken Firmware Image ● The Boot Loader will not load a corrupted image. ● You need to TFTP a new image to the router. ● The directions are different for each version of tftp program used. Consult for your specific OS/tftp program. ● (continued)

Overview of TFTP Firmware Upload ● Set your computer to static IP ● Plug Ethernet cable from your PC into one of the Router's LAN ports ● Remove power to your router by unplugging the power connection at the router. ● Start your TFTP client ● (continued)

Overview of TFTP Firmware Upload (continued) ● Power up your router, while having the TFTP client running which constantly probes for a connection ● The TFTP client will receive an ACK from the Boot Loader and starts sending the firmware ● Boots into new image once re-flashed. ● Note: The TFTP window is short so you may have to perform this procedure multiple times if the TFTP client cannot send the firmware.

TFTP on Linux ➢ tftp ➢ binary ➢ rexmt 1 ➢ timeout 60 ➢ trace ➢ Packet tracing on. ➢ put openwrt-xxx-x.x-xxx.bin

Resources ● ● ● ● ●