<div dir="ltr"><span style="color:rgb(33,33,33);font-size:13px">Hello,</span><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">we have a standard generic modem (Quactel M66, one uart working in transparent mode).</div><div style="color:rgb(33,33,33);font-size:13px">MM is working just fine - registering and connecting to the home network.</div><div style="color:rgb(33,33,33);font-size:13px">When NetworkManager pickup to establish PPP connection we get the strange problem - seems like sth is blocking the serial port (MM?)</div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">MM version is 1.8.2 </div><div style="color:rgb(33,33,33);font-size:13px"> </div><div style="color:rgb(33,33,33);font-size:13px"><b>Logs from NM</b></div><div style="color:rgb(33,33,33);font-size:13px"><div>Jan 04 17:28:36 f8c790d NetworkManager[690]: <info>  [1546622916.5428] ppp-manager: starting PPP connection</div><div>Jan 04 17:28:36 f8c790d NetworkManager[690]: <debug> [1546622916.5443] ppp-manager: command line: /usr/sbin/pppd nodetach lock nodefaultroute ipv6 , debug ttyUSB0 noipdefault 115200 noauth usepeerdns mru 128 mtu 128 lcp-echo-failure 0 lcp-echo-interval 0 idle 0 ipparam /org/freedesktop/NetworkManager/PPP/14 plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so</div><div>Jan 04 17:28:36 f8c790d NetworkManager[690]: <info>  [1546622916.5679] ppp-manager: pppd started with pid 2596</div><div>Jan 04 17:28:36 f8c790d NetworkManager[690]: <info>  [1546622916.5712] modem["ttyUSB0"]: IPv6 configuration disabled</div><div>Jan 04 17:28:36 f8c790d NetworkManager[690]: <debug> [1546622916.5728] device[0x16da2d8] (ttyUSB0): activation-stage: complete activate_stage3_ip_config_start,v4 (id 1657)</div><div>Jan 04 17:28:36 f8c790d NetworkManager[690]: Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.</div><div>Jan 04 17:28:36 f8c790d pppd[2596]: nm-ppp-plugin: (plugin_init): initializing</div><div><b>Jan 04 17:28:36 f8c790d pppd[2596]: nm-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection'</b></div></div><div style="color:rgb(33,33,33);font-size:13px"><b><br></b></div><div style="color:rgb(33,33,33);font-size:13px"><b><br></b></div><div style="color:rgb(33,33,33);font-size:13px"><div>Jan 04 17:28:57 f8c790d NetworkManager[690]: <warn>  [1546622937.1715] ppp-manager: <b>pppd timed out or didn't initialize our dbus module</b></div><div>Jan 04 17:28:57 f8c790d pppd[2596]: nm-ppp-plugin: (nm_phasechange): status 1 / phase 'dead'</div><div><br></div><div><br></div><div><b>And when we use ppp demon manually (without MM and NM) all just works so hardware is just fine.</b></div><div><br></div><div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-uyb8Gf"><div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-F3hlO"><div dir="ltr"><div><b>root@f8c790d:~#  pppd call gprs</b></div><div>pppd options in effect:</div><div>debug<span style="white-space:pre-wrap">             </span># (from /etc/ppp/peers/gprs)</div><div>nodetach<span style="white-space:pre-wrap">             </span># (from /etc/ppp/peers/gprs)</div><div>dump<span style="white-space:pre-wrap">         </span># (from /etc/ppp/peers/gprs)</div><div>noauth<span style="white-space:pre-wrap">               </span># (from /etc/ppp/peers/gprs)</div><div>user internet<span style="white-space:pre-wrap">                </span># (from /etc/ppp/peers/gprs)</div><div>remotename 3gppp<span style="white-space:pre-wrap">             </span># (from /etc/ppp/peers/gprs)</div><div>/dev/ttyUSB0<span style="white-space:pre-wrap">         </span># (from /etc/ppp/peers/gprs)</div><div>115200<span style="white-space:pre-wrap">               </span># (from /etc/ppp/peers/gprs)</div><div>lock<span style="white-space:pre-wrap">         </span># (from /etc/ppp/peers/gprs)</div><div>connect chat -s -v -f /etc/chatscripts/quectel-chat-connect -T playmetric<span style="white-space:pre-wrap">            </span># (from /etc/ppp/peers/gprs)</div><div>disconnect chat -s -v -f /etc/chatscripts/quectel-chat-disconnect<span style="white-space:pre-wrap">            </span># (from /etc/ppp/peers/gprs)</div><div>nocrtscts<span style="white-space:pre-wrap">            </span># (from /etc/ppp/peers/gprs)</div><div>modem<span style="white-space:pre-wrap">                </span># (from /etc/ppp/peers/gprs)</div><div>asyncmap 0<span style="white-space:pre-wrap">           </span># (from /etc/ppp/options)</div><div>mru 296<span style="white-space:pre-wrap">         </span># (from /etc/ppp/peers/gprs)</div><div>mtu 296<span style="white-space:pre-wrap">              </span># (from /etc/ppp/peers/gprs)</div><div>lcp-echo-failure 4<span style="white-space:pre-wrap">           </span># (from /etc/ppp/options)</div><div>lcp-echo-interval 30<span style="white-space:pre-wrap">            </span># (from /etc/ppp/options)</div><div>show-password<span style="white-space:pre-wrap">           </span># (from /etc/ppp/options)</div><div>novj<span style="white-space:pre-wrap">            </span># (from /etc/ppp/peers/gprs)</div><div>novjccomp<span style="white-space:pre-wrap">            </span># (from /etc/ppp/peers/gprs)</div><div>ipcp-accept-local<span style="white-space:pre-wrap">            </span># (from /etc/ppp/peers/gprs)</div><div>ipcp-accept-remote<span style="white-space:pre-wrap">           </span># (from /etc/ppp/peers/gprs)</div><div>ipparam 3gppp<span style="white-space:pre-wrap">                </span># (from /etc/ppp/peers/gprs)</div><div>noipdefault<span style="white-space:pre-wrap">          </span># (from /etc/ppp/peers/gprs)</div><div>ipcp-max-failure 30<span style="white-space:pre-wrap">          </span># (from /etc/ppp/peers/gprs)</div><div>defaultroute<span style="white-space:pre-wrap">         </span># (from /etc/ppp/peers/gprs)</div><div>usepeerdns<span style="white-space:pre-wrap">           </span># (from /etc/ppp/peers/gprs)</div><div>noccp<span style="white-space:pre-wrap">                </span># (from /etc/ppp/peers/gprs)</div><div>noipx<span style="white-space:pre-wrap">                </span># (from /etc/ppp/options)</div><div>abort on (BUSY)</div><div>abort on (NO CARRIER)</div><div>abort on (NO DIALTONE)</div><div>abort on (ERROR)</div><div>abort on (NO ANSWER)</div><div>timeout set to 30 seconds</div><div>send (AT^M)</div><div>expect (OK)</div><div>^M</div><div>OK</div><div> -- got it</div><div><br></div><div>send (ATE0^M)</div><div>expect (OK)</div><div>^M</div><div>^M</div><div>OK</div><div> -- got it</div><div><br></div><div>send (ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2^M)</div><div>expect (OK)</div><div>^M</div><div>^M</div><div>Quectel_Ltd^M</div><div>Quectel_M66^M</div><div>Revision: M66FAR01A08BT^M</div><div>^M</div><div>SubEdition:V03^M</div><div>^M</div><div>+CSQ: 29,0^M</div><div>^M</div><div>+CPIN: READY^M</div><div>^M</div><div>+COPS: 0,0,"T-Mobile.pl"^M</div><div>^M</div><div>+CGREG: 0,5^M</div><div>^M</div><div>OK</div><div> -- got it</div><div><br></div><div>send (AT+CGDCONT=1,"IP","playmetric",,0,0^M)</div><div>expect (OK)</div><div>^M</div><div>^M</div><div>OK</div><div> -- got it</div><div><br></div><div>send (ATD*99#^M)</div><div>expect (CONNECT)</div><div>^M</div><div>^M</div><div><b>CONNECT</b></div><div> -- got it</div><div><br></div><div>Script chat -s -v -f /etc/chatscripts/quectel-chat-connect -T playmetric finished (pid 29953), status = 0x0</div><div>Serial connection established.</div><div>using channel 13</div><div>Using interface ppp0</div><div>Connect: ppp0 <--> /dev/ttyUSB0</div><div>sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0x604edc61> <pcomp> <accomp>]</div></div></div></div></div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-uyb8Gf"><div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-pv" style="color:rgb(117,117,117)"><div dir="ltr"><div>rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]</div><div>sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]</div><div>rcvd [LCP ConfNak id=0x1 <asyncmap 0xa0000>]</div></div></div></div></div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-uyb8Gf"><div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-F3hlO"><div dir="ltr"><div>sent [LCP ConfReq id=0x2 <mru 296> <asyncmap 0xa0000> <magic 0x604edc61> <pcomp> <accomp>]</div><div>rcvd [LCP ConfAck id=0x2 <mru 296> <asyncmap 0xa0000> <magic 0x604edc61> <pcomp> <accomp>]</div><div>sent [LCP EchoReq id=0x0 magic=0x604edc61]</div><div>sent [PAP AuthReq id=0x1 user="internet" password="internet"]</div><div>rcvd [LCP EchoRep id=0x0 magic=0x0]</div><div>rcvd [PAP AuthAck id=0x1 ""]</div><div><b>PAP authentication succeeded</b></div><div>sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]</div></div></div></div></div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-uyb8Gf"><div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-pv" style="color:rgb(117,117,117)"><div dir="ltr"><div>rcvd [IPCP ConfReq id=0x1 <addr 192.168.254.254>]</div><div>sent [IPCP ConfAck id=0x1 <addr 192.168.254.254>]</div></div></div></div></div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-uyb8Gf"><div><div class="inbox-inbox-m_300376979952624898m_1828765830857220006inbox-inbox-F3hlO"><div dir="ltr"><div>rcvd [IPCP ConfNak id=0x1 <addr 10.195.226.215> <ms-dns1 89.108.195.20> <ms-dns2 89.108.202.21>]</div><div>sent [IPCP ConfReq id=0x2 <addr 10.195.226.215> <ms-dns1 89.108.195.20> <ms-dns2 89.108.202.21>]</div><div>rcvd [IPCP ConfAck id=0x2 <addr 10.195.226.215> <ms-dns1 89.108.195.20> <ms-dns2 89.108.202.21>]</div><div>local  IP address 10.195.226.215</div><div>remote IP address 192.168.254.254</div><div>primary   DNS address 89.108.195.20</div><div>secondary DNS address 89.108.202.21</div><div>Script /etc/ppp/ip-up started (pid 29971)</div><div>Script /etc/ppp/ip-up finished (pid 29971), status = 0x0</div><div><br></div><div><br></div><div><b>And connection works...</b></div><div><b><br></b></div><div><div><b>root@f8c790d:~# ping 8.8.8.8 -Ippp0</b></div><div>PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.</div><div>64 bytes from <a href="http://8.8.8.8/" target="_blank">8.8.8.8</a>: icmp_seq=1 ttl=120 time=802 ms</div><div>64 bytes from <a href="http://8.8.8.8/" target="_blank">8.8.8.8</a>: icmp_seq=2 ttl=120 time=511 ms</div><div>64 bytes from <a href="http://8.8.8.8/" target="_blank">8.8.8.8</a>: icmp_seq=3 ttl=120 time=164 ms</div><div>64 bytes from <a href="http://8.8.8.8/" target="_blank">8.8.8.8</a>: icmp_seq=4 ttl=120 time=167 ms</div><div>64 bytes from <a href="http://8.8.8.8/" target="_blank">8.8.8.8</a>: icmp_seq=5 ttl=120 time=282 ms</div></div></div></div></div></div></div></div><div style="color:rgb(33,33,33);font-size:13px"><b><br></b></div><div style="color:rgb(33,33,33);font-size:13px"><b>Could you help us on this?</b></div><div style="color:rgb(33,33,33);font-size:13px"><b><br></b></div><div style="color:rgb(33,33,33);font-size:13px"><b><br></b></div><div style="color:rgb(33,33,33);font-size:13px"><b>ps. Our NM connection profile</b></div><div style="color:rgb(33,33,33);font-size:13px"><b><br></b></div><div style="color:rgb(33,33,33);font-size:13px"><div><font color="#212121"><b>root@f8c790d:/etc/NetworkManager/system-connections# cat orange.nmconnection </b></font></div><div><font color="#212121"><b>[connection]</b></font></div><div><font color="#212121"><b>id=orange</b></font></div><div><font color="#212121"><b>uuid=da963f44-8d1e-4338-872f-9d9163de0832</b></font></div><div><font color="#212121"><b>type=gsm</b></font></div><div><font color="#212121"><b>interface-name=ttyUSB0</b></font></div><div><font color="#212121"><b>permissions=</b></font></div><div><font color="#212121"><b>#gateway-ping-timeout=100</b></font></div><div><br></div><div><font color="#212121"><b>[gsm]</b></font></div><div><font color="#212121"><b>apn=playmetric</b></font></div><div><font color="#212121"><b>#username=internet</b></font></div><div><font color="#212121"><b>#password=internet</b></font></div><div><font color="#212121"><b>#home-only=true</b></font></div><div><font color="#212121"><b>number=*99#</b></font></div><div><font color="#212121"><b>#pin=7744</b></font></div><div><font color="#212121"><b><br></b></font></div><div><font color="#212121"><b>[ipv4]</b></font></div><div><font color="#212121"><b>dns-search=</b></font></div><div><font color="#212121"><b>method=auto</b></font></div><div><font color="#212121"><b>dhcp-timeout=100</b></font></div><div><font color="#212121"><b><br></b></font></div><div><font color="#212121"><b>[ipv6]</b></font></div><div><font color="#212121"><b>addr-gen-mode=stable-privacy</b></font></div><div><font color="#212121"><b>dns-search=</b></font></div><div><font color="#212121"><b>method=auto</b></font></div><div><font color="#212121"><b>dhcp-timeout=100</b></font></div><div><font color="#212121"><b><br></b></font></div><div><font color="#212121"><b>[ppp]</b></font></div><div><font color="#212121"><b>baud=115200</b></font></div><div><font color="#212121"><b>mru=128</b></font></div><div><font color="#212121"><b>mtu=128</b></font></div><div><font color="#212121"><b>crtscts=false</b></font></div><div><font color="#212121"><b><br></b></font></div><div><font color="#212121"><b>[serial]</b></font></div><div><font color="#212121"><b>baud=115200</b></font></div><div><font color="#212121"><b>root@f8c790d:/etc/NetworkManager/system-connections# </b></font></div></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="gmail_signature" style="line-height:normal"><div class="gmail_signature" style="line-height:normal"><span style="color:rgb(117,117,117);font-family:sans-serif">best regards / z poważaniem</span><br></div><div class="gmail_signature" style="line-height:normal"><span style="color:rgb(117,117,117);font-family:sans-serif"><br></span></div><div class="gmail_signature" style="line-height:normal"><div class="gmail_signature" style="line-height:normal"><span style="color:rgb(117,117,117);font-family:sans-serif">Przemysław Gałązka, CEO</span></div></div><div class="gmail_signature" style="line-height:normal"><span style="color:rgb(117,117,117);font-family:sans-serif">+48 889 348 628</span><br></div><div class="gmail_signature" style="line-height:normal"><br></div><div class="gmail_signature" style="line-height:normal"><span class="inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-gr_ inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-gr_8 inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-gr-alert inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-gr_spell inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-gr_inline_cards inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-gr_run_anim inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-ContextualSpelling inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-ins-del inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-multiReplace" id="inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-8" style="font-family:sans-serif;font-size:inherit;display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat;color:inherit"><a href="http://www.linkedin.com/in/przemekgalazka" style="font-family:sans-serif;font-size:small">linkedin</a></span><br></div><div class="gmail_signature" style="line-height:normal"><br></div><div class="gmail_signature" style="line-height:normal"><font color="#757575" face="sans-serif"><a href="mailto:przemek@sense.com.pl">przemek@sense.com.pl</a> </font></div><div class="gmail_signature" style="line-height:normal"><a href="https://www.sense-monitoring.com/?utm_source=stopka&utm_medium=mail&utm_campaign=Przemek" style="font-family:sans-serif">https://www.sense-monitoring.com</a><br></div><div class="gmail_signature" style="line-height:normal"><br></div><div class="gmail_signature" style="line-height:normal"><img alt="sense-logo_monitoring-poziom-s2-add135aef733ff520b43a7bf69e9cd05.png (281×100)" src="http://sense-monitoring.com/assets/logo/sense-logo_monitoring-poziom-s2-add135aef733ff520b43a7bf69e9cd05.png"></div><div class="gmail_signature" style="line-height:normal"><font color="#757575" face="sans-serif"><br></font></div><div class="gmail_signature" style="line-height:normal"><font color="#757575" face="sans-serif">Sense Monitoring sp. z o.o</font></div><div class="gmail_signature" style="line-height:normal"><font color="#757575" face="sans-serif"><div class="gmail_signature" style="line-height:normal">Nalkowskiej 11</div><div class="gmail_signature" style="line-height:normal">38-500 Sanok, Poland</div></font></div><div class="gmail_signature" style="line-height:normal"><font color="#757575" face="sans-serif">KRS:0000676863, NIP: 5213780421</font></div><div class="gmail_signature" style="line-height:normal"><font color="#757575" face="sans-serif">BDO 000062957</font></div><div class="gmail_signature" style="line-height:normal"><font color="#757575" face="sans-serif"><br></font></div><div class="gmail_signature" style="line-height:normal"><span style="font-size:x-small;color:rgb(204,204,204);font-family:sans-serif">Please note that all information in this message or attachmentes thereof shall be construed as business secrets and are shared only with the intended recepients. // Otrzymana przez Panią/Pana wiadomość oraz ewentualne załączone do niej pliki stanowią tajemnicę przedsiębiorstwa i są przeznaczone tylko dla wymienionych adresatów.</span><br></div></div></div></div>