Checking the status of a data connection

To determine the active data connections (and in particular, the internet connection), examine the contents of the status object for the cellular data services, as follows:

# cat /pps/services/cds/cnice/status

[n]@status
a_gps:json:{"enabled":true,"always_on":true,"access_controlled":false,"zero_rated":false,
 "active":true,"bid":[3],"connected":true,"net_if":"ppp0","apn":"fast.t-mobile.com"}
carrier_800:json:{"enabled":true,"always_on":true,"access_controlled":false,"zero_rated":false,
 "active":true,"bid":[3],"connected":true,"net_if":"ppp0","apn":"fast.t-mobile.com"}
carrier_admin:json:{"enabled":true,"always_on":true,"access_controlled":false,"zero_rated":false,
 "active":true,"bid":[3],"connected":true,"net_if":"ppp0","apn":"fast.t-mobile.com"}
carrier_apps:json:{"enabled":true,"always_on":true,"access_controlled":false,"zero_rated":false,
 "active":true,"bid":[3],"connected":true,"net_if":"ppp0","apn":"fast.t-mobile.com"}
data_roaming_status::NOT_ROAMING
data_services_status::ON
internet:json:{"enabled":true,"always_on":true,"access_controlled":false,"zero_rated":false,
 "active":true,"bid":[3],"connected":true,"net_if":"ppp0","apn":"fast.t-mobile.com"}
mms:json:{"enabled":true,"always_on":true,"access_controlled":false,"zero_rated":false,
 "active":true,"bid":[3],"connected":true,"net_if":"ppp0","apn":"fast.t-mobile.com"}
plan_admin:json:{"enabled":true,"always_on":true,"access_controlled":false,"zero_rated":false,
 "active":true,"bid":[3],"connected":true,"net_if":"ppp0","apn":"fast.t-mobile.com"}
streaming:json:{"enabled":true,"always_on":true,"access_controlled":false,"zero_rated":false,
 "active":true,"bid":[3],"connected":true,"net_if":"ppp0","apn":"fast.t-mobile.com"}
user_enabled_data_roaming::