This device is NOT RECOMMENDED for future use with OpenWrt due to low flash/ram.
DO NOT BUY DEVICES WITH 4MB FLASH / 32MB RAM if you intend to flash an up-to-date and secure OpenWrt version (18.06 or later) onto it! See 4/32 warning for details.
1) This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
This means that even setting a password or changing simple network settings might not be possible any more, rendering the device effectively useless. See OpenWrt on 4/32 devices what you can do now.
2) OpenWrt support for this device will end after 2019.
19.07 will be the last official build for 4/32 devices. After 19.07, no further OpenWrt images will be built for 4/32 devices. See OpenWrt on 4/32 devices what you can do now.
Model | Version | SoC | CPU MHz | Flash MB | RAM MB | WLAN Hardware | WLAN2.4 | WLAN5.0 | 100M ports | Gbit ports | Modem | USB |
---|---|---|---|---|---|---|---|---|---|---|---|---|
WHR-HP-G300N | v1 | Atheros AR7240 | 400 | 4 | 32 | Atheros AR9283 | b/g/n | - | 5 | - | - | - |
To perform a TFTP recovery on this model:
192.168.11.2
192.168.11.1
to aa:bb:cc:dd:ee:ff
(it doesn't seem to matter what mac address you use as long as you set it statically)The TFTP images will be under the “ar71xx” branch rather than the “atheros” branch, e.g. https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-whr-hp-g300n-squashfs-tftp.bin
Set your ethernet interface ip on 192.168.11.2
Set your ethernet interface netmask on 255.255.255.0
Add arp entry for 192.168.11.1 when the ethernet interface is up
sudo arp -s 192.168.11.1 aa:bb:cc:dd:ee:ff
Download the tftp version of the right firmware Change the directory of your prompt to the firmware download directory cd /Users/yourname/Downloads/
Send your firware image with tftp
tftp
*from this point, you're under tftp command prompt, the “tftp>” is the prompt tftp gives you, you just need to type the command AFTER that.
tftp> connect 192.168.11.1
tftp> verbose
tftp> binary
tftp> trace
tftp> rexmt 1
tftp> timeout 60
Power on your router on and plug your ethernet on a LAN port
Send the command put until is success
tftp> put linux.bin
putting linux.bin to 192.168.11.1:linux.bin [octet]
sent WRQ <file=linux.bin, mode=octet>
tftp: sendto: Can't assign requested address
tftp> put linux.bin
putting linux.bin to 192.168.11.1:linux.bin [octet]
sent WRQ <file=linux.bin, mode=octet>
sent WRQ <file=linux.bin, mode=octet>
sent WRQ <file=linux.bin, mode=octet>
sent WRQ <file=linux.bin, mode=octet>
sent WRQ <file=linux.bin, mode=octet>
sent WRQ <file=linux.bin, mode=octet>
sent WRQ <file=linux.bin, mode=octet>
received ACK <block=0>
sent DATA <block=1, 512 bytes>
received ACK <block=1>
sent DATA <block=2, 512 bytes>
received ACK <block=2>
sent DATA <block=3, 512 bytes>
received ACK <block=3>
sent DATA <block=4, 512 bytes>
received ACK <block=4>
sent DATA <block=5, 512 bytes>
received ACK <block=5>
sent DATA <block=6, 512 bytes>
sent DATA <block=5633, 36 bytes>
received ACK <block=5633>
Sent 2883620 bytes in 8.0 seconds [2883620 bits/sec]
Wait and see ! ( at lease 10 min )
The ROUTER light will flash and stop !
Reboot and Enjoy
My device a WHR-HP-G300N-EU Would *not* work via TFTP, AFTP, CURL or anything and was reluctant to get the soldering iron to a new device.
Download the firmware http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-whr-hp-g300n-squashfs-factory.bin
With a web browser navigate to 192.168.11.1, select the Administration tab, Firmware tab, choose the file and click “Upgrade”
Voila
Note (Feb 2015)
- install of dd-wrt-buffalo-to-ddwrt via tftp or from buffalo interface works. Then, however, dd-wrt didn't accept (anymore?) any of the Barrier Breaker 14.07 versions (openwrt-ar71xx-generic-whr-hp-g300n-*
). ( Updated Sep 2015 ) DD-WRT web interface can be used to upgrade to the Chaos Calmer 15.05 release (openwrt-15.05-ar71xx-generic-whr-hp-g300n-squashfs-factory.bin
)
- so after reinstalling the buffalo factory fw via tftp (actually, Japanese version, as it doesn't accept the US version and was purchased in Japan) and then could, from the interface, upgrade to openwrt-ar71xx-generic-whr-hp-g300n-squashfs-factory.bin
(nothing happens during the upgrade [WAN lamp fixed] so waited 5 mn … then removed the cable … Actually was OK. However, just in case, did, from OpenWrt interface, an upgrade to the sysupgrade
bin to have something clean for sure).
Works very well!
WHR-HP-G300N and WHR-HP-GN seem to share the same hardware.