Home | History | Annotate | Download | only in bin

Lines Matching refs:apn

19 # Set the APN to be used when making connections on a cellular service.
28 ${PROGRAM} [-n <network_id>] [-u <username] [-p <password] <apn>
40 APN_PROPERTY=Cellular.APN
43 SET_APN_HELPER=$(ls /usr/lib*/shill/shims/set-apn-helper | head -1)
45 echo "set-apn-helper script was not found!"
75 local apn="$(get_apn_info ${service} ${LAST_GOOD_APN_PROPERTY})"
77 if [ -n "${apn}" ]; then
78 echo "Last good APN: " ${apn}
82 apn="$(get_apn_info ${service} ${APN_PROPERTY})"
83 if [ -n "${apn}" ]; then
84 echo "User specified APN: " ${apn}
88 echo "No APN."
94 local apn="$2"
98 local args="apn,${apn},network_id,${network_id}"
108 echo "Setting APN \"${apn}\" for network ID ${network_id} for service ${service}"
115 echo "Clearing APN for service ${service}"
160 DEFINE_string 'network_id' "" 'network ID (MCCMNC) of the operator with which the APN should be used' 'n'
161 DEFINE_string 'username' "" 'username to be used with the APN' 'u'
162 DEFINE_string 'password' "" 'password to be used with the APN' 'p'
163 DEFINE_boolean 'clear' false 'clear any APN that has been previously set' 'c'
178 usage "The APN must be specified."