firmware not upgrading Buffalo whr-g300n v2

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
lch503
DD-WRT Novice


Joined: 13 Aug 2012
Posts: 14

PostPosted: Thu Sep 14, 2017 11:52    Post subject: firmware not upgrading Buffalo whr-g300n v2 Reply with quote
Hello,

I have been running dd-wrt on two separate Buffalo whr-g300n v2 for a couple of years in order to run hotspotsystem software.

Both run build 21676.

However, the build has not always been completely stable therefore I have been waiting for a suitable firmware replacement. Builds later than this seemed to have an issue whereby a WAN address could not be obtained therefore I downgraded back.

Recently I have tried again, but when I try a firmware upgrade, the firmware upgrade is said to be successful, however the build never does, and stays at 21676 after the router reboots. Note that this is through the admin user interface.

I have also attempted with tftp but with no success yet. I have seen guides but I would like to double check I am doing this correct (using Windows):

Reset the router to factory defaults
connect to router via lan port
set a static ip on the interface compatible with router factory defaults - 192.168.1.100, subnet 255.255.255.0 - still auto dns
set retries in tftp2 to > 10 - do I reboot router at this point or wait until it has completely booted?
set tftp2 ip to 192.168.1.1
press start / connect

If I am doing something wrong or if anyone has any suggestions it would be greatly appreciated.

Thanks,

Leon
Sponsor
lch503
DD-WRT Novice


Joined: 13 Aug 2012
Posts: 14

PostPosted: Thu Sep 14, 2017 14:55    Post subject: Update Reply with quote
Hello,

Using telnet I have managed to update to build 32170 so far, the newest builds are giving the following errors when the "write firmware.bin linux" is performed:

function stop_snmp not found
function stop_olsrd not found
function stop_openvpn not found
function stop_openvpnserver not found
function stop_freeradius not found
Image too big for partition: linux
linux: Invalid argument

I am going to continually update and report which firmware is the latest I can update to.

Leon
lch503
DD-WRT Novice


Joined: 13 Aug 2012
Posts: 14

PostPosted: Thu Sep 14, 2017 15:22    Post subject: update Reply with quote
The newest firmware without receiving the above error and the update not being performed is 32597 from 07/08/17.

Thanks,

Leon
khoanb1
DD-WRT Novice


Joined: 03 Sep 2017
Posts: 10

PostPosted: Sat Sep 16, 2017 7:56    Post subject: same error Reply with quote
Hi I have the same error with you, still exist at 7/8/2017 firmware.

Maybe we need to remove these stop commands from the update script
lch503
DD-WRT Novice


Joined: 13 Aug 2012
Posts: 14

PostPosted: Sat Sep 16, 2017 10:11    Post subject: Reply with quote
I have found that the 01 Jun 17 firmware is the newest whereby I can telnet into the router, download and install the firmware without any error. (and the hotspot still works as expected).
To be honest I am quite happy with the firmware for now, much better than running one from 4 years ago.
I am now getting myself into firewall rules at the moment. Wish me luck!
khoanb1
DD-WRT Novice


Joined: 03 Sep 2017
Posts: 10

PostPosted: Sat Sep 16, 2017 10:42    Post subject: Reply with quote
lch503 wrote:
I have found that the 01 Jun 17 firmware is the newest whereby I can telnet into the router, download and install the firmware without any error. (and the hotspot still works as expected).
To be honest I am quite happy with the firmware for now, much better than running one from 4 years ago.
I am now getting myself into firewall rules at the moment. Wish me luck!


The reason of failed upgrading firmware you can see in telnet session:

root@DD-WRT:/tmp# write whr-g300nv2-firmware-MULTI.bin linux
function stop_snmp not found
function stop_olsrd not found
function stop_openvpn not found
function stop_openvpnserver not found
function stop_freeradius not found
Image too big for partition: linux
linux: Invalid argument

It's because the very first firmware (buffalo-to-dd-wrt_webflash-MULTI.bin) you choose to upgrade from stock Buffalo firmware to dd-wrt has formatted linux partition with so small size and it was not enough for firmwares from July until now

root@DD-WRT:/tmp# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "RedBoot"
mtd1: 003a0000 00010000 "linux"
mtd2: 002d8000 00010000 "rootfs"
mtd3: ffffffffffff0000 00010000 "ddwrt"
mtd4: 00010000 00010000 "nvram"
mtd5: 00010000 00010000 "board_config"
mtd6: 00400000 00010000 "fullflash"
mtd7: 00040000 00010000 "fullboot"
mtd8: 00010000 00010000 "uboot-env"

Solution: go back to stock g300n firmware and after that go back to dd-wrt with latest buffalo-to-dd-wrt_webflash-MULTI.bin file (r33345) so that we will have new partitions stucture
lch503
DD-WRT Novice


Joined: 13 Aug 2012
Posts: 14

PostPosted: Sat Sep 16, 2017 12:12    Post subject: Reply with quote
Quote:

Solution: go back to stock g300n firmware and after that go back to dd-wrt with latest buffalo-to-dd-wrt_webflash-MULTI.bin file (r33345) so that we will have new partitions stucture


Thanks for the info. At least now we know how to upgrade in the future.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum