aboutsummaryrefslogtreecommitdiff
path: root/examples/network-scan-python
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-12-02 16:10:44 +0100
committerAleksander Morgado <aleksander@aleksander.es>2019-12-03 08:56:47 +0000
commit03e6375a95ace2c1c1ecd8b621fc90b7e86ebe8b (patch)
treef05cce83419fa216a34194942bd34a3b4a3660cb /examples/network-scan-python
parent76cafbb603599a9f19592daca50e00c6e960998e (diff)
bearer-qmi: current settings are mandatory when using 'static' addressing
If for any reason getting current settings fails and we require static IP addressing (when using raw-ip), then that must be a hard error, otherwise we'll end up with the modem reported as connected but without any IP settings to use: <info> error: couldn't get current settings: QMI protocol error (15): 'OutOfCall' <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connected) <info> Simple connect state (8/8): All done <warn> Reloading stats failed: Couldn't get packet statistics: QMI protocol error (15): 'OutOfCall' # mmcli -b 0 Bearer '/org/freedesktop/ModemManager1/Bearer/0' ------------------------- Status | connected: 'yes' | suspended: 'no' | interface: 'wwan1' | IP timeout: '20' ------------------------- Properties | apn: 'm2minternet' | roaming: 'allowed' | IP type: 'none' | user: 'none' | password: 'none' | number: 'none' | Rm protocol: 'unknown' ------------------------- IPv4 configuration | method: 'unknown' ------------------------- IPv6 configuration | method: 'unknown' ------------------------- Stats | Duration: '0' | Bytes received: 'N/A' | Bytes transmitted: 'N/A' # mmcli -m 0 /org/freedesktop/ModemManager1/Modem/0 (device id '48f6c35f3d0376aa261a91c0cf7e6340d5a91601') ... Status | lock: 'sim-pin2' | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)' | state: 'connected' | power state: 'on' | access tech: 'lte' | signal quality: '96' (recent)
Diffstat (limited to 'examples/network-scan-python')
0 files changed, 0 insertions, 0 deletions