Hello,
I have tried the following to set Mobile WAN as primary and and Wired as Secondary:
I used vi /etc/config/network
You would see something like
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
option enabled '1'
config interface 'wan2'
option ifname 'wwan0'
option proto 'none'
option metric '10'
config interface 'wan3'
option ifname 'wlan0'
option proto 'dhcp'
option metric '20'
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0 tap0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option disabled '0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option _vlan 'port'
config switch_vlan
option device 'switch0'
option vid '0'
option vlan '1'
option ports '0t 4'
config interface 'ppp'
option ifname 'wwan0'
option proto 'qmi2'
option service 'auto'
option device '/dev/cdc-wdm0'
option pppd_options 'noipdefault'
option pdptype '1'
option cid '1'
option method 'nat'
option mtu '1500'
option auth 'pap'
option enabled '1'
option disabled '0'
option backup '1'
option metric '10'
config interface 'ppp_usb'
config interface 'stabridge'
option enabled '0'
config interface 'lan_Lan2'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.100.1'
option ifname 'eth0.1'
option type 'bridge'
option disabled '0'
config switch_vlan
option device 'switch0'
option vlan '2'
option vid '1'
option ports '0t 2 3'
Now press "a" to edit the configurations.
And change the 1st two configurations for wan and wan2 to:
"
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
option enabled '1'
config interface 'wan2'
option ifname 'wwan0'
option proto 'none'
option metric '10'
"
After changing press ESC (ESCAPE) , type " :wq " and press enter . Now run command luci-reload .
Now your Mobile would become primary and Wired as secondary.
I hope it helps.
Thank you.
Regards,
Ahmed