I have GL-AR300M16 router and Sierra Wireless MC7455 Aircard in a PCI to USB adapter. I can connect to Verizon Wireless Network with Verizon sim card when in QMI mode but will loose cellular connection after a couple of hours. The MC7455 and adapter do not drop connection when connected to USB port on Windows 10 PC. I have switched the MC7455 to MBIM mode with AT!USBCOMP=1,1,1009 and it still works on Windows. The GL-AR300M16 router does not have luci-proto-mbim available and the one recommended at luci-proto-mbim for OpenWrt 18.06 - Wireless Joint give errors:
pkg_hash_fetch_best_installation_candidate: Packages for luci-proto-mbim found, but incompatible with the architectures configured
opkg_install_cmd: Cannot install package luci-proto-mbim.
The opkg install command failed with code 255.
How can I get luci-proto-mbim installed, or other recommendations to dropped calls.
Thanks
Thank you for response. I apologize for late response, we were out of power from Beryl Hurricane, then no internet. I have switched the modem to QMI mode (I suspect the GL-AR300M16 sees the modem as a "serial" device) with intermittent drops. I will test with modem in both modes unless you suggest otherwise.
Firmware from openwrt-ar300m16-4.3.11-0320-1710939596.bin
Firmware Version 4.3.17
Type release2
OpenWrt 22.03.4, r20123-38ccc47687
from my modem.sh....
check_ip()
{ #removed 7/26/24 local bus=$(get_modem_bus) #added
local bus=get_modem_bus "usb"
local modem_iface=$(get_modem_iface $bus)
[ "$(uci -q get network.$modem_iface.disabled)" = "0" ] || return
local operator=$(get_operator_type)
local apn_route=1
if [ "$operator" = "Verizon" ]; then
apn_route=3
elif [ "$operator" = '' -o "$operator" = '-1' ];then
return 0
fi
for count in $(seq 1 3); do
module_ip=$(gl_modem -B $bus AT AT+CGPADDR | grep "+CGPADDR: $apn_route" | grep -v '0.0.0.0')
[ -n "$module_ip" ] && break
sleep 1
done
local interface_ip
# interface_ip=$(ifconfig rmnet_mhi0 | grep inet | sed -n '1p'|awk '{print $2}'|awk -F ':' '{print $2}')
if [ -n "$(ubus list | grep $modem_iface)" ]; then
interface_ip=$(ubus call network.interface.${modem_iface}_4 status | jsonfilter -e '@["ipv4-address"][0].address')
[ -z "$interface_ip" ] && interface_ip=$(ubus call network.interface.${modem_iface} status | jsonfilter -e '@["ipv4-address"][0].address')
fi
Quick Update since I made the recommended changes. I cannot connect to the internet in either QMI or MBIM mode. I don't have the drivers loaded for MBIM so I did not expect MBIM to work. I did not load MBIM drivers yet as I am not clear as to which protocol it best. I should also mention the the GLi Admin Panel has never recognized the MC7455, but after I loaded drivers, it would connect to the internet. Thanks in advance for your assistance.
Since the Sierra module have not been supported in the GL firmware, so probably it could not display or not completely to display in GL GUI, but probably the modem interface shows in the Luci -> Network -> Interface.
And thanks for your feedback and glad to know that it works ok (right?), may I know what drivers for the modem did you load?
Bruce, I am still losing connection. I have the MC7455 in QMI mode and have made the changes recommended. I sent you PM with more detail, but the problem remains. Do you think MBIM would do any better? Or better to stay with QMI. Thanks
Please find logread.tar attached. I do not find instance of : "module_ip==================$module_ip"
logger "interface_ip===============$interface_ip"
Also you will notice that this time the connection did NOT
automatically reconnected as it has in the past. I manually restarted the modem with echo 1 > value about 05:55:49 this morning. Thanks logread.tar (127 KB)
This module is currently not compatible with our scripts and has not been tested
It takes a lot of work
Can you give me a remote look at the phenomenon?
I see many references to MC7455 in this forum, none indicated it was not compatible. I am willing to do "remote look". What is involved and what time (Houston). Thanks for your help.
i'm sorry
I mean it's not compatible with our code for detecting ip changes
From your description, it seems that the sim card changes ip every once in a while
And the AR300M didn't pick it up