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

Similar documents
OpenWrtDocs/Installing

Linksys WRT54G v5.0 & 5.1 & 6.0

Installing + Configuring

ICC INDUSTRIAL CONTROL COMMUNICATIONS, INC.

Lab - Connect to a Router for the First Time

OSPREY BOSS USER GUIDE

Contents. Table of Contents

Initial flashing instruction

MP01 Quick Start Guide

This procedure is for Asustek routers WL520gU, WL500w, WL500g, WL500gD (Deluxe), and Wl500gP (Premium) v1 and v2

CS 356 Lab #1: Basic LAN Setup & Packet capture/analysis using Ethereal

Configuring the network clients

User Guide NAS 3.0 Adapter (NAS30U2)

LevelOne Broadband Routers

Contents. Table of Contents

Innovative Electronics for a Changing World INDEX

Addonics T E C H N O L O G I E S. mini NAS. Model: NAS25HDU Key Features

Print Server. User s Manual. Rev. 01 (April, 2004) Made In Taiwan

Lab - Configure Wireless Router in Windows

Brother HL-5370DW Configuration

This procedure is for D-Link router DIR320

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

WF-2402 Quick Installation Guide

Contents. Platform Compatibility. New Features. Secure Remote Access SonicWALL SSL VPN 2.5 Early Field Trial (EFT) for SSL-VPN 200

SonicWALL SSL VPN 2.5 Early Field Trial

Dual-Band Wireless A + G Access Point. Network Layout

User Manual AMETEK Electronic Systems Protection, Inc. / Technical Support: / espei.com / UM-Remote-Portal-Rev-D

Kramer Electronics, Ltd. ETHERNET Configuration (FC-11) GUIDE

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

Managing Controller Software and Configurations

Conceptronic C100BRS4H Quick Installation Guide. Congratulations on the purchase of your Conceptronic 4-ports Broadband Router.

RoadRunner 24AP(i+) Recovering Tool Instructions

TROUBLESHOOTING : 1. Set up your wireless router via wired connection. 2. Please make sure your adapter is set to obtain IP automatically

Contents. LaFonera_Software_Client-Mode. You are here: DD-WRT wiki mainpage / LaFonera / Software / Client-Mode

Smart Control Center. User Guide. 350 East Plumeria Drive San Jose, CA USA. November v1.0

INDEX. Network Power Monitor R10 SNMP

User Manual Electronic Systems Protection, Inc. / Technical Support: / espei.com

IndustrialPro Routers (SN/RAM Series)

EN-2000 Quick Configuration Guide

IndustrialPro Routers (SN/RAM Series) Wireless Modems

**Note that this must be run from a PC on the same network segment as the NetBotz device, and the NetBotz device MUST be connected to the network.

4-Port Router. Share your broadband Internet connection. E Wired. Ethernet. Ethernet. User Manual. F5D5231-4_uk

Table of Contents. Page ii

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

Thank You for purchasing our firmware. This guide aims to guide you one step at a time to mod your Seagate Wireless Plus(W+)!

Shaw Business Hitron Modem (CGNM-2250) Configuration User Guide

Network USB over IP Server With 1-USB2.0 Port. User Manual V1.0

How to manually set up EW-7228APn to extender wireless range

EN-1000 Quick Configuration Guide

A Division of Cisco Systems, Inc. PrintServer for USB. with 4-Port Switch. User Guide WIRED PSUS4. Model No.

Chapter 1 Getting Started with Switch Management

User Manual HIGHPOWER TM TOUCH SCREEN WI-FI RANGE EXTENDER S1

Multi-Homing Broadband Router. User Manual

AirCruiser G Wireless Router GN-BR01G

EH-2101W. User Manual. Broadband Wireless Gateway. WiFi Compliant Wireless Access Point. Broadband Internet Access. 4-Port Switching Hub.

Multi-Function Wireless A/P Router User s Guide

Upgrading Software and Firmware

Connecting CoovaAP 1.x with RADIUSdesk - Basic

XL-NAS-400SA. User s Guide

User s Guide. Ethernet Module for Barcode Printer

Instructions for SimplicityTouch ST-700 Gen 3 TECHNICAL TRAINING GUIDE

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

INDEX. Network Power Monitor NPM-R10-SNMP. Innovative Electronics for a Changing World. NPM-R10-SNMP Remote Network Power Monitor

How to upgrade the firmware

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

K9 Series Firmware Update Guide

SoundStation IP Com. Administrators Guide NBX ADMINISTRATORS GUIDE

Network Controller 3500 Quick Start Guide

