I have the following system and having some issue on installing modem manager
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r22657-1e8b318ebe'
DISTRIB_TARGET='mediatek/filogic'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r22657-1e8b318ebe'
DISTRIB_TAINTS=''
Linux version 5.15.108 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r22657-1e8b318ebe) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP
I tried to install modemanager and getting the following error can someone help me on this.
> nstalling modemmanager (1.20.6-1) to root...
> Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages
/modemmanager_1.20.6-1_aarch64_cortex-a53.ipk
> Collected errors:
> * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/modemmanager_1.20.6-1_aarch64_cortex-a53.ipk, wget returned 8.
> * opkg_install_pkg: Failed to download modemmanager. Perhaps you need to run 'opkg update'?
> * opkg_install_cmd: Cannot install package modemmanager
You're updating to today's snapshot? I haven't looked at the buildbots for your specific arch, but this is sometimes symptomatic of when packages for the build have not finished building. Wait a few hours, or maybe until tomorrow, then try again...
+1. I stopped using snapshots, because of multiple times having issues, because of ongoing development. Only to use stable versions.
BTW: I have large fleet of LTE-routers, without modemmanager. Do you really need it ?
Newer versions of modemmanager report disconnections to a so-called dispatcher script facility that brings the interface down, which supports adding custom commands such that you can bring the interface back up. But the OpenWrt devs are very slow to upgrade modemmanager in 22.03 such that the present version doesn't include the new so-called dispatcher scripts.
So 22.03 users that need this must manually upgrade modemmanager or use alternative ways to reconnect on disconnection.
Using mwan3 as a 'vehicle' to detect disconnection, and to trigger re-connection via short script (probably modem specific, though) is much simpler compared to Modemmanger plus netifd plus ...
Hmm. Using mwan3 for this purpose also seems a little Heath Robinson, especially for those like myself without multiple wan connections.
At least modemmanager is designed to, well, manage modems, and netifd is an integral part of OpenWrt. It's just the loop hasn't been properly closed yet.
It seems modem support in OpenWrt needs a little attention.