set-allowed-modes="4G" not working

2020-11-08 Thread Brendan Simon (eTRIX)
I am using MM 1.14.6 (from Deiban buster-backports) with Quectel EC21 (qmi). I can successfully set the allowed mode to "3G" and get a UMTS connection :) *    mmcli -m 0 --set-allowed-modes="3G"* However, if I try to lock to 4G the connection *never succeeds* :( **     mmcli -m 0 --set-allowed-

Re: Restrict modem (EC21) one of 3G or 4G - ModemManager 1.10.0 (Debian Buster)

2020-10-25 Thread Brendan Simon (eTRIX)
*RESEND** * On 21/10/2020 3:59 pm, Brendan Simon (eTRIX) wrote: On 19/08/2020 2:13 am, Aleksander Morgado wrote: There is a recent patch to avoid this, by avoiding the use of "NAS Register in Network" and use "NAS Set System Selection Preference" instead:https://gitlab.fr

Re: Restrict modem (EC21) one of 3G or 4G - ModemManager 1.10.0 (Debian Buster)

2020-10-20 Thread Brendan Simon (eTRIX)
On 19/08/2020 2:13 am, Aleksander Morgado wrote: This may be a known issue with QMI modems where the internal network registration attempt is done with "QMI NAS Register In Network"; this command not only registers in network, it also makes the access tech preference fallback to "any", and MM doe

Re: Restrict modem (EC21) one of 3G or 4G - ModemManager 1.10.0 (Debian Buster)

2020-08-18 Thread Brendan Simon (eTRIX)
On 18/08/2020 8:59 pm, Brendan Simon (eTRIX) wrote: On 18/08/2020 6:27 pm, Aleksander Morgado wrote: This may be a known issue with QMI modems where the internal network registration attempt is done with "QMI NAS Register In Network"; this command not only registers in network, it

Re: Restrict modem (EC21) one of 3G or 4G - ModemManager 1.10.0 (Debian Buster)

2020-08-18 Thread Brendan Simon (eTRIX)
On 18/08/2020 6:27 pm, Aleksander Morgado wrote: Hey, I'm using a Quectel EC21 modem on a Debian Buster Linux system (using modemmanager 1.10.0). Please note, MM 1.10.0 is a very very old release, no longer supported, and it's not even the last one inthe 1.10.x series... Fair enough, but 1.

Re: Restrict modem (EC21) one of 3G or 4G - ModemManager 1.10.0 (Debian Buster)

2020-08-18 Thread Brendan Simon (eTRIX)
Hi Aleksander, On 18/08/2020 5:43 pm, Aleksander Morgado wrote: On Tue, Aug 18, 2020 at 8:16 AM Brendan Simon (eTRIX) wrote: I'm using a Quectel EC21 modem on a Debian Buster Linux system (using modemmanager 1.10.0). Please note, MM 1.10.0 is a very very old release, no longer supp

Restrict modem (EC21) one of 3G or 4G - ModemManager 1.10.0 (Debian Buster)

2020-08-18 Thread Brendan Simon (eTRIX)
I'm using a Quectel EC21 modem on a Debian Buster Linux system (using modemmanager 1.10.0). I want to force it to one of 3G or 4G to stop it changing/swapping between the two. I've tried using the `mmcli -m 0 --set-allowed-modes=3g `.  mmcli seems happy with that. # mmcli -m 0   -

Restrict modem (EC21) one of 3G or 4G - ModemManager 1.10.0 (Debian Buster)

2020-08-17 Thread Brendan Simon (eTRIX)
I'm using a Quectel EC21 modem on a Debian Buster Linux system (using modemmanager 1.10.0). I want to force it to one of 3G or 4G to stop it changing/swapping between the two. I've tried using the `mmcli -m 0 --set-allowed-modes=3g `.  mmcli seems happy with that. # mmcli -m 0   -

Configuration file for ModemManager

2020-07-24 Thread Brendan Simon (eTRIX)
Hi MM devs, *Is there a configuration file for ModemManager?* I'm using Debian Buster.  With Network Manager there is the following. /etc/NetworkManager/NetworkManager.conf /etc/NetworkManager/conf.d/ I can control the log level of NetworkManager by adding a file in the `conf.d/` directory.

Re: u-blox LARA0-R2 (R280) not worrking with MM 1.10

2019-06-10 Thread Brendan Simon (eTRIX)
Hi Aleksander, Unfortunately I never got around to trying this before the loan dev kit had to be returned. Regards, Brendan. On 16/5/19 1:42 am, Aleksander Morgado wrote: > Hey Brendan, > > Looking at the tags we set, we'r

Re: u-blox LARA0-R2 (R280) not worrking with MM 1.10

2019-04-29 Thread Brendan Simon (eTRIX)
On 29/4/19 2:57 pm, Lars Melin wrote: > On 4/29/2019 11:12, Brendan Simon (eTRIX) wrote: >> I can't get the u-blox LARA R2 device working with ModemManager 1.10. >> >> I've tried a Debian Buster (aka Testing) distro that uses >> ModemManager 1.10 (and kernel 4

u-blox LARA0-R2 (R280) not worrking with MM 1.10

2019-04-28 Thread Brendan Simon (eTRIX)
I can't get the u-blox LARA R2 device working with ModemManager 1.10. I've tried a Debian Buster (aka Testing) distro that uses ModemManager 1.10 (and kernel 4.19).  The serial devices are present but `mmcli -L` does not show any modems. I've also tried the latest Ubuntu 19.04 Disco release (VM i

Re: Requirements for u-blox LARA0-R2 (R280)

2019-04-28 Thread Brendan Simon (eTRIX)
On 26/4/19 4:57 pm, Lars Melin wrote: > On 4/26/2019 08:00, Brendan Simon (eTRIX) wrote: > >> # nmcli d >> DEVICE   TYPE  STATE CONNECTION >> eth0 ethernet  connected wired-connection-1 >> ttyACM0  gsm   disconnected  -- >> sit0

Requirements for u-blox LARA0-R2 (R280)

2019-04-25 Thread Brendan Simon (eTRIX)
I'm trying to get a u-blox LARA-R280 device working with my embedded linux build -- using Linux kernel 4.4.0 (armhf) and Debian Buster (testing). * ModemManagerv 1.10.0 * NetworkManager 1.14.6 ModemManager discovers the device ok, but NetworkManger does not see a network device (e.g. `cdc-wd

Configuration for Quectel 3G and 4G modem

2018-10-14 Thread Brendan Simon (eTRIX)
I have a linux filesystem (Debian based) for an embedded board which uses a Quectel UC20 3G modem via NetworkManager/ModemManager. I want to upgrade to use a Quectel EC21 4G modem and want to know if I can use the same "system-connections" configuration file for both modems.  e.g. so that same sof

Re: [SOLVED] Quectel EC21, Debian Jessie, kernel 4.4 (patched)

2018-09-05 Thread Brendan Simon (eTRIX)
Date: Fri, 31 Aug 2018 11:28:47 +0200 From: Aleksander Morgado Subject: Re: Quectel EC21, Debian Jessie, kernel 4.4 (patched) On Fri, Aug 31, 2018 at 9:24 AM, Brendan Simon (SEPL) wrote: After the patches were applied, the device is recognise on the USB bus and MM also recongises the modem.

Re: ModemManager auto reconnect

2016-02-09 Thread Brendan Simon (eTRIX)
On 10/02/2016 3:39 AM, Dan Williams wrote: > On Tue, 2016-02-09 at 11:27 +1100, Brendan Simon (eTRIX) wrote: >> On 9/02/2016 9:08 AM, Dan Williams wrote: >>> On Tue, 2016-02-09 at 07:31 +1100, Brendan Simon (eTRIX) wrote: >>>> I have a number or remotely deplo

Re: ModemManager auto reconnect

2016-02-08 Thread Brendan Simon (eTRIX)
On 9/02/2016 9:08 AM, Dan Williams wrote: > On Tue, 2016-02-09 at 07:31 +1100, Brendan Simon (eTRIX) wrote: >> I have a number or remotely deployed arm embedded linux systems that >> uses a 3G modem via USB to post http information once per second. >> The >> modem

ModemManager auto reconnect

2016-02-08 Thread Brendan Simon (eTRIX)
Hi, I have a number or remotely deployed arm embedded linux systems that uses a 3G modem via USB to post http information once per second. The modem goes down from time to time. One reason is we assert the power reset line on the modem once a day (as I've been told that the modems need to be res

Python sample to send SMS

2016-01-10 Thread Brendan Simon (eTRIX)
Hi, I'm looking for a Python example/sample/snippet to send an SMS message to a mobile phone. All I can find is older code that uses EnumerateDevices() method. e.g. https://github.com/miurahr/ModemManager/blob/master/test/mm-send-sms.py which appears to be old and obsolete, and not suppo

Re: Can't get Quectel UC20 modem working on Embedded Board

2015-12-12 Thread Brendan Simon (eTRIX)
Working now. See below. On 12/12/2015 11:09 PM, Brendan Simon (eTRIX) wrote: > More info below. > > On 12/12/2015 10:53 PM, Brendan Simon (eTRIX) wrote: >> Hi, >> >> Not sure if this the best forum to ask questions regarding MM >> configuration, etc. I ho

Re: Can't get Quectel UC20 modem working on Embedded Board

2015-12-12 Thread Brendan Simon (eTRIX)
More info below. On 12/12/2015 10:53 PM, Brendan Simon (eTRIX) wrote: > Hi, > > Not sure if this the best forum to ask questions regarding MM > configuration, etc. I hope so. If not please refer me to appropriate > forums. > > I have a Quectel UC20 gsm modem. I got it

Can't get Quectel UC20 modem working on Embedded Board

2015-12-12 Thread Brendan Simon (eTRIX)
Hi, Not sure if this the best forum to ask questions regarding MM configuration, etc. I hope so. If not please refer me to appropriate forums. I have a Quectel UC20 gsm modem. I got it working under Debian Jessie on my MacBook (using VirtualBox). It all seem to go well and had no problems get