<div dir="ltr"><div><div><div><span style="font-family:arial,helvetica,sans-serif">Hi All.<br><br>This post is mostly similar to <a href="https://lists.freedesktop.org/archives/libqmi-devel/2016-August/001647.html" target="_blank">https://lists.freedesktop.org/<wbr>archives/libqmi-devel/2016-<wbr>August/001647.html</a>, except there I am trying with "qmicli" throughout, and here I try with "mmcli" throughout.<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">Anyways, for brevity, I will put in the complete relevant-content here too.<br></span><pre><span style="font-family:arial,helvetica,sans-serif">I switched my modem into QMI-mode, and rebooted the SOC (Ubuntu-on-SSD-interfaced-</span><wbr><span style="font-family:arial,helvetica,sans-serif">with-modem).
After reboot, following is the information ::</span></pre><span style="font-family:arial,helvetica,sans-serif"><br></span><pre><span style="font-family:arial,helvetica,sans-serif">== Pre-Requisites are in place ==
##############################</span><wbr><span style="font-family:arial,helvetica,sans-serif">##############################
root@logic-desktop:~# <b>lsusb</b><br>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>Bus 001 Device 005: ID 1199:68a2 Sierra Wireless, Inc. <br>Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB<br>Bus 001 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse<br>Bus 001 Device 002: ID 046d:c31d Logitech, Inc. Media Keyboard K200<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
root@logic-desktop:~# <b>ps -aux | grep qmi-proxy</b><br>root 865 0.0 0.1 28032 5732 ? Sl 18:58 0:00 /usr/lib/libqmi/qmi-proxy<br>root 2563 0.0 0.0 4692 2072 pts/2 S+ 19:05 0:00 grep --color=auto qmi-proxy
root@logic-desktop:~# <b>lsmod | grep sierra</b><br><br>root@logic-desktop:~# <b>lsmod | grep qcserial</b><br>qcserial 13006 0 <br>usb_wwan 19306 1 qcserial<br>usbserial 38972 2 qcserial,usb_wwan<br><br>root@logic-desktop:~# <b>lsmod | grep qmi_wwan</b><br>qmi_wwan 21469 0 <br>cdc_wdm 18518 2 qmi_wwan<br>usbnet 37829 1 qmi_wwan
##############################</span><wbr><span style="font-family:arial,helvetica,sans-serif">##############################
== Initial-Interface Listing ==
##############################</span><wbr><span style="font-family:arial,helvetica,sans-serif">##############################<br>root@logic-desktop:~# <b>ifconfig</b><br>eth1 Link encap:Ethernet HWaddr 00:90:0b:4c:65:fa <br> UP BROADCAST MULTICAST MTU:1500 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br> Memory:d0700000-d071ffff <br><br>eth2 Link encap:Ethernet HWaddr 00:90:0b:4c:65:fb <br> inet6 addr: fe80::290:bff:fe4c:65fb/64 Scope:Link<br> UP BROADCAST MULTICAST MTU:1500 Metric:1<br> RX packets:3910 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:3448 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:3143983 (3.1 MB) TX bytes:540896 (540.8 KB)<br> Memory:d0600000-d061ffff <br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:65536 Metric:1<br> RX packets:2398 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:2398 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:188946 (188.9 KB) TX bytes:188946 (188.9 KB)<br>##############################</span><wbr><span style="font-family:arial,helvetica,sans-serif">##############################<br><br><br><br><br><br>== Connection-Establishment ==
##############################</span><wbr><span style="font-family:arial,helvetica,sans-serif">##############################<br>root@logic-desktop:~# <b>mmcli -m 0 -e</b><br>successfully enabled the modem<br><br>root@logic-desktop:~# <b>mmcli -m 0 --simple-connect="apn=<a href="http://airtelgprs.com" target="_blank">airtelgp<wbr>rs.com</a>"</b><br>successfully connected the modem<br><br>root@logic-desktop:~# <b>mmcli -m 0</b><br><br>/org/freedesktop/</span><wbr><span style="font-family:arial,helvetica,sans-serif">ModemManager1/Modem/0 (device id '</span><wbr><span style="font-family:arial,helvetica,sans-serif">6eef1b98754cbd133c7a802b89bfcc</span><wbr><span style="font-family:arial,helvetica,sans-serif">cb55c2f464')<br> -------------------------<br> Hardware | manufacturer: 'QUALCOMM INCORPORATED'<br> | model: '0'<br> | revision: 'SCAUTNZ 1 [Oct 21 2011 09:30:38]'<br> | supported: 'gsm-umts'<br> | current: 'gsm-umts'<br> | equipment id: '013087000947186'<br> -------------------------<br> System | device: '/sys/devices/pci0000:00/0000:</span><wbr><span style="font-family:arial,helvetica,sans-serif">00:14.0/usb1/1-4/1-4.1'<br> | drivers: 'qmi_wwan, qcserial'<br> | plugin: 'Sierra'<br> | primary port: 'cdc-wdm0'<br> | ports: 'ttyUSB1 (at), cdc-wdm0 (qmi), wwan0 (net)'<br> -------------------------<br> Numbers | own : 'unknown'<br> -------------------------<br> Status | lock: 'sim-pin2'<br> | unlock retries: 'sim-pin (10), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'<br> | state: 'connected'<br> | power state: 'on'<br> | access tech: 'gsm'<br> | signal quality: '71' (recent)<br> -------------------------<br> Modes | supported: 'allowed: 2g; preferred: none<br> | allowed: 3g; preferred: none<br> | allowed: 2g, 3g; preferred: none<br> | allowed: 2g, 3g; preferred: 2g<br> | allowed: 2g, 3g; preferred: 3g'<br> | current: 'allowed: 2g, 3g; preferred: none'<br> -------------------------<br> Bands | supported: 'dcs, egsm, pcs, g850, u2100, u1900, u800, u850'<br> | current: 'dcs, egsm, pcs, g850, u2100, u1900, u800, u850'<br> -------------------------<br> IP | supported: 'ipv4, ipv6, ipv4v6'<br> -------------------------<br> 3GPP | imei: '013087000947186'<br> | enabled locks: 'none'<br> | operator id: '659957'<br> | operator name: 'unknown'<br> | subscription: 'unknown'<br> | registration: 'home'<br> -------------------------<br> SIM | path: '/org/freedesktop/</span><wbr><span style="font-family:arial,helvetica,sans-serif">ModemManager1/SIM/0'<br><br> -------------------------<br> Bearers | paths: '/org/freedesktop/</span><wbr><span style="font-family:arial,helvetica,sans-serif">ModemManager1/Bearer/0'<br>##############################</span><wbr><span style="font-family:arial,helvetica,sans-serif">##############################<br><br><br><br><br>== Latest-Interface Listing ==
<br>##############################</span><wbr><span style="font-family:arial,helvetica,sans-serif">##############################
root@logic-desktop:~# <b>ifconfig</b><br>eth0 Link encap:Ethernet HWaddr 00:90:0b:4c:65:fa <br> UP BROADCAST MULTICAST MTU:1500 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br> Memory:d0700000-d071ffff <br><br>eth2 Link encap:Ethernet HWaddr 00:90:0b:4c:65:fb <br> inet6 addr: fe80::290:bff:fe4c:65fb/64 Scope:Link<br> UP BROADCAST MULTICAST MTU:1500 Metric:1<br> RX packets:2023 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:1819 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:1561030 (1.5 MB) TX bytes:318922 (318.9 KB)<br> Memory:d0600000-d061ffff <br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:65536 Metric:1<br> RX packets:948 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:948 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:77992 (77.9 KB) TX bytes:77992 (77.9 KB)<br>##############################</span><wbr><span style="font-family:arial,helvetica,sans-serif">##############################</span></pre><span style="font-family:arial,helvetica,sans-serif"><br><br></span><pre><span style="font-family:arial,helvetica,sans-serif">== Network-Trials ==
<br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">##############################</span><wbr><span style="font-family:arial,helvetica,sans-serif">##############################<br>root@logic-desktop:~# <b>telnet <a href="http://www.google.com">www.google.com</a> 80</b><br>telnet: could not resolve <a href="http://www.google.com/80">www.google.com/80</a>: Name or service not known<br></span></pre><span style="font-family:arial,helvetica,sans-serif">root@logic-desktop:~# <b>ping <a href="http://www.google.com">www.google.com</a></b><br>ping: unknown host <a href="http://www.google.com">www.google.com</a></span><span style="font-family:arial,helvetica,sans-serif"><br>##############################</span><span style="font-family:arial,helvetica,sans-serif">##############################<br><br><br></span></div><span style="font-family:arial,helvetica,sans-serif">What am I missing?<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">Will be grateful fo pointers.<br></span><div><div><span style="font-family:arial,helvetica,sans-serif"><br> <br></span><div><span style="font-family:arial,helvetica,sans-serif">Thanks and </span>Regards,<br><span style="font-family:arial,helvetica,sans-serif"></span><div data-smartmail="gmail_signature"><span style="font-family:arial,helvetica,sans-serif">Ajay<br></span></div>
</div></div></div></div>