Entware Packages

Install Entware on Merlin, use opkg, auto-start packages, and fix common package lookup problems.

Published October 6, 2024 · Updated May 8, 2026

Entware Packages

Entware gives the router access to a large package ecosystem. It is the embedded-device package repository Merlin documents for adding software that does not ship with the firmware, and it uses opkg as its package manager.12

Install Entware

Merlin's supported path is to install Entware from amtm over SSH, with the package tree mounted on a USB disk that uses a native Linux filesystem such as ext2/ext3/ext4.2

ssh admin@192.168.1.1
amtm
# Select: fd  (optional, format the USB disk if needed)
# Select: ep  (Install Entware)

Do not keep ASUS DownloadMaster installed alongside Entware. Merlin's Entware docs call that combination unsupported because DownloadMaster is Optware-based.2

Common Commands

opkg update
opkg list 'nginx*'
opkg info nginx
opkg install openssh-server
opkg list-installed
opkg remove openssh-server

Useful Packages

opkg install htop
opkg install nethogs
opkg install openssh-server openssh-sftp-server
opkg install tailscale
opkg install nginx
opkg install minidlna
opkg install rsync
opkg install nmap

Service Startup And Boot

Most daemon-style Entware packages expose init scripts under /opt/etc/init.d/. Start and stop a package through its own S* script, and let Entware's rc.unslung boot chain handle normal startup instead of hardcoding one package into Merlin's services-start unless you truly need custom ordering.13

ls /opt/etc/init.d
 
# Replace S50nginx with the init script your package actually ships
/opt/etc/init.d/S50nginx start
/opt/etc/init.d/S50nginx stop

Troubleshooting Package Installs

opkg update
opkg --version
df -h /opt
mount | grep ' /opt '
 
# If Entware is not installed or /opt is missing:
amtm

If /opt is not mounted from the USB disk, fix storage first. Entware expects a writable /opt and a boot-time rc.unslung launch path.123

Footnotes

  1. Entware is the software repository for embedded devices, uses the opkg package manager, and expects a mechanism that automatically runs /opt/etc/init.d/rc.unslung start at boot: Entware Wiki Home. 2 3

  2. Merlin's Entware documentation says to install over SSH via amtm, use a USB disk formatted with a native Linux filesystem, and avoid DownloadMaster because it is Optware-based and incompatible with Entware: Asuswrt-Merlin Entware. 2 3 4

  3. Entware services are designed around /opt/etc/init.d/rc.unslung and package-specific init scripts under /opt/etc/init.d/; Merlin's scriptable boot hooks are documented separately under /jffs/scripts: Entware Wiki Home, Asuswrt-Merlin User Scripts. 2

Comments

Sign in with GitHub to leave a comment or reaction.