Sunday, October 20, 2013

Flash a WHR-G300N V2 Japanese router with US firmware

Instructions below presume the router's address is 192.168.11.1 - I am no expert so follow this at your own risk! Be aware that by following these instructions  "Bricking", or rendering your router unusable, is possible!

 (A) Flash Router with Original Japanese Firmware. **

Flashing the router with DD-WRT alternative OpenSource firmware did not work well for me, so I first restored the router to the original Japanese firmware: (note:: I couldn't get this to work with Ubuntu's tftp so followed this guide http://dd-wrt.com/wiki/index.php/WHR-G300N_V2 except I used Parted Magic rescue disk's tftp with command # tftp -l whrg301n-182 -p 192.168.11.1).

**Note: Part (A) may not necessary if you haven't tried to install DD-WRT and have the original firmware installed.  It may not even be necessary if you have installed DD-WRT (I am not sure here, but to be sure I restored the original Japanese language firmware anyway).

 (B) To Change to US English Buffalo Firmware version:

  1. Boot computer with Linux rescue disk. I used Parted Magic.
  2. Download whr-g300nv2_fw182.zip from the Buffalo US site.
  3. Connect only your computer to the router via ethernet cable.
  4. Extract whrg300nv2-182 from zip file to a directory.
  5. Open browser (firefox) Note:: restart browser if you have been logged into router to clear normal login cache otherwise step (6) may not work. You will get a blank page saying ---- UNDER CONSTRUCTION ---
  6. Log in to http://192.168.11.1/cgi-bin/cgi?req=frm&frm=py-db/55debug.html 
  7. username: bufpy  
  8. password: otdpopy(addyourpasswordhere)
  9. In your browser click on telnetd link then the telnetd button [START] and from a terminal in your rescue disk telnet to the router:
    • #telnet 192.168.11.1 
    • #ubootenv set accept_open_rt_fmt=1 
    • #ubootenv set region=US (not sure if this is necessary)
  10. Log out of telnet.
    • #exit
  11. Unplug router, power cable and all ethernet cables. 
  12. Write down the number on the back of your router, which  will be an SSID number e.g. 106F4BCC5347.
  13. Open a terminal in the same directory as the unzipped US firmware file whrg300nv2-182 see step (4).
  14. In the terminal type:: 
    • # ifconfig eth0 192.168.11.2
    • # arp -s 192.168.11.1 10:6F:4B:CC:53:47 (note: not this actual number 10:6F:4B:CC:53:47 - it's made up see step (12) You must use your unique SSID).
    • # tftp -l whrg300nv2-182 -p 192.168.11.1 (you are now trying to upload the firmware file but you are not connected to the router yet: see next step!)
  15. Now quickly plug in the router power and ethernet cable that connects to your computer ( not in the blue wan port ) and tftp should now start uploading the firmware file to the router.
  16. Keep hitting the up arrow on your keyboard and Enter as you do this ( it may fail a few times ). (Note:: I couldn't get this to work with Ubuntu's tftp hence Parted Magic) .
  17. You should see a progress bar if successful. 
  18. The router should take several minutes to reset and when you log in again, you should see an English version of the firmware, once all has settled.  
  19. Note:: The only setting I couldn't recover was the Japanese ntp server (ntp1.jst.mfeed.ad.jp) so make a note of that address before doing this.

REFERENCES:


No comments:

Post a Comment