Deploy a Customer Site

Premiertek AP Mbps Wireless-N Broadband Router Quick Installation Guide

SonicWALL / Toshiba General Installation Guide

ELE409 SPRING2018 LAB0

Installation and Programming Manual

Downloaded from manuals search engine

B5021 Ethernet Base Supplemental User Guide

Static Ip Address No Internet Connection >>>CLICK HERE<<<

1. Conventions in this tutorial Introduction Check and change configuration settings as needed Start Digi ESP...

Innovative Electronics for a Changing World. NPM-R10 Remote Network Power Monitor. With optional relay board and GSM module INDEX

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

Broadband Router. User s Manual

N150 Wireless Router WNR1000 Setup Manual

A Division of Cisco Systems, Inc. GHz 2, g. Wireless-G. User Guide. Access Point WIRELESS WAP54G (EU/LA/UK) Model No.

Configuring the WT-4 for ftp (Ad-hoc Mode)

DSL-G624T. Wireless ADSL Router. If any of the above items is missing, please contact your reseller. This product can be set up using any

Thank You for purchasing our firmware. This guide aims to guide you one step at a time to mod your Seagate GoFlex Satellite(GFS)!

Congratulations on purchasing Hawking s HWPS12UG 1-Port Parallel + 2 USB Ports Wireless G Print Server. The Hawking HWPS12UG is a powerful and

802.11b/g Mesh Outdoor AP User Guide

CONFIGURING ROUTERS 1

Table of Contents. Keyspan:USB Server - User Manual

CirrusSense Router Quick Start Guide. Connect your router. Configure your router for internet access

Appliance Guide. Version 1.0

Recovering a NetComm Wireless M2M router via the recovery console. Technical Support Guide

User guide. ApplianX DPNSS-to-Q.SIG Gateway

Some reasons to repair your boot-loader might include installing Microsoft Windows after you have installed Ubuntu, adding or removing a hard drive.

Dominion PX Overview: Dominion PX refers to Raritan s family of intelligent power distribution units.

Linking the Moticam X2 to the wireless network (Wirelessly)

- 1 - Dominion PX Overview: Dominion PX refers to Raritan s family of intelligent power distribution units.

DI-704P Ethernet Broadband Router. Ethernet (Straight Through) Cable. 5V DC Power Adapter

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

User s Guide. High Power Wireless-N 600mW Gigabit Dual Band Repeater

Transcription:

For the Asus WL-500 series a few extra steps are available/needed when you do the initial flashing of your Asus WL-500 series router, compared to the general TFTP flash procedure. To avoid confusing the general TFTP flashing procedure of some other routers - which have fewer steps than for the Asus WL-500 series - this Asus specific TFTP Flashing page has been made. Contents 1 TFTP tools 1.1 Windows 1.2 Linux 1.3 Mac OS X 2 Commandline - Asus WL-500 series example 3 From Linux using ATFTP 4 How to Install DD-WRT onto an Asus WL-500W Using Ubuntu Linux 4.1 Download Files and Software 4.2 Set up Networking 4.3 Hard Reset 4.4 Clear NVRAM 4.5 Transfer wl500g-recover.trx 4.6 Transfer the Temporary Asus DD-WRT Firmware 5 Links TFTP tools With TFTP, all of the information about the transfer is specified during the initial command/setup; there is very little client/server interaction compared with standard FTP. Windows You can use a command line client, its quite easy really - or you can choose to use a GUI version. Different windows TFTP options are listed below. WinXP - Command Line TFTP: tftp client is enabled in the default installation of WinXP Vista/Win7 - Command Line TFTP: You need to enable it in Control Panel -> Programs and Features -> Windows Features -> check mark : TFTP Client Simple Windows GUI TFTP Utility: Windows GUI TFTP Utility (tftp2.exe) Contents 1

Quick user guide: - The Server/IP address is that of the router being flashed. Typically 192.168.1.1 - Leave the Password blank. - Navigate and select the firmware file you wish to flash. - Set retries to 10. No-nonsens open source TFTP tool, Tftpd32 includes TFTP client as well as DHCP, TFTP, SNTP and Syslog servers Free command line TFTP client utility for any Windows version Command is: tftp.exe -i -v 192.168.1.1 PUT dd-wrt.v24_mini_asus.trx Linux Ubuntu: install TFTP client with command sudo apt-get install tftp or install ATFTP, which supports autocompletion and history, with sudo aptitude install atftp Mac OS X OS X ships with a command-line TFTP client, and the commands listed for linux will work Commandline - Asus WL-500 series example These steps are the same for : WL-500g WL-500g Deluxe WL-500g Premium v1 & v2 WL-500W Windows 2

