23: Automatic operator selection
_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW7304 Series User Manual
Issue: 1.9
Page 197 of 336
23.3.1.3
Multi-WAN configuration using UCI
The configuration file for package multiwan is stored on /etc/config/multiwan
To see configuration file of mobile package, enter:
root@VA_router:~# cat /etc/config/multiwan
config multiwan 'config'
option enabled '1'
option preempt '1'
config interface '3g_s1_voda'
option health_fail_retries '3'
option health_interval '3'
option timeout '1'
option icmp_hosts 'disable'
option priority '10'
option exclusive_group '3g'
option signal_threshold '-95'
option ifup_retry_sec '350'
option ifup_timeout_sec '180'
option manage_state '1'
To view the uci command of package multiwan, enter:
root@VA_router:~# uci show multiwan
multiwan.config=multiwan
multiwan.config.enabled=1
multiwan.config.preempt=1
multiwan.main_voda=interface
multiwan.main_voda.health_fail_retries=3
multiwan.main_voda.health_interval=3
multiwan.3g_s1_voda.timeout=1
multiwan.3g_s1_voda.icmp_hosts=disable
multiwan.3g_s1 main _voda.priority=10
multiwan.3g_s1_voda.exclusive_group=3g
multiwan.3g_s1_voda.signal_threshold=-95
multiwan.3g_s1_voda.ifup_retry_sec=350
multiwan.3g_s1_voda.ifup_timeout_sec=180
multiwan.3g_s1_voda.manage_state=1