We have a custom firmware to MT300n V1:
root@Router:~# uname -a
Linux Router 3.18.27 #97 Tue Jun 27 04:54:12 EDT 2017 mips n
We are trying to compile dnsmasq and hostapd to this system, with the merged fixes for the recent flaws.
However, after builting it, following the instructions of OpenWrt (How to Build a Single Package [Old OpenWrt Wiki]), for target Ralink RT288x/RT3xxx which is ramips (MediaTek / Ralink [Old OpenWrt Wiki]), I’m getting the following error:
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for dnsmasq found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package dnsmasq.
After compiling it, I found this: Index of /snapshots/trunk/ramips/mt7620/packages/base/ , which I suppose is the same architecture that we are running. But I’m getting the same error:
root@Router:~# wget https://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/base/dnsmasq_2.78-1_ramips.ipk
root@Router:~# opkg install dnsmasq_2.78-1_ramips.ipk
Unknown package 'dnsmasq'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for dnsmasq found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package dnsmasq.
So, I’m stuck at this. Any help would be aprreciate.