Help with storage free space @ NETGEAR WNDR4300

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
User avatar
CBx86
Posts: 157
Joined: Sun Jan 05, 2014 5:43 pm
Location: Brazil

Help with storage free space @ NETGEAR WNDR4300

Post 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!

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Help with storage free space @ NETGEAR WNDR4300

Post 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
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

User avatar
CBx86
Posts: 157
Joined: Sun Jan 05, 2014 5:43 pm
Location: Brazil

Re: Help with storage free space @ NETGEAR WNDR4300

Post by CBx86 »

Yeap! Im using a ext4 to do my things!

Many Thanks! Have a good week. :D

Post Reply