22: Configuring a mobile connection
_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2016
GW6600 Series and GW6600V Series User Manual
Issue: 1.5
Page 203 of 384
22.4
Configuring a mobile connection using UCI
To establish a basic mobile connection, enter:
uci set network.3G=interface
uci set network.3G.proto=3g
uci set network.3G.device=/dev/ttyACM0
uci set network.3G.auto=no
uci set network.3G.defaultroute=1
uci set network.3G.service=auto
Mobile interface diagnostics
22.5
Mobile status using UCI
To display information and status of mobile interfaces such as 3G, 4G or CDMA, enter:
root@VA_router:~# cat /var/state/mobile
mobile.3g_1_1_1=status
mobile.3g_1_1_1.auto_info=/etc/3g_1-1.1.auto
mobile.3g_1_1_2=status
mobile.3g_1_1_2.auto_info=/etc/3g_1-1.2.auto
mobile.3g_1_1_1.sim_slot=1
mobile.3g_1_1_1.sim_in=yes
mobile.3g_1_1_1.imsi=240016005892879
mobile.3g_1_1_1.registered=1, Home network
mobile.3g_1_1_1.reg_code=1
mobile.3g_1_1_1.registered_pkt=1, Home network
mobile.3g_1_1_1.reg_code_pkt=1
mobile.3g_1_1_1.area=FFFE
mobile.3g_1_1_1.cell=189150A
mobile.3g_1_1_1.tech=7
mobile.3g_1_1_1.technology=E-UTRAN
mobile.3g_1_1_1.operator=0,0,"Vodafone",7
mobile.3g_1_1_1.sim1_iccid=89460127120912066226
mobile.3g_1_1_2.sim_slot=1
mobile.3g_1_1_2.sim_in=yes
mobile.3g_1_1_2.operator="Vodafone"
mobile.3g_1_1_2.cdma_roaming=Not Roaming
mobile.3g_1_1_2.cdma_roaming_code=0
mobile.3g_1_1_2.cdma_srvmode=EVDO Rev B