Saturday, October 03, 2009

Reflashing wireless router D-Link DIR-320 with Oleg's firmware

The procedure of reflashing Oleg's firmware on D-Link DIR-320:
  1. Getting the latest firmware from http://code.google.com/p/wl500g and rename it to firmware.bin.
  2. Save it to c:\bin
  3. In c:\bin create file flashing.cmd with the following content:
  4. @Echo Off
    :BEGIN
    ping -n 1 -w 1 192.168.0.1
    If errorlevel 1 Goto BEGIN
    If errorlevel 0 Goto FLASH
    Goto END

    :FLASH
    Echo *** Start Flashing ****
    tftp -i 192.168.0.1 put firmware.bin

    :END

  5. Connect computer to the router by an Ethernet cable with the following LAN setting: IP address 192.168.0.2, netmask 255.255.255.0, no need to write gateway and DNS. Do not power on the router.
  6. Run cmd, then change directory to c:\bin and run flashing.cmd
  7. Push and hold Reset while power on the router. When the LAN LED is blinking, you can release Reset button.
  8. Wait while the reflashing process is running.
  9. When the status LED is on (after 1--2 minutes), we need to reset router's default settings. Push and hold Reset button untill status LED starts blinking. Release Reset. The router restarts and will be ready with new firmware.
After reflashing you need to change computers' WLAN or/and LAN adapters settings to get IP address and DNS automatically. Open a web browser and type http://192.168.1.1 to login the router with username admin, password admin. You can change username, password and other setting in this web browser interface.

Bash script for Linux users (instead of flashing.cmd):

#!/bin/bash
ping_router() {
result=1
until [[ "$result" = 0 ]]
do
ping -c 1 -W 1 -i 1 192.168.0.1
result=$?
done
}

ping_router

echo "*** Start Flashing **** "
tftp 192.168.0.1 -m binary -c put ./firmware.bin
if [[ "$?" = 0 ]]
then echo "Firmware successfully loaded!";
fi

13 comments:

Leo said...

If I am using DD-WRT, is possible to update to OLEG using web interface ? Or I still need to use tftp ?

Phan Vinh Thinh said...

Hi Lucas,
Sorry that I can't not say what the extract answer is. One thing I know is further Oleg firmware update can be done by web interface.

Anonymous said...

Yes it is possible if you change the extension name to .bin

Wireless Headsets said...

Bluetooth Headset, this is amazing headset made the plantronics, simple and best performance in a very short budget, excellent voice, no distortion, no noise.

Rifcraft said...

thank you verymuch for the lastest firmware,
i need to Reflashing my wireless router D-Link DIR-320 . very usefull...

247Tech Aid said...

Dial D-Link Technical support phone number to get Instant support: 1800-857-2133,D-Link is a Japan based international IT firm which deals in bringing out the technical device.. It is popular for n manufacturing and designing of advanced Router for the purpose of and offices both. Using D-Link Router, you will get the best output for all your doings like Picture or Image scanning, documents scanning and superior quality of scanning.CALL NOW D-Link Router Support Phone Number for USA & CA customers: 1800-857-2133 to get the assistance of standard quality in handling all your issues!.


http://www.247techaid.com/services/router-technical-support/1-800-857-2133-dlink-router-technical-global-support-service-helpline-number/

Unknown said...

Thanks for this wonderful article. I enjoyed reading your article. Well, if someone is looking to buy a wireless router then I'd love to suggest this list of wireless routers. You will find the best collection of wireless routers on this link. You will surely find the right choice of your needs. You should pay a visit once to know more about wireless routers.

Unknown said...

Thank you for sharing this informative blog about D-link I’m really happy to found this, I always need this type of blog to get updated information for D-link Router. For any technical issue resolution visit the website D-link Router Contact Number UK or Call 0800-090-3220.

Technical Support said...

Nice blog for D-link. D-link Router is one of the best routers for the internet services. There have many features to the user’s for experience best service of D-link Router.

Technician Support said...

D-link router is used worldwide for sharing data and information over network. Secure your D-Link router from any unauthorized access or person. Contact gnitenterprises.com and connect with their expert technicians via phone, live chat or secured remote access. Call D- Link Support Number +1-877-717-0727.

Daisy Jones said...

Looking for dlink-router call on 1800987893 , visit on: dlink-router

Alen Smith said...

Nice Blog Post thanks for sharing it.
D-link Support Number Australia

anandh dev said...

D-Link AC Adapter in UAE, Dual‑Band Nano Adapter in UAE, USB Adapter in UAE
https://gccgamers.com/d-link-ac.html
D-Link AC Adapter in UAE, Safe Shopping Multiple Payment Options Express Delivery GCC Gamers Moneyback Guarantee.
1633066275440-7