Requirements: connect PC and Router through wired connection! TFTP program File Pack which contains both the wl500g-clear-nvram.trx and wl500g-recover.trx file dd-wrt-v24_mini_asus.trx (file as shown on Supported Hardware - type wl5 to get the list) file dd-wrt-v24_mega_generic.bin (file as shown on Supported Hardware - type wl5 to get the list) Principle steps: a) set PC to static IP: 192.168.1.2 (guide) b) set router in recover-mode and load wl500g-clear-nvram.trx (note: to set recover mode, unplug power from router, wait 30 seconds, press and hold reset button, plug in power) c) set router in recover-mode and load wl500g-recover.trx d) set router in recover-mode and load dd-wrt-v24_mini_asus.trx file e) from with-in dd-wrt-mini web-gui load any suitable dd-wrt-v24_mega_generic.bin file shown on Supported Hardware list. Detailed step-by-step guide: Preparations Step 1: Copy the four files mentioned above to a folder on your pc. Could be c:\dd-wrt Step 2: Make sure you have a TFTP client available on you pc. Step 3: Connect your computer via Ethernet cable to a LAN port on the router Step 4: Set your PC to static IP 192.168.1.2 (guide) Step 5: Turn off the firewall on your PC - you need the TFTP program to be able to connect out through the firewall area to the router. Step 6: Open a command prompt window, and go to the folder with the four files. Command could be cd \dd-wrt Set router in recover-mode and upload wl500g-clear-nvram.trx Step 7: Unplug the power cord from the router Step 8: Wait 20 seconds Step 9: Press and hold the reset button on the back of the router - Note that the reset button is recessed and you need a pen or paper clip to press it in. The button protruding from the back is the EZ Setup, which is not what you want to press. Step 10: While holding the reset button, plug the power cord into the router. Continue to hold the reset button until the power light starts flashing. Let go of the reset button Step 11: Use tftp to transfer wl500g-clear-nvram.trx to the router. The commands are as follows: in Windows: Commandline - Asus WL-500 series example 3

tftp -i 192.168.1.1 put wl500g-clear-nvram.trx on a Linux pc: user@box:$ tftp 192.168.1.1 > mode binary > put wl500g-clear-nvram.trx Asus_TFTP_Flash Step 12: Tftp should report a successful file transfer in 7-15 seconds. This means the file is transfered to RAM. Step 13: Wait 5 minutes for the file to be stored to FlashRAM. Then unplug the power from the router. Saving from RAM to FlashRAM takes 2-3 minutes, but if you unplug the power from your router too soon, its likely that you will brick your router. So give it the 5 minutes before unplugging the power! Set router in recover-mode and load wl500g-recover.trx Step 14: Unplug the router, wait 20 seconds. Hold the reset button and plug the power cord into the router, continuing to hold the reset button until the power light flashes. Release the reset button. Step 15: Use tftp to transfer wl500g-recover.trx to the router. Same method as above, just change the file name. tftp -i 192.168.1.1 put wl500g-recover.trx Step 16: Wait 5 minutes after tftp reports a successful file transfer before unplugging the router. Set router in recover-mode and load dd-wrt-v24_mini_asus.trx file Step 17: Unplug the router, wait 20 seconds. Hold the reset button and plug the power cord into the router, continuing to hold the reset button until the power light flashes. Release the reset button. Step 18: Use tftp to transfer the DD-WRT firmware.trx file to the router. MAKE SURE YOU USE THE CORRECT FILE. It should be called something like dd-wrt.v**_asus.trx - Do not upload a.bin file yet. tftp -i 192.168.1.1 put dd-wrt-v24_mini_asus.trx Step 19: Wait 5 minutes after tftp reports a successful file transfer before unplugging the router. Unplug the power cord from the router, wait 20 seconds, and plug the power cord back into the router. Load any suitable dd-wrt-v24_mega_generic.bin file Step 20: From with-in DD-WRT Mini web-gui load the dd-wrt-v24_xxxx.bin file Open a web browser to 192.168.1.1 (set your preferred root user name and password) Click tab Administration -> Firmware Upgrade at "After flashing, reset to" select "Reset to Default settings" at "Please select a file to upgrade" point to the dd-wrt-v24_mega_generic.bin file Click Upgrade Commandline - Asus WL-500 series example 4

