Running out of space on hAP ac2

In case of the ac2 it could even have been an option to install a USB stick that can offload part of the storage requirement…

That’s the point. Many of MTs recent wifi AX products focus on SOHO.

Maybe basic routing stuff should remain like Filters, Nexthops, RouterID, Rules, Settings and Tables but other parts as part of extended routing optional package and also Dot1X and RADIUS can be optional.

Hi! I hope someone from MT is aware of this issue. I´d like to add, that my WAPac (ARM Version, RBwAPG-5HacD2HnD, r3) is also affected.
After upgrading to 7.14b4 516 KiB are left from 15.3MB.
Only routeros and wifi-qcom-ac are installed. Everything is working until now, but I don´t know for how long…

I had to remain on legacy wireless package to have container package because it not fit with wifi-qcom-ac and my config.

None of routing stuff should remain in basic package, none are used by vast majority of SOHO users (who are primary users of infamous 16MB flash ARM wifi devices). And that includes dot1x, radius and any other (mostly) corporate stuff.

IMO running containers on 128MB RAM devices with wireless (hAP ac2, cAP ac, etc. nominally have 128MB RAM) is silly.

Such exercises look just like those photographs from 3rd world showing guys transporting mountains of goods on a moped. Yes, somehow some manage to fo it, but nobody in their right minds are requesting from moped producers to officially support that.

I’m running containers on Chateau LTE12 which has 256MB RAM size but just 16MB flash, have no problem with RAM while containers are running, constantly 2 are running as DNS service (Pi-hole and Unbound - recursive) and periodically starting some others, so far RAM is not issue but flash is.

Afaik for basic routing setup you don’t need additional tools on linux so there is no extra space to gain by just removing options. Maybe better to separate VPNs into separate packages and then let users to decide which will install for their needs. Also some supporting drivers for devices that are not part of MT hardware can be also optional packages, like external LTE modems support as bundle package, etc…

I do hav PIhole/unbound running off pi which is plugged directly into ethernet port.

what’s your experience like with running containers on Chateau (owner of same device here… :slight_smile: ) ?

Positive after some ROS version upgrades, at beginning was troubles due to some bugs related to containers.
I had to tweak configurations to have small RAM usage, on Pi-hole DNS cache is disabled since it’s upstream is Unbound which owns cache and Unbound is tweaked for RAM and cores usage. Containers config has ram-high=80M and it’s enough for me.
DNS performance mostly depends on network quality here (which over LTE isn’t always best).

There is a solution without cutting features. I own hAP ac2 and out of curiosity I looked at drivers section of ARM RouterOS. There is for example prestera_dx_max.ko file taking 687 KB of space. Then quectel_mhi.ko of 148 KB. These drivers are not needed for hAP ac2. How about making a list of drivers (files?) not needed for each device. Then during install procedure, installer using this list, would not install unnecessary files onto “precious” 15.3 MB flash. I’m not sure how simple that would be as the npk file is compressed and it would need to be repacked in RAM before install. Also space savings would be less than 687+148 KB due to compression. But probably more than these two files are unnecessary for hAP ac2, so maybe it would do the job.
Another solution would be allowing to install optional packages onto (encrypted?) partition on USB drive. Moving wifi-qcom-ac there would save almost 3 MB.

The issue probably is that .npk packages are mostly a read-only compressed filesystem that is copied to the flash in its entirety and then are mounted at runtime (with the appropriate code to de-compress files on access).
So, it is not a simple matter of “during installation see which drivers are required and delete the remainder”, as there is no support to delete files in the compressed filesystem.
If a .npk would be just like a .deb or .rpm (a compressed archive that is being unpacked during install) it would be easy.

Some drivers are shared by a lot of things, there is no separate driver for each chip or device. One big driver.

Firmware is per chipset. :wink:

It isn’t

Whatever is the situation, something has to be done. Denying the problem no longer works.

Our team of experts is working on this issue at this very moment. As to “why”, many products were designed years ago, but only are released now. When designing devices with 16MB SPI chips, at that moment there was no issue yet. Today we are designing devices with more storage, but they will reach customers after “some time” as you can imagine.

Don’t tell us you were not aware, and were not warned, about possible space issues on 16MB flash devices!
It was discussed on the forum from the time those were released. Remember the original MikroTik products usually had 64MB or 128MB flash.

Thanks for the update. I know it’s not an easy problem to “just fix”. But the 16MB problem has been on a slow simmer for “some time” :wink:.

I do not understand. What else?

Quick question,

I recently noticed severe internet problems at home (using a hAP AC2).
It’s very slow, connection drops often, and basically unusable.

I thought it’s the cable modem, but a direct connection is fine.
I then found out that there is almost no disk space left:

free-hdd-space: 952.0KiB
total-hdd-space: 15.2MiB

Could this cause these kinds of problems?
I have not found any other problems in the config.
I’ve attached it if anyone wants to have a look.

If it’s really caused by the lack of memory, I’ll replace it…

Thanks for your help!
myconfig.rsc (9.09 KB)