Page 1 of 1

Help with storage free space @ NETGEAR WNDR4300

Posted: Sun Apr 28, 2019 9:42 pm
by CBx86
Hey Guys!

In installing dnscrypt-proxy v2, tried to copy dnscrypt-proxy to /usr/sbin

Code: Select all

9.2M Apr 28 18:36 dnscrypt-proxy
(ok is a big file)

And i dont have free space? o.O

Code: Select all

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 9.5M      9.5M         0 100% /rom
tmpfs                    61.0M    140.0K     60.8M   0% /tmp
/dev/ubi0_1               7.3M      1.7M      5.2M  24% /overlay
overlayfs:/overlay        7.3M      1.7M      5.2M  24% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sda1                 1.4G     20.6M      1.3G   2% /tmp/usb_mount/xxxxxxxx-01
/dev/sda1                 1.4G     20.6M      1.3G   2% /tmp/share_home/cb/share_1
So i noticed, i truly dont have space. O.o
I remove tor, usb print, usb cam modules. Nothing.

This is right?

1.11.X (Built 20190413-2151 git@29b57d66) @ NETGEAR WNDR4300 v1
Flash: 128 MiB NAND
Ram: 128 MiB

Many Thanks!

Re: Help with storage free space @ NETGEAR WNDR4300

Posted: Mon Apr 29, 2019 12:48 am
by Lantis
You can’t “remove” built in packages.
Without going into too technical of an explanation, when you “remove” them the OS marks them as “removed”, but they still exist and still take up space, which is why you didn’t get any extra space by doing so.
Dnscrypt is huge and for your router it looks like you’ll need to use an external USB stick.
It looks like you already have something plugged in which you could perhaps repartition to use part of it.
Partitions must be EXT4 to be valid plugin roots.

Your 128MB of flash memory are partitioned in a particular way to maintain compatibility with the OEM firmware (makes recovery easier).
The OEM firmware only leaves about 15MB of space for the firmware, and wastes 96MB for who knows what reason.
Openwrt makes it closer to 25MB.
https://openwrt.org/toh/netgear/wndr4300#flash_layout

Re: Help with storage free space @ NETGEAR WNDR4300

Posted: Mon Apr 29, 2019 12:25 pm
by CBx86
Yeap! Im using a ext4 to do my things!

Many Thanks! Have a good week. :D