Sometimes Chrome seems to have troubles posting data using the web-gui, in such case the upload does not start at all and browser throws an error. Just switch to IE for a sec. Wait until the router reboots on it own. Recommended: DO NOT TOUCH YOUR COMPUTER UNTIL ROUTER HAS REBOOTED. And under NO circumstances move the web browser away from the upgrade process, or you could brick your router. This whole process takes five to ten minutes, so go get some coffee - or go kiss your girlfriend/wife. From Linux using ATFTP The procedure was devised by mixing the guide above, the details provided on the OpenWRT wiki entry about the WL-500G and the detailed page about the WL-500G's recovery mode. This entry could do with some more formatting too. You will need most of the files noted above, which can be found HERE and include wl500g-clear-nvram.trx and wl500g-recover.trx, and the DD-WRT files for this router: dd-wrt.v24_mini_asus.trx and dd-wrt.v24_std_generic.bin. Some of these steps are very probably unnecessary, but this is the procedure that worked for me so I am sharing it with you. We will use the tftp method, using atftp to connect (on a Debian based system, yes that's Ubuntu, you can simply use sudo aptitude install atftp). This probably works from Apple OS X as well, as the OpenWRT page states that its tftp works since OS X 10.5, but I have no way of knowing. Axx 00:59, 12 May 2009 (CEST) Reset router to factory defaults from the router's regular webinterface. Use arp to discover the router's MAC address: $ arp And set the MAC address to its IP address: $ arp -s 192.168.1.1 aa:bb:cc:dd:ee:ff Set the PC to have a static IP address of 192.168.1.10, subnet: 255.255.255.0 gateway: 192.168.1.1 primary dns: 192.168.1.1. Turn off your firewall, moblock etc. Enter the directory in which you saved all needed files, something like: /home/user/asuswl500g $ cd /home/user/asuswl500g Get your router in restore mode by unplugging it, waiting about 20 seconds, and holding down the reboot button WHILE you plug the power back in. The power LED will flash slowly indicating the router is in recovery mode. Start atftp: $ atftp 192.168.1.1 then do the following to set atftp in the right mode. tftp> mode octet tftp> timeout 1 From Linux using ATFTP 5

tftp> trace tftp> connect 192.168.1.1 'Now comes the tricky bit'. Do: tftp> get ASUSSPACELINKaaaa /dev/null yes/no: say yes and put (send) the wl500g-clear-nvram.trx file to clear the router's memory properly: tftp> put wl500g-clear-nvram.trx ASUSSPACELINK Atftp will acknowledge this by printing messages on screen such as sent DATA <block: 5246, size: 512> received ACK <block: 5246> sent DATA <block: 5247, size: 512> received ACK <block: 5247> sent DATA <block: 5248, size: 512> received ACK <block: 5248> and then going back to the prompt. Once the file transfer is done, wait 5 minutes for the file to be stored to FlashRAM. Then unplug the power from the router. Saving from RAM to FlashRAM takes 2-3 minutes, but if you unplug the power from your router too soon, its likely that you will brick your router. So give it the 5 minutes! I've read that when the power LED stops flashing the router has done its thing but better be safe, so just wait a bit more. Set the router in restore mode again (unplug, wait 20 seconds and plug back in while holding down reset button). Do the same thing in order to send the wl500g-recover.trx file: tftp> get ASUSSPACELINKaaaa /dev/null tftp> put wl500g-recover.trx ASUSSPACELINK Wait 5 minutes again. Unplug and get router back into restore mode, same way as previously. Send the dd-wrt.v24_mini_asus.trx file: tftp> get ASUSSPACELINKaaaa /dev/null tftp> put dd-wrt.v24_mini_asus.trx ASUSSPACELINK Wait 5 minutes again. Asus_TFTP_Flash This time, unplug, wait the usual 20 seconds and replug normally. Now, we upload a suitable dd-wrt-v24_xxxx.bin file from the webinterface Open your preferred web browser to 192.168.1.1 (set your root user name and password, make it hard to guess) Click tab Administration -> Firmware Upgrade at "After flashing, reset to" select "Reset to Default settings" From Linux using ATFTP 6

