#show logging flash
2015-06-29 12:08:30 err ah_cli: write configuration failed!: No such file or directory
any ideas? Is this AP broken?
You can do this by holding the reset button in or entering the following command at the CLI:
Which version of HiveOS are you using on the AP?
I believe that you are trying to use a command not available on that platform, if I recall correctly that generation of device did not support dual images. What results do you get from a simple "save config running"?
To me, prima facie, this didn't seem to be anything to do with the software image - it's configuration. I don't think therefore that the AP121s/AP141s only having a single HiveOS image stored is likely to be related.
Having just tested on my test AP121, the following three commands completed without such an error being recorded:
AH-af0700#save config running currentI do suggest that you try factory resetting the device to see if this makes a difference. If it doesn't, I would have thought that some jiggery pokery via the bootloader may have to be in order.
AH-af0700#save config running bootstrap AH-af0700#show logging flash | include "write configuration failed"
IF you have a serial console cable that you can use with the AP
IF you feel comfortable doing this
Follow the instructions here:
With one change, in the bootloader, first use the format_flash_fs command:
ar7240> format_flash_fsThen follow the instructions as per the link with an accessible TFTP server:
NAND erase: device 0 offset 0x4400000, size 0x3c00000
(You'll need AP121-141-6.4r1d.img.S which you can download from https://support.aerohive.com/secur/download_page)
ar7240> set_bootparam Change boot parameter, ENTER to skip the item
Device IP : [0.0.0.0] 192.168.1.99
Netmask : [0.0.0.0] 255.255.255.0
TFTP Server IP : [0.0.0.0] 192.168.1.112
Gateway IP : [0.0.0.0] 192.168.1.1
VLAN ID : 
NVLAN ID : 
Boot File :  AP121-141-6.4r1d.img.S
Netboot after flashboot failed [1 for yes, 0 for no] : 
Netdump after crash [1 for yes, 0 for no]: 
Are you sure to save? [Y/N] y
chip #0: First 0xa last 0xa sector size 0x10000 10
Resetting...checking for the az feature of 8035...
Disabling 802.3az feature...
current reprogram_nand is 4e4f5250
chip #0: First 0xa last 0xa sector size 0x10000