<div dir="ltr"><div>Aleksander, <br></div><div><br></div><div>Thank you for looking into this.  </div><div><br></div>root@bionic-armhf:~# mmcli --modem 0 --simple-connect="apn=m2m.com.attz"<br>ModemManager[680]: <info>  [1575569894.762006] Simple connect started...<br>ModemManager[680]: <debug> [1575569894.762291]    PIN: unspecified<br>ModemManager[680]: <debug> [1575569894.762401]    Operator ID: unspecified<br>ModemManager[680]: <debug> [1575569894.762499]    Allowed roaming: yes<br>ModemManager[680]: <debug> [1575569894.762594]    APN: m2m.com.attz<br>ModemManager[680]: <debug> [1575569894.762686]    IP family: unspecified<br>ModemManager[680]: <debug> [1575569894.762778]    Allowed authentication: unspecified<br>ModemManager[680]: <debug> [1575569894.762870]    User: unspecified<br>ModemManager[680]: <debug> [1575569894.762961]    Password: unspecified<br>ModemManager[680]: <info>  [1575569894.763051] Simple connect state (4/8): Wait to get fully enabled<br>ModemManager[680]: <info>  [1575569894.763537] Simple connect state (5/8): Register<br>ModemManager[680]: <debug> [1575569894.763752] Already registered in network '310410', automatic registration not launched...<br>ModemManager[680]: <info>  [1575569894.763951] Simple connect state (6/8): Bearer<br>ModemManager[680]: <debug> [1575569894.764072] Creating new bearer...<br>ModemManager[680]: <debug> [1575569894.764238] u-blox: checking current USB profile...<br>ModemManager[680]: <debug> [1575569894.764388] (ttyACM0) device open count is 2 (open)<br>ModemManager[680]: <debug> [1575569894.764643] (ttyACM0): --> 'AT+UUSBCONF?<CR>'<br>ModemManager[680]: <debug> [1575569894.767565] (ttyACM0): <-- '<CR><LF>+UUSBCONF: 3,"RNDIS",,"0x1146"<CR><LF>'<br>ModemManager[680]: <debug> [1575569894.767977] (ttyACM0): <-- '<CR><LF>OK<CR><LF>'<br>ModemManager[680]: <debug> [1575569894.768349] u-blox: usb profile loaded: rndis<br>ModemManager[680]: <debug> [1575569894.768462] u-blox: checking current networking mode...<br>ModemManager[680]: <debug> [1575569894.768599] (ttyACM0) device open count is 3 (open)<br>ModemManager[680]: <debug> [1575569894.768765] (ttyACM0) device open count is 2 (close)<br>ModemManager[680]: <debug> [1575569894.768963] (ttyACM0): --> 'AT+UBMCONF?<CR>'<br>ModemManager[680]: <debug> [1575569894.778431] (ttyACM0): <-- '<CR><LF>+UBMCONF: 1<CR><LF>'<br>ModemManager[680]: <debug> [1575569894.778802] (ttyACM0): <-- '<CR><LF>OK<CR><LF>'<br>ModemManager[680]: <debug> [1575569894.779135] u-blox: networking mode loaded: router<br>ModemManager[680]: <debug> [1575569894.779251] u-blox: creating u-blox broadband bearer (rndis profile, router mode)...<br>ModemManager[680]: <debug> [1575569894.780871] (ttyACM0) device open count is 3 (open)<br>ModemManager[680]: <debug> [1575569894.781081] (ttyACM0) device open count is 2 (close)<br>ModemManager[680]: <debug> [1575569894.781452] u-blox: new u-blox broadband bearer created at DBus path '/org/freedesktop/ModemManager1/Bearer/0'<br>ModemManager[680]: <info>  [1575569894.782125] Simple connect state (7/8): Connect<br>ModemManager[680]: <debug> [1575569894.782293] Connecting bearer '/org/freedesktop/ModemManager1/Bearer/0'<br>ModemManager[680]: <info>  [1575569894.782484] Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)<br>ModemManager[680]: <debug> [1575569894.784225] Launching 3GPP connection attempt with APN 'm2m.com.attz'<br>ModemManager[680]: <debug> [1575569894.784392] No specific IP family requested, defaulting to ipv4<br>ModemManager[680]: <debug> [1575569894.784530] No specific IP family requested, defaulting to ipv4<br>ModemManager[680]: <debug> [1575569894.784657] Looking for best CID...<br>ModemManager[680]: <debug> [1575569894.784804] (ttyACM0) device open count is 3 (open)<br>ModemManager[680]: <debug> [1575569894.785036] (ttyACM0) device open count is 2 (close)<br>ModemManager[680]: <debug> [1575569894.785237] (ttyACM0): --> 'AT+CGDCONT?<CR>'<br>ModemManager[680]: <debug> [1575569894.793937] (ttyACM0): <-- '<CR><LF>+CGDCONT: 1,"IP","m2m.com.attz","",0,0,0,0,0,0<CR><LF>'<br>ModemManager[680]: <debug> [1575569894.794405] (ttyACM0): <-- '+CGDCONT: 4,"IP","m2m.com.attz.mnc170.mcc310.gprs","10.246.2.90",0,0,0,0,0,0<CR><LF><CR><LF>OK<CR><LF>'<br>ModemManager[680]: <debug> [1575569894.794845] Found '2' PDP contexts<br>ModemManager[680]: <debug> [1575569894.794967]   PDP context [cid=1] [type='ipv4'] [apn='m2m.com.attz']<br>ModemManager[680]: <debug> [1575569894.795067]   PDP context [cid=4] [type='ipv4'] [apn='m2m.com.attz.mnc170.mcc310.gprs']<br>ModemManager[680]: <debug> [1575569894.795171] Found PDP context with CID 1 and PDP type ipv4 for APN 'm2m.com.attz'<br>ModemManager[680]: <debug> [1575569894.795349] checking supported authentication methods...<br>ModemManager[680]: <debug> [1575569895.126663] (ttyACM0) device open count is 3 (open)<br>ModemManager[680]: <debug> [1575569895.127067] (ttyACM0) device open count is 2 (close)<br>ModemManager[680]: <debug> [1575569895.127478] (ttyACM0): --> 'AT+UAUTHREQ=?<CR>'<br>ModemManager[680]: <debug> [1575569895.135088] (ttyACM0): <-- '<CR><LF>+UAUTHREQ: (1-8),(0-2),,<CR><LF><CR><LF>OK<CR><LF>'<br>ModemManager[680]: <debug> [1575569895.135773] Not using authentication<br>ModemManager[680]: <debug> [1575569895.136019] setting up authentication preferences in PDP context #1...<br>ModemManager[680]: <debug> [1575569895.136291] (ttyACM0) device open count is 3 (open)<br>ModemManager[680]: <debug> [1575569895.136604] (ttyACM0) device open count is 2 (close)<br>ModemManager[680]: <debug> [1575569895.136992] (ttyACM0): --> 'AT+UAUTHREQ=1,0,"",""<CR>'<br>ModemManager[680]: <debug> [1575569895.146146] (ttyACM0): <-- '<CR><LF>OK<CR><LF>'<br>ModemManager[680]: <debug> [1575569895.146689] activating PDP context #1...<br>ModemManager[680]: <debug> [1575569895.146969] (ttyACM0) device open count is 3 (open)<br>ModemManager[680]: <debug> [1575569895.147284] (ttyACM0) device open count is 2 (close)<br>ModemManager[680]: <debug> [1575569895.147665] (ttyACM0): --> 'AT+CGACT=1,1<CR>'<br>ModemManager[680]: <debug> [1575569895.456167] (ttyACM0): <-- '<CR><LF>+CME ERROR: 100<CR><LF>'<br>ModemManager[680]: <debug> [1575569895.456747] Got failure code 100: Unknown error<br>ModemManager[680]: <debug> [1575569895.457081] Couldn't connect bearer '/org/freedesktop/ModemManager1/Bearer/0': 'Unknown error'<br>ModemManager[680]: <info>  [1575569895.457445] Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> registered)<br>ModemManager[680]: <debug> [1575569895.460077] Couldn't connect bearer: 'Unknown error'<br>ModemManager[680]: <debug> [1575569895.462356] (ttyACM0) device open count is 1 (close)<br>error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown: Unknown error'<br><br>Best regards, <br><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);color:rgb(0,0,0);font-size:12.8px"><div dir="ltr"><b style="font-family:"trebuchet ms",sans-serif"><em>Cale Collins</em><br>Field Applications Engineer<br>Gateworks Corporation</b></div><div dir="ltr"><span style="font-family:"trebuchet ms",sans-serif;font-size:12.8px">(805)781-2000 x37</span><b style="font-family:"trebuchet ms",sans-serif"><br></b></div><div dir="ltr">3026 S. Higuera, San Luis Obispo, CA 93401<br><a href="http://www.gateworks.com/" style="color:rgb(17,85,204);font-size:12.8px;font-family:"trebuchet ms",sans-serif" target="_blank">www.gateworks.com</a></div></div><div style="font-size:12.8px"><br><img src="http://www.gateworks.com/templates/hathway/images/logo.png" width="200" height="31"></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 5, 2019 at 12:35 AM Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey!<br>
<br>
> root@bionic-armhf:~# mmcli -m 0 --enable<br>
> successfully enabled the modem<br>
> root@bionic-armhf:~# mmcli -m 0 --simple-connect="apn=<a href="http://m2m.com" target="_blank">m2m.com</a>.attz"<br>
> error: couldn't connect the modem:<br>
> 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown:<br>
> Unknown error'<br>
<br>
You need to setup ModemManager running with --debug so that we can<br>
look at the debug logs produced, we need to know which specific AT<br>
command was the one failing and triggering the simple connect error.<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</blockquote></div>