From 1b6eb9548eb133da473d0f0f49287ebb558e855b Mon Sep 17 00:00:00 2001 From: fujr Date: Fri, 1 Nov 2024 02:39:59 +0800 Subject: [PATCH] set cfun to 1 before dial --- luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh b/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh index 34bbb38..810ee14 100755 --- a/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh +++ b/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh @@ -226,6 +226,7 @@ check_dial_prepare() config_fullfill=1 fi if [ "$config_fullfill" = "1" ] && [ "$sim_fullfill" = "1" ] && [ "$netdev_fullfill" = "1" ] ;then + at "$at_port" "AT+CFUN=1" return 1 else return 0