TP-WR902ACv4 install of packages failed

Hi,
I have managed to install the factory-image of the WR902ACv3 to the WR902ACv4-device.

Now I wanted to install some packages, e.g. "vim".

I get the message:

opkg find vim
vim - 9.0-1 - Vim is an almost compatible version of the UNIX editor Vi.
 (Tiny build)
root@F42240GW:~# opkg install vim
Installing vim (9.0-1) to root...
Collected errors:
 * verify_pkg_installable: Only have 372kb available on filesystem /overlay, pkg vim needs 434
 * opkg_install_cmd: Cannot install package vim.

My fs looks like this:

df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 3840      3840         0 100% /rom
tmpfs                    28624      1024     27600   4% /tmp
/dev/mtdblock4            1856      1484       372  80% /overlay
overlayfs:/overlay        1856      1484       372  80% /
tmpfs                      512         0       512   0% /dev

I am not an expert on this. root looks small and tmpfs looks much bigger. Is there anything I can do?

Sysupgrade to same version to clear out "packages" you installed. There is not much flexibility with 8MB flash. Most valuable packages are auc (pack upgrades to squashfs) and zram-swap (add 50% of ram sized compressed swap) if anything.

tmpfs is RAM.

buy a new device ...

https://openwrt.org/supported_devices/864_warning

I was now able to boot the device on a clean openwrt factory-image (of v3).
I then tried to recover the settings from my backup. I do have several backups on various stages of the configuration. So I tried the very early config-backup.

The device goes into boot loop.

I now will try to boot from the clean image and do all configurations from scratch.

since I only need it for guest wlan (in my home) - is there a recommendation for a small and low cost device for that?

sure, but if you skip vim, you'll be just fine :stuck_out_tongue:

depends on your definition of low cost :slight_smile:
https://openwrt.org/inbox/toh/d-link/dap-x1860 have been as low as 20€,

1 Like

If you only need it for guest wireless why do you need to install something like vim?