Initial flashing instruction

Similar documents
Gateworks_Avila/Cambria_Installation. Please note: The details in these instructions apply specifically to the GW board.

Asus_TFTP_Flash. tftp client is enabled in the default installation of WinXP

User can upgrade the firmware directly using the Web or Console.

Programming through Web browser:

MP01 Quick Start Guide

Linksys WRT54G v5.0 & 5.1 & 6.0

Contents. Summary. Preparation. LaFonera_Software_Chilispot. You are here: DD-WRT wiki mainpage / LaFonera / Software / Chilispot

CCNA 1 Chapter 2 v5.0 Exam Answers %

Dr. Tom Hicks. Computer Science Department Trinity University

IndustrialPro Routers (SN/RAM Series)

Installing Cisco StadiumVision Director Software from a DVD

Step-by-step guide to unbrick TP-Link Archer C9 v1 and revert to stock using serial recovery

CCNA 1 Chapter 2 v5.0 Exam Answers 2013

8.9.2 Lab: Configure an Ethernet NIC to use DHCP in Windows Vista

Configuring Host Router and Cisco Analog Video Gateway Module Interfaces

FACULTY OF ENGINEERING. Lab Experiment

Managing Controller Software and Configurations

REVISION HISTORY... 2 REASONS USING DEVELOPMENT KIT...

Click on Close button to close Network Connection Details. You are back to the Local Area Connection Status window.

FACULTY OF ENGINEERING. Lab Experiment

Router Startup and Configuration

ICC INDUSTRIAL CONTROL COMMUNICATIONS, INC.

Upgrading the Software

SAMA5D3x-CM Instruction to program images with PEEDI

Maintaining the MGX RPM-PR

Laboration 2 Troubleshooting Switching and First-Hop Redundancy

SP31. User Guide. January 2015 Document Revision 03

IndustrialPro Routers (SN/RAM Series) Wireless Modems

IOS and Configuration Basics

Upgrade 6081RC Firmware

LevelOne. User's Guide. Broadband Router FBR-1402TX FBR-1403TX

MediaTek LinkIt Smart 7688 Get Started Guide

Broadband Router DC-202. User's Guide

All Rights Reserved. Rev. 1.0, 2003

LevelOne. User Manual. WAP Mbps PoE Wireless AP V3.0.0

ITEC451 Network Design & Analysis Laboratory Guide: Appendix

REVISION HISTORY...3 USING DEVELOPMENT KIT ADVANTAGES...4 BLOCK DIAGRAM...5 KEY FEATURES...6

Lab 6.2.7a Managing Switch Operating System Files

INSTALLATION. Security of Information and Communication Systems

Configuring General Settings for the EN-4000

LevelOne Broadband Routers

Avocent Corporation ACS 6000 Advanced Console Server Release Notes Version November 10 th, 2010

CHAPTER 7. Astlinux and Asterisk Installation on Embedded System

GMSplus Customer Connection Test Procedure

Chapter 5 Router and IOS Basics

Troubleshooting CHAPTER

Lab 1.3.2: Review of Concepts from Exploration 1 - Challenge

Sierra Wireless AirLink LS300. Setup Steps

Silex SD-320AN-03 Serial Server

Table of Contents. Cisco Password Recovery Procedure for the Cisco Aironet Equipment

CHAPTER 2 ACTIVITY

No Service Password-Recovery

tds-700/ tds-700 RevB Series

Switched Rack Power Distribution Unit

Smart Install Concepts

Initial Configuration for the Switch

ilo MP Utilities ilo MP

4G WiFi M2M Router (NTC-140W Series) Firmware Upgrade Guide

Troubleshooting Initial Startup Problems

3 Connection, Shell Serial Connection over Console Port SSH Connection Internet Connection... 5

Using Cisco IOS Software

Downloaded from manuals search engine

Lab Student Lab Orientation

Reimage Procedures. Firepower 2100 Series Software Reimage and Disaster Recovery

i.mx31 3-Stack Platform Linux SDK Standard Release Package User s Guide

Installing the Operating System or Hypervisor

User manual. The firmware upgrade

