22: Configuring a mobile connection
_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW1000 Series User Manual
Issue: 1.9
Page 170 of 350
Web: Dependant Interfaces
UCI: network.3G.dependants
Opt: dependants
Lists interfaces that are dependent on this parent interface.
Dependant interfaces will go down when parent interface is down
and will start or restart when parent interface starts.
Separate multiple interfaces by a space when using UCI.
Example:
option dependants ‘PPPADSL MOBILE’
This replaces the following previous options in child interfaces.
gre
option local_interface
lt2p
option src_ipaddr
iot
option wan1 wan2
6in4 option ipaddr
6to4 option ipaddr
Table 58: Information table for general set up page
22.2.1.3
Mobile interface: firewall settings
Use this section to select the firewall zone you want to assign to the interface.
Select unspecified to remove the interface from the associated zone or fill out the create
field to define a new zone and attach the interface to it.
Figure 92: Firewall settings page
22.3
Configuring a mobile connection using CLI
22.3.1
UCI
To establish a basic mobile connection, enter:
root@VA_router:~# uci show network
network.3G=interface
network.3G.proto=3g
network.3G.monitored=0
network.3G.sim=any
network.3G.auto=1
network.3G.defaultroute=1
network.3G.service=autonetwork.3G.apn=test.apn
network.3G.username=username
network.3G.password=password