Opkg to ram - how to?


#1

Firstly, sorry for my bad english.
I'm newbie on linux world.
I was created this question: Can i install to Air5343?
so i understand my modem may be didnt work.

When i investing the solution i found this blog: https://blog.mythic-beasts.com/2018/11/23/openwrt-install-to-ram-run-iftop-on-a-router-with-very-limited-flash/

But i could not find, how can i install to opgk and openwrt packages install to /tmp directory.
Is it possible? How can i do it?


#2

try editing /etc/opkg.conf and change option overlay_root /overlay to option overlay_root /tmp
and then install your desired package as opkg install [package] -d ram


#3

https://openwrt.org/docs/guide-user/additional-software/opkg#non-standard_installation_destinations