First Aid. For All Mediatrix units. Revision

Using the emergency shell 1

Lab Firmware Upgrade of a Catalyst 2900 Series Switch

Troubleshooting 1240AG Series Lightweight Access Points

AT-WR4500 Series How To Upgrade RouterOS firmware

OpenWrtDocs/Installing

First Aid. For all Mediatrix units. Revision

idirect Technical Note 1. INTRODUCTION 2. DIFFERENCES BETWEEN INFINITI AND NETMODEM II+ SERIES

Laboration 1 Examine the Topology and Basic Troubleshooting Commands

CHAPTER 7 ADVANCED ADMINISTRATION PC

LevelOne FBR User s Manual. 1W, 4L 10/100 Mbps ADSL Router. Ver

ATCOM IPPBX IP01 Product Guide Version: VoIPon Tel: +44 (0) Fax: +44 (0)

Welcome. Unleash Your Phone

2.1. Device Connection

User Manual DIR-850L. Wireless AC1200 Dual Band Gigabit Router.

Guidelines of Ethernet for Using a Star Dvice. - Windows - Rev. 2.0

Lab Student Lab Orientation

Firmware Upgrade Procedures: Belkin F5D v4 fw

Express Setup. System Requirements. Express Setup CHAPTER

Installation. ProSAFE Wireless Controller Model WC7500 and Model WC7600

Power Xpert Meter 2000 Gateway Card Kit

USER MANUAL SNMP-RC210 SNMP WEB MANAGEMENT CARD. bxterra.com

Cisco 4000 Series Virtual Configuration Register

The following file is used for updating the boot loader: xboot.bin: XSTREAM development platform boot loader image

Lab 6-1 Configuring a WLAN Controller

Broadband Router DC 202

How Do I Recover infiniti Remotes and Line Cards?

IP806GA/GB Wireless ADSL Router

RedBoot for Freescale i.mx27

Deploying Cisco ASA Firewall Features (FIREWALL) v1.0. Global Knowledge European Remote Labs Instructor Guide

TFC-1600MM Media Conversion System. Management Configuring Guide

JT4100P LTE Outdoor CPE Administrator User Manual V1.0

Cisco Branch Routers Series Network Analysis Module (NME-NAM-120S) Installation and Configuration Note, 4.2

Transcription:

= D-Link DIR-300 Rev.A = Airlink101 AR430W = Airlink101 AR335W Contents 1 Initial flashing instruction 1.1 Install RedBoot 1.2 Install DD-WRT 1.3 Recovery and Upgrade 1.4 Redboot access script for Windows 1.5 Redboot access script for Linux 1.5.1 Putty 1.5.2 Telnet 2 Hardware 2.1 Serial port 3 Overclocking Initial flashing instruction Warning: Procedure below is valid only for DIR-300 Revision A. Please check carefully the revision level of your D-Link before flashing Don't use Builds 21676-23503 as it has a restart loop. See Where do I download firmware? for links. Windows flashing instruction for the D-Link DIR-300 to DD-WRT (by Brainslayer, modified by Sash, v24_sp1 specific added by Deepak) Install RedBoot configure your local ip to 192.168.20.80 connect your lan cable to the WAN port of the router. plugoff the power cord and replug it. You must press the RESET key for 5 sec. now enter the redboot using telnet and ip 192.168.20.81 and port 9000. connect your lan cable to the dir300 wan port. you might need several tries since its only available for 1 second after aprox. 5 sec. of booting (below is a Windows & Linux access script for an easy way to connect to redboot) When you succeed you will be rewarded with a RedBoot> prompt. DIR-300 Info: IP: 192.168.20.81/255.255.255.0, Gateway: 0.0.0.0 Default server: 192.168.20.80 now start a local tftp server on your computer and place ap61.ram as well as ap61.rom in the root dir of this Initial flashing instruction 1

