diff --git a/luci/luci-app-qmodem/root/etc/uci-defaults/99-add-5g-handler b/luci/luci-app-qmodem/root/etc/uci-defaults/99-add-5g-handler index 2bdfad1..4ee9927 100755 --- a/luci/luci-app-qmodem/root/etc/uci-defaults/99-add-5g-handler +++ b/luci/luci-app-qmodem/root/etc/uci-defaults/99-add-5g-handler @@ -33,49 +33,49 @@ modem_settings() huasifei,ws3006) #m2 usb3.0 #(slot 2) - uci set qmodem.u2_1_2="modem-slot" - uci set qmodem.u2_1_2.slot="2-1.2" - uci set qmodem.u2_1_2.alias="5g1" - uci set qmodem.u2_1_2.type="usb" - uci set qmodem.u2_1_2.net_led="wwan2" - uci set qmodem.u2_1_2.sim_led="green:sim2" + uci set qmodem.5g1="modem-slot" + uci set qmodem.5g1.slot="2-1.2" + uci set qmodem.5g1.alias="5g1" + uci set qmodem.5g1.type="usb" + uci set qmodem.5g1.net_led="green:5g2" + uci set qmodem.5g1.sim_led="green:sim2" #(slot 1) - uci set qmodem.u2_1_4="modem-slot" - uci set qmodem.u2_1_4.slot="2-1.4" - uci set qmodem.u2_1_4.alias="5g0" - uci set qmodem.u2_1_4.type="usb" - uci set qmodem.u2_1_4.net_led="wwan1" - uci set qmodem.u2_1_4.sim_led="green:sim1" + uci set qmodem.5g0="modem-slot" + uci set qmodem.5g0.slot="2-1.4" + uci set qmodem.5g0.alias="5g0" + uci set qmodem.5g0.type="usb" + uci set qmodem.5g0.net_led="green:5g1" + uci set qmodem.5g0.sim_led="green:sim1" #m2 usb2.0 #(slot 2) - uci set qmodem.u1_1_1="modem-slot" - uci set qmodem.u1_1_1.slot="1-1.1" - uci set qmodem.u1_1_1.type="usb" - uci set qmodem.u1_1_1.alias="4g3" - uci set qmodem.u1_1_1.net_led="wwan2" - uci set qmodem.u1_1_1.sim_led="green:sim2" + uci set qmodem.4g3="modem-slot" + uci set qmodem.4g3.slot="1-1.1" + uci set qmodem.4g3.type="usb" + uci set qmodem.4g3.alias="4g3" + uci set qmodem.4g3.net_led="green:5g2" + uci set qmodem.4g3.sim_led="green:sim2" #(slot 1) - uci set qmodem.u1_1_4="modem-slot" - uci set qmodem.u1_1_4.slot="1-1.4" - uci set qmodem.u1_1_4.alias="4g2" - uci set qmodem.u1_1_4.type="usb" - uci set qmodem.u1_1_4.net_led="wwan1" - uci set qmodem.u1_1_4.sim_led="green:sim1" + uci set qmodem.4g2="modem-slot" + uci set qmodem.4g2.slot="1-1.4" + uci set qmodem.4g2.alias="4g2" + uci set qmodem.4g2.type="usb" + uci set qmodem.4g2.net_led="green:5g1" + uci set qmodem.4g2.sim_led="green:sim1" #mini pci slot #(slot 2) - uci set qmodem.u1_1_2="modem-slot" - uci set qmodem.u1_1_2.slot="1-1.2" - uci set qmodem.u1_1_2.type="usb" - uci set qmodem.u1_1_2.alias="4g1" - uci set qmodem.u1_1_2.net_led="wwan2" - uci set qmodem.u1_1_2.sim_led="green:sim2" + uci set qmodem.4g1="modem-slot" + uci set qmodem.4g1.slot="1-1.2" + uci set qmodem.4g1.type="usb" + uci set qmodem.4g1.alias="4g1" + uci set qmodem.4g1.net_led="green:5g2" + uci set qmodem.4g1.sim_led="green:sim2" #(slot 1) - uci set qmodem.u1_1_3="modem-slot" - uci set qmodem.u1_1_3.slot="1-1.3" - uci set qmodem.u1_1_3.type="usb" - uci set qmodem.u1_1_3.alias="4g0" - uci set qmodem.u1_1_3.net_led="wwan1" - uci set qmodem.u1_1_3.sim_led="green:sim1" + uci set qmodem.4g0="modem-slot" + uci set qmodem.4g0.slot="1-1.3" + uci set qmodem.4g0.type="usb" + uci set qmodem.4g0.alias="4g0" + uci set qmodem.4g0.net_led="green:5g1" + uci set qmodem.4g0.sim_led="green:sim1" uci commit qmodem ;;