Disk space on TPLINK MR6400 v4

Hello everybody
I installed OpenWrt 21.02.3 on my TP-Link TL-MR6400 v4.
free disk space is 2.4M , i need install modemmanager to start LTE module, but it's 2.7M
How can i install it ?
Thanks

You can't, it's as easy as that.

Using imagebuilder might (will) gain a better compression ratio, but even if that would be sufficient it will be uncomfortably tight (especially with an outlook into the future. Extroot would technically work, although I wouldn't quite rec9mmend that either.

1 Like

The image builder also allows you to remove packages, so you could play with that (e.g. if you don't need PPP, those packages are space hogs). Quick win.

I'd recommend trying the latest 22.03 RC, to see where you end up, space-wise. Will be tight though, looks like your device has 8 MiB flash?

3 Likes

Hi
You can try to use QMI and update with my modified version of uqmi, https://github.com/mrhaav/openwrt/tree/master/21.02.3
Install luci-proto-qmi and then download / install:

wget https://github.com/mrhaav/openwrt/raw/master/21.02.3/uqmi_2022-05-16-0.5_mipsel_24kc.ipk
opkg install uqmi_2022-05-16-0.5_mipsel_24kc.ipk
1 Like

I try orginal image, df result :

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 5.0M      5.0M         0 100% /rom
tmpfs                    28.4M    100.0K     28.3M   0% /tmp
/dev/mtdblock4          640.0K    220.0K    420.0K  34% /overlay
overlayfs:/overlay      640.0K    220.0K    420.0K  34% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~#

try custom image ( openwrt-tplink-tl-mr6400-v4/readme.md at master · gamwe6/openwrt-tplink-tl-mr6400-v4 (github.com))

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.8M      2.8M         0 100% /rom
tmpfs                    28.6M     68.0K     28.6M   0% /tmp
tmpfs                    28.6M     40.0K     28.6M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock4            3.1M    284.0K      2.8M   9% /overlay
overlayfs:/overlay        3.1M    284.0K      2.8M   9% /

my flash size is 32M ? why 28M for tmpfs ? it's normal ?

Tmpfs is half of your RAM. So 64/2 = 32.

Your flash is 8 MiB, and of that you wil 'lose' a good part to radio calibration data and whatnot. Look at it as if you were installing an operating system: you may have a 500 GB disk, but after formatting and installing Windows you won't have 500 GB free space :slightly_smiling_face: .

2 Likes

Thanks,
I try your package
result:
Error: Setting PLMN failed

Hi
Can you paste syslog with the setup of your LTE modem and your LTE configuaration?