Build image for devices with only 16/32MB RAM

If your device has 16MB or less of RAM, then it should only be used as Internal AP (e.g. to extend Wi-Fi coverage).

Example image builder command line
Note: In the command line shown below, you need to adjust PROFILE=tl-wr941nd-v6 to your device.

RAM Action Imagebuilder commandline
16MB - remove pppoe and IPv6
- remove all related elements to iptables
- remove dhcp servers
+ add LUCI
+ add zram-swap
- remove opkg - not needed after making these adjustments
make image PROFILE=tl-wr941nd-v6 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap zram-swap -ppp -ppp-mod-pppoe -iptables -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -odhcpd -opkg"
32MB - remove pppoe and IPv6
+ add LUCI
+ add zram-swap
- remove opkg - not needed after making these adjustments
make image PROFILE=tl-wr941nd-v6 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap zram-swap -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -opkg"

Resources:

  • Last modified: 2022/11/07 10:44
  • by tmomas