MMCLI debug mode

Dan Williams dcbw at redhat.com
Wed Oct 31 13:36:34 UTC 2018


On Wed, 2018-10-31 at 04:18 -0700, Srinivasan Jagannadhan wrote:
> I was trying to bringup Dell 5000 Gateway with
> 1) Modem:  'Telit model: 'LE910-SV V2' rev: '20.00.002'
> 2) Sim: Verizon
> 
> Following were the commands executed
> 1. mmcli -m 0 -v --simple-connect="apn=VZWINTERNET"
> 
> [31 Oct 2018, 11:11:10] [Debug] Forcing request to be run
> asynchronously
> [31 Oct 2018, 11:11:10] [Debug] Assuming '0' is the modem index
> [31 Oct 2018, 11:11:10] [Debug] ModemManager process found at ':1.3'
> [31 Oct 2018, 11:11:10] [Debug] Modem found at
> '/org/freedesktop/ModemManager1/Modem/0'
> 
> [31 Oct 2018, 11:11:10] [Debug] Asynchronously connecting the
> modem...
> error: couldn't connect the modem:
> 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NotA
> llowed:
> Operation not allowed'
> 
> 2. /var/log/syslog
> Oct 31 11:01:54 localhost ModemManager[804]: <info>  Modem
> /org/freedesktop/ModemManager1/Modem/0: state changed (disabled ->
> enabling)

ModemManager debug logging would be useful here.  You can enable that
with "mmcli --set-logging=DEBUG" and then reproduce the issue.  Then
/var/log/syslog will contain quite a bit more information that we can
use to debug the problem.

Thanks!
Dan


> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Modem
> /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state
> changed
> (unknown -> registering)
> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Modem
> /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state
> changed
> (registering -> home)
> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Modem
> /org/freedesktop/ModemManager1/Modem/0: state changed (enabling ->
> registered)
> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Simple connect
> started...
> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Simple connect
> state
> (4/8): Wait to get fully enabled
> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Simple connect
> state
> (5/8): Register
> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Simple connect
> state
> (6/8): Bearer
> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Simple connect
> state
> (7/8): Connect
> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Modem
> /org/freedesktop/ModemManager1/Modem/0: state changed (registered ->
> connecting)
> Oct 31 11:01:55 localhost ModemManager[804]: <warn>  Couldn't
> initialize
> PDP context with our APN: 'Operation not allowed'
> Oct 31 11:01:55 localhost ModemManager[804]: <info>  Modem
> /org/freedesktop/ModemManager1/Modem/0: state changed (connecting ->
> registered)
> Oct 31 11:11:10 localhost ModemManager[804]: <info>  Simple connect
> started...
> Oct 31 11:11:10 localhost ModemManager[804]: <info>  Simple connect
> state
> (4/8): Wait to get fully enabled
> Oct 31 11:11:10 localhost ModemManager[804]: <info>  Simple connect
> state
> (5/8): Register
> Oct 31 11:11:10 localhost ModemManager[804]: <info>  Simple connect
> state
> (6/8): Bearer
> Oct 31 11:11:10 localhost ModemManager[804]: <info>  Simple connect
> state
> (7/8): Connect
> Oct 31 11:11:10 localhost ModemManager[804]: <info>  Modem
> /org/freedesktop/ModemManager1/Modem/0: state changed (registered ->
> connecting)
> Oct 31 11:11:10 localhost ModemManager[804]: <warn>  Couldn't
> initialize
> PDP context with our APN: 'Operation not allowed'
> 
> Questions:
> 1. Does this require explicit AT commands to be passed through MMCLI?
> 2. What AT Commands to must be used?
> 3. How do we compile MMCLI in debug mode to issue AT Commands?
> 
> Thanks
> -Srini-
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel


More information about the ModemManager-devel mailing list