Files
LFLede/RM520N-5G/文件/configs/rc.local
T
2026-08-21 18:28:33 +08:00

13 lines
784 B
Plaintext

# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
# ===== RM520N-GL 说明 (2026-08-20 更新) =====
# pcie_mhi 驱动由 /etc/modules.d/90-pcie_mhi 开机自动加载(mhi_mbim_enabled=1)。
# 原生流程即可自启拨号(S95modem5g 等待 /dev/mhi_MBIM 后起 quectel-CM)。
# 无需在此手动 bind mhi_q —— 手动强绑会抢设备导致 pcie_mhi 失联(SYS_ERR)。
# 开机自启链路: 90-pcie_mhi(驱动) -> S95modem5g(拨号) -> S96wan5g-route(策略路由+NAT)
# 诊断: dmesg | grep -iE "mhi|pcie_mhi"; ls /dev/mhi_*
# 故障处理: 若模块失联且无 /dev/mhi_DUN, 先飞牛断电重启; 若无效再手动:
# echo 0000:00:0a.0 > /sys/bus/pci/drivers/mhi_q/bind # 唤醒(临时)
exit 0