Re: configuring network manager connection for a Quectel EC20 WWAN device



On Sun, 31 May 2020 at 14:15, Aleksander Morgado
<aleksander aleksander es> wrote:

Hey Jasper

Hi Aleksander, thanks for the reply!


the journal for ModemManager:

https://gist.github.com/ArcolaJasper/e5c16387d25f0b5b7f061559bae3ccb8


What MM version are you using?

# mmcli --version

mmcli 1.6.4
Copyright (2011 - 2016) Aleksander Morgado
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

# ModemManager --version

ModemManager 1.6.4
Copyright (2008 - 2016) The ModemManager authors
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

# nmcli --version
nmcli tool, version 1.6.2

# qmicli --version

qmicli 1.16.2
Copyright (C) 2015 Aleksander Morgado
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

# lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 9.12 (stretch)
Release:    9.12
Codename:    stretch


Could you check whether autoconnect is enabled in the modem or not? E.g.:
$ sudo qmicli -d /dev/cdc-wdm0 -p --wds-get-autoconnect-settings

# qmicli -d /dev/cdc-wdm0 -p --wds-get-autoconnect-settings
Autoconnect settings retrieved:
    Status: 'disabled'

so it's disabled :/

If autoconnect is reported as enabled, disable it yourself manually:
$ sudo qmicli -d /dev/cdc-wdm0 -p --wds-set-autoconnect-settings=disabled
And reboot the modem:
$ sudo mmcli -m 0 --reset

-- 
Your hydrogen & fuel cell partner
Arcola Energy Ltd, 24 Ashwin Street, 
London E8 3DL. www.arcolaenergy.com <https://www.arcolaenergy.com/> / +44 
20 7503 1386
Registered in England and Wales, Company Number 7257863, VAT 
Number 110085273. Copyright 2020. Confidential and Proprietary. Not to be 
disseminated or copied in full or in part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]