server back to the redboot enter: load ap61.ram go now a new temporarily bootloader should start. (on serial console it will display some warning. but you dont need to care about). It will be waiting for connection at the LAN side of the router, so follow the instructions that follow. Plug off your cable from the wan port and reconfigure your local (computer) ip to 192.168.1.2 (set your DHCP server to serve 192.168.1.1 as the only address in the DHCP pool and the TFTP must also be available at 192.168.1.2). Now you should be pluging on to any of the lan ports. Then connect via telnet to 192.168.1.1 (or to the ip your dhcp server served to the redboot) and port 9000. A DD-WRT> prompt should welcome you. IMPORTANT: while doing the following steps. never plugoff the lan cable or the power cord fis init About to initialize [format] FLASH image system - continue (y/n)? y *** Initialize FLASH Image System... Erase from 0xbffe0000-0xbfff0000:.... Program from 0x807f0000-0x80800000 at 0xbffe0000:. IP: 192.168.1.1/255.255.255.0, Gateway: 0.0.0.0 Default server: 192.168.1.2 load -r -b %{FREEMEMLO} ap61.rom Using default protocol (TFTP) Raw file loaded 0x80080000-0x800a8717, assumed entry at 0x80080000 fis create -l 0x30000 -e 0xbfc00000 RedBoot An image named 'RedBoot' exists - continue (y/n)? y... Erase from 0xbfc00000-0xbfc30000:...... Program from 0x80080000-0x800a8718 at 0xbfc00000:...... Erase from 0xbffe0000-0xbfff0000:.... Program from 0x807f0000-0x80800000 at 0xbffe0000:. reset now the unit will reboot and the new bootloader will be executed and is waiting for your connection. this will take 30+ sec. Install DD-WRT The following will work for the initial flash AND a recovery connect to the bootloader with telnet on port 9000 and ip 192.168.1.1 (If you have installed Micro_Redboot read the wiki page about it first) now do the following (consider that fis create operations are taking sometimes *several* minutes to finish, in my particular case it took more than 5 minutes): fis init Install RedBoot 2

load -r -b 0x80041000 linux.bin fis create linux fconfig boot_script true fconfig boot_script_timeout 5 now type fconfig again and configure the bootscript to: fis load -l linux exec and press enter for every other option to confirm the defaults. Now type reset again. The unit should now boot dd-wrt and work as known from other atheros based platforms You are done now. Wait for your router to reboot. It will take about 1-2 minutes. It may blink and reset once or twice (as noted). Now open a Browser and connect to address 192.168.1.1 you should be able to see the dd-wrt page. That's All Recovery and Upgrade connect to the bootloader with telnet on port 9000 and ip 192.168.1.1 do the following: (consider that fis create operations are taking sometimes several minutes to finish) fis init -f now load the latest linux.bin from your tftp-server: load -r -b 0x80041000 linux.bin fis create linux Redboot access script for Windows Make a folder and download putty.exe to it create a file in the same folder called redboot.txt, with the following content: ^C create a file in the same folder called redboot.bat with the following content: rem echo off :start rem ------------------------------------------------ ping 192.168.20.81 -n 1 -w 1 >NUL IF ERRORLEVEL 1 goto start rem putty Install DD-WRT 3

rem ------------------------------------------------ break putty.exe telnet://192.168.20.81:9000 -m redboot.txt exit start the bat file and power on the router...here comes redboot Redboot access script for Linux Putty download putty.exe to c:\ create a file called redboot.txt, with the following content: ^C create a file called redboot in the same folder with the following content: #!/bin/bash echo echo "" echo "Enter hostname or ip address: " read host while true do if eval "ping -c 1 $host" > /dev/null; then putty telnet://$host 9000 -m redboot.txt echo "Router Awake" break else echo "Waiting for Redboot to boot. Press CTRL + C to quit" sleep 1 fi done Make the file executable. Telnet If you don't want to install putty for linux, you may use standard telnet and arping. It would be so (replace eth2 by your ethernet card name): #!/bin/sh echo "192.168.20.81 send ip" >> ~/.telnetrc arping -f 192.168.20.81 -I eth2; telnet 192.168.20.81 9000 Redboot access script for Windows 4

Hardware Serial port 3.3V TTL 8,n,1,9600 Overclocking To overclock your router, see http://www.dd-wrt.com/phpbb2/viewtopic.php?t=30305 Overclocking 5