wiki:OpenWrtWindowsInstallation
Last modified 8 years ago Last modified on 02/11/11 15:06:45

Windows open WRT installation guidance for Asus WL-500gp

  • download firmware

The firmware file is available under openwrt-backfire-brcm47xx-asus-jffs2-aprs4r-1.0.4.trx (use the right mouse button and “save as…”) to download to your PC.

  • configure the 10/100 network interface of your PC to a fixed IP address of 192.168.1.5.
  • connect the PC LAN socket to LAN1 (one of network ports) on the router.

  • Press the Restore button (the recessed black button on the back) on the router and turn on the router (connect the power).

If everything is connected correctly the LED for the LAN1 interface and the power LED flash in tandem. You can now ping the router to make sure that everything is connected correctly and that the router network is available.

ping -t -w 10 192.168.1.1

  • transfer the firmware file using tftp

tftp -i 192.168.1.1 PUT openwrt-backfire-brcm47xx-asus-jffs2-aprs4r-1.0.4.trx

Whilst the firmware file is being transferred the LAN interface LED will flicker but the power LED stops flashing (i.e. it is solidly on or off).

  • You must wait 5-6 minutes; go grab a coffee or a beer!

If you restart the router before the 6 minutes has elapsed, there is a chance that the firmware will not have loaded properly. In this situation you have "bricked" your router. It is dead, it has ceased to be. There is nothing more you can do to save it. Be patient!

The best way to make sure that the 6 minutes has elapsed is by unsung the TFTP programme time - there is no substitute for a clock.

  • restart the router (disconnect the power pack, wait 5 seconds and plug it back in) then wait another 30 seconds for the router to boot.
  • connect to the router using Putty (via a fixed IP address 192.168.1.1 on the LAN port). Note: Select "telnet” when starting Putty.

You should get the following screen:

  Trying 192.168.1.1…
  Connected ton of 192.168.1.1.
  Escape character is “^]”.
   === IMPORTANT ============================
     Use “passwd” ton set your login passwords
     this disable telnet and wants enable SSH
   -----------------------------------------


  BusyBox v1.4.2 (2007-10-13 00:46: 32 CEST) Built in shell (ash)
  Enter “help” for A cunning OF built in COMMANDs.

    _____                     ______        
   |       |. ----. ----. ----. |  |  |  |. ---. |  |_
   |   -   ||  _  |  - |     ||  |  |  ||   _||   _|
   |_____||   |___||||______|||  |__|
            || W I R E L E S S   F R E E D O M
   KAMIKAZE (7.09) ----------------------------------
    * 10 oz Vodka       Shake wave with ice and strain
    * 10 oz tripolarize second  mixture into 10 SHOT of glasses.
    * 10 oz lime juice  Salute!
   --------------------------------------------------
  root@OpenWrt: /# 
  • set root password

Use the passwd command to set root account password. You will need this password in the future to if you want to access the router by SSH. Once the password is set you can't get back in using telnet so make sure you keep an note of it. Many people write the password on the router itself to be safe!

To change the password:

  root@OpenWrt: /# passwd
  Changing password for roots
  New passwords:
  Bath password: too weak
  Retype password:
  Password for roots changed by roots
  root@OpenWrt: /# 

As you can see, the passwd program suggested that the selected password was too weak, even though it ultimately accepted it. It would be better to use a stronger password.

  • connect your router to the internet

Once the root password is set, the WAN interface (individual network interface on the back) can be connected with the local area network (DSL and/or WLAN routing). If the router is attached to the local area network by DHCP, the router will get an IP address from the existing DSL or WLAN source. (Be sure that the internet modem or router has DHCP activated.)

You can test whether the DHCP has been successful and whether the router is connecting to the Internet by pinging a known address:

  root@OpenWrt: ~# ping - C 5 www.web.de
  PING www.web.de (217.72.195.42): 56 DATA bytes
  64 bytes from 217.72.195.42: icmp_seq=0 ttl=51 time=12.1 ms
  64 bytes from 217.72.195.42: icmp_seq=1 ttl=51 time=12.9 ms
  64 bytes from 217.72.195.42: icmp_seq=2 ttl=51 time=11.9 ms
  64 bytes from 217.72.195.42: icmp_seq=3 ttl=51 time=11.9 ms
  64 bytes from 217.72.195.42: icmp_seq=4 ttl=51 time=11.8 ms

  -- www.web.de ping statistics --
  5 packets transmitted, 5 packets received, 0% pack loss
  round trip min/avg/max = 11.8/12.1/12.9 ms
  • Congratulations, open WRT is now installed and operational via WLAN routing.

In order to be able to access the APRS4R- web interface, you must login in. There is a default account "aprs4r" which has the password "aprs4r" to get you started. The password can be changed on the Web interface.

Attachments