Small client has a hAP ac2 acting as their main router and three cAP ac access points controlled via CAPsMAN. Works fine - as only four devices, I’ve tended to do the updates manually but wondered if I could use the CAPsMAN upgrade policy. However, the hAP ac2 flash is only 16MB with 0.9MB free (aside, what is using up the 15.1MB on flash?). Could I add a USB pen drive and put the NPK update files on there? Not on site, so can’t check myself.
AFAIK root directory in Files is mounted in RAM for devices with 16MB flash drive, only flash directory is mounted on flash drive, so anything placed in root (or in other subdir except flash) will not be stored on flash drive and it will not be persisted after reboot (except if subdir is mount point of some external storage). NPKs can be placed in root even it is RAM storage and it will be used for upgrade on reboot.
Regarding topic question - can be NPK stored in USB used for upgrade: I think not, unless NPKs are moved to root before reboot, but when placed in root which is mounted in RAM it will not consume flash storage.
capsman settings have:
package-path (string |; Default: )
you can set a mounted USB path here
Thanks - will take a spare USB pen drive with me next time I visit.
If your hap ac2 has the same packages installed as these cap ac. Either routeros+wifi-qcom-ac or routeros+wireless: in this case you do not need to store any additional packages anywhere. You just set upgrade-policy=suggest-same-version and you're done. Capsman device can use and push any package it has installed itself to caps. Architecture must match as well. Only in case your capsman has not all packages the caps need installed itself and/or architecture is different: then you can use the package-path and place appropriate npk files.