at "Please select a file to upgrade" point to the dd-wrt-v24_xxxx.bin file Click Upgrade Wait for the router to reboots on it own. Recommended: DO NOT TOUCH YOUR COMPUTER UNTIL ROUTER HAS REBOOTED. And under NO circumstances move the web browser away from the upgrade process, or you could brick your router. This whole process takes some five minutes, so go get some coffee, make some cupnoodles - or go kiss your girlfriend/wife/boyfriend/husband. It will come back on its own. Congrats, you've made it. :) How to Install DD-WRT onto an Asus WL-500W Using Ubuntu Linux This was tested using Ubuntu 8.04 (Hardy Heron) and DD-WRT v24sp1, and a brand new, off-the-shelf Asus WL-500W. You can do the same thing from other Linuxes, adopting as appropriate. You can presumably also do this from Windows, using a TFTP client (not tested). This is essentially the same as the Linux instructions under Asus WL-500G Deluxe. Note: Even if you have Windows or some other operating system installed, you can still use these instructions. Create an Ubuntu live-cd, boot up into the live-cd (which will make no permanent changes to your computer), and use these instructions. Download Files and Software First, install tftp: sudo apt-get install tftp Now, download the files you'll need: Utilities pack which includes wl500g-clear-nvram.trxand wl500g-recover.trx temporary Asus DD-WRT firmware, which must have asus.trx in the file name. For example, I used dd-wrt.v24_mini_asus.trx. Use the most recent version. final firmware image. For example, I used dd-wrt.v24_std_generic.bin. Use the most recent version. Also, print out a copy of these instructions, because you won't have access to the internet from here on out. Set up Networking Regardless of which os you use, or the method you use to set the IP address, these are the settings you need: set the (Static) IP address to 192.168.1.2 set subnet mask to 255.255.255.0 set gateway address to 192.168.1.1 How to Install DD-WRT onto an Asus WL-500W Using Ubuntu Linux 7

Use one of the following methods ("A" or "B"), depending on whether you are using Ubuntu 8.04 (Hardy) or a later version (Intrepid or Jaunty). A (For Ubuntu 8.04 Hardy): Turn off wireless networking. On Ubuntu, right-click on the networking icon in the upper right of the screen and uncheck "Enable Wireless." Set wired networking to a static address of 192.168.1.2. On Ubuntu, left-click on the networking icon in the upper right of the screen and choose "Manual Configuration." Click "Unlock" and enter your password. Click on "Wired Connection," then "Properties." Uncheck the "Enable roaming mode" box. Under "Configuration," choose "Static IP address." Set "IP address" to 192.168.1.2. Set "Subnet mask" to 255.255.255.0. Set "Gateway address" to 192.168.1.1. Connect an ethernet cable between the WL-500W and your computer. B (for Ubuntu 8.10 Intrepid or 9.04 Jaunty): Disable Networking in the GUI. On Ubuntu, right-click on the networking icon in the upper right of the screen and uncheck "Enable Networking." Set your wired networking to static address 192.168.1.2 with the following command, ensuring 'ethx' is replaced with the interface name of your wired network interface. sudo ifconfig ethx 192.168.1.2 netmask 255.255.255.0 up Connect an ethernet cable between the WL-500W and your computer. Hard Reset Do a Hard Reset as follows: Unplug the router's power cord. Wait 20 seconds. Using a paperclip or similar object, press and hold the "RESTORE" button on the back of the router While continuing to press the RESTORE button, plug the router back in. Wait until the power light on the front of the router starts flashing, then release the RESTORE button. Wait about 30 seconds, then confirm that you are now connected to the router: ping 192.168.1.1 You should see a series of lines something like this (the numbers will be different, of course): 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.752 ms Exit from ping by hitting <ctrl>c. Clear NVRAM Open a terminal window and cd to the directory where you downloaded the files. For example, if you saved to the Desktop: Set up Networking 8

cd Desktop Now use tftp to transfer wl500g-clear-nvram.trx to the router: tftp 192.168.1.1 tftp> mode binary tftp> put wl500g-clear-nvram.trx tftp should report a successful transfer in 10 seconds or so. Wait 2-3 minutes. Transfer wl500g-recover.trx Do a Hard Reset as described above, then confirm you are connected to the router using ping as described above. Now use tftp to transfer wl500g-recover.trx to the router: tftp 192.168.1.1 tftp> mode binary tftp> put wl500g-recover.trx Again, tftp should report a successful transfer in 10 seconds or so. Wait 2-3 minutes. Transfer the Temporary Asus DD-WRT Firmware Do a Hard Reset as described above, then confirm you are connected to the router using ping as described above. Now use tftp to transfer the temporary Asus DD-WRT firmware to the router: tftp 192.168.1.1 tftp> mode binary tftp> put dd-wrt.v24_mini_asus.trx Make sure you use the asus.trx file here, and not the bin file. Once again, tftp should report a successful transfer. Wait 2-3 minutes. Clear NVRAM 9

Links Asus_TFTP_Flash General TFTP flash description Links 10