Download Ipk Files -
Downloading the wrong IPK file is the #1 cause of installation failure. You cannot install an armv7 IPK on a mips router.
To find your device’s architecture: SSH into your device and run:
opkg print-architecture
Or, if opkg is broken:
uname -m
Match this to specific IPK folders:
If your device does have internet but you want to cache the IPK locally: download ipk files
opkg download tcpdump
This saves the IPK to your current directory without installing it.
If you are running a development build of OpenWrt (nightly), you need the snapshot repository: Downloading the wrong IPK file is the #1
Before we dive into the "how," let's look at the "why":