<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail-h5"><span class="gmail-m_646781293781289316gmail-"></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-m_646781293781289316gmail-">
</span>> *Hi all,*<br>
><br>
> *I haven't been able to get it working and getting an Ip on any of this<br>
> two,<br>
<br>
Really weird. I have no idea what could be wrong.<br>
<br>
> so I decided to go for Windows 10 to try.*<br>
><br>
><br>
> *I installed: GenericDriverSetup.exe*<br>
><br>
> * Skylight_Generic*<br>
><br>
> * 9999999_9904609_SWI9X30C_02.2<wbr>0.03.00_00_GENERIC_002.017.000<wbr>*<br>
><br>
><br>
><br>
> *and it connects and gets IP address without any problem in Windows 10.*<br>
><br>
><br>
><br>
> *After that, I put the MC7455 modem into the second host devices (the one<br>
<span class="gmail-m_646781293781289316gmail-">> thar has Ubuntu 16.04 and kernel version ico1@ico1:~$ uname<br>
</span>> -r4.17.0-041700rc1-lowlatency*<br>
><br>
> *it appers in MBIM mode:*<br>
<br>
Yes, the Windows drivers will do that by default.<br>
<div><div class="gmail-m_646781293781289316gmail-h5"><br>
><br>
> ico1@ico1:~$ mmcli -m 0<br>
><br>
> /org/freedesktop/ModemManager1<wbr>/Modem/0 (device id<br>
> '6bfe7d4ea386210e64dde8fc4a0d7<wbr>aa44eb7712a')<br>
> -------------------------<br>
> Hardware | manufacturer: 'Sierra'<br>
> | model: 'MBIM [1199:9071]'<br>
> | revision: 'SWI9X30C_02.20.03.00'<br>
> | supported: 'gsm-umts, lte'<br>
> | current: 'gsm-umts, lte'<br>
> | equipment id: '359072060686975'<br>
> -------------------------<br>
> System | device: '/sys/devices/pci0000:00/0000:<wbr>00:15.0/usb1/1-4'<br>
> | drivers: 'cdc_mbim'<br>
> | plugin: 'Sierra'<br>
> | primary port: 'cdc-wdm0'<br>
> | ports: 'wwp0s21f0u4i12 (net), cdc-wdm0 (mbim)'<br>
> -------------------------<br>
> Numbers | own : 'unknown'<br>
> -------------------------<br>
> Status | lock: 'none'<br>
> | unlock retries: 'sim-pin2 (4)'<br>
> | state: 'registered'<br>
> | power state: 'on'<br>
> | access tech: 'umts'<br>
> | signal quality: '0' (cached)<br>
> -------------------------<br>
> Modes | supported: 'allowed: 3g, 4g; preferred: none'<br>
> | current: 'allowed: 3g, 4g; preferred: none'<br>
> -------------------------<br>
> Bands | supported: 'unknown'<br>
> | current: 'unknown'<br>
> -------------------------<br>
> IP | supported: 'ipv4, ipv6, ipv4v6'<br>
> -------------------------<br>
> 3GPP | imei: '359072060686975'<br>
> | enabled locks: 'fixed-dialing'<br>
> | operator id: '732101'<br>
> | operator name: 'Claro'<br>
> | subscription: 'unknown'<br>
> | registration: 'home'<br>
> -------------------------<br>
> SIM | path: '/org/freedesktop/ModemManager<wbr>1/SIM/0'<br>
><br>
> -------------------------<br>
> Bearers | paths: 'none'<br>
><br>
><br>
> ico1@ico1:~$ mmcli -m 0 --simple-status<br>
><br>
> /org/freedesktop/ModemManager1<wbr>/Modem/0<br>
> -------------------------<br>
> Status | state: 'registered'<br>
> | signal quality: '54' (recent)<br>
> | bands: 'unknown'<br>
> | access tech: 'umts'<br>
> -------------------------<br>
> 3GPP | registration: 'home'<br>
> | operator code: '732101'<br>
> | operator name: 'Claro'<br>
> | subscription: 'unknown'<br>
><br>
> ico1@ico1:~$<br>
><br>
</div></div>> *And it connects without any problem*<br>
<span class="gmail-m_646781293781289316gmail-"><br>
> ico1@ico1:~$ sudo mmcli -m 0 --simple-connect="apn=<a href="http://internet.comcel.com.co" rel="noreferrer" target="_blank">internet<wbr>.comcel.com.co</a><br>
> ,user=comcelweb,ip-type=ipv4,a<wbr>llowed-auth=pap,password=comce<wbr>lweb" -v<br>
> [sudo] password for ico1:<br>
> [24 abr 2018, 15:00:28] [Debug] Forcing request to be run asynchronously<br>
> [24 abr 2018, 15:00:28] [Debug] Assuming '0' is the modem index<br>
> [24 abr 2018, 15:00:28] [Debug] ModemManager process found at ':1.3'<br>
> [24 abr 2018, 15:00:28] [Debug] Modem found at<br>
> '/org/freedesktop/ModemManager<wbr>1/Modem/0'<br>
><br>
> [24 abr 2018, 15:00:28] [Debug] Asynchronously connecting the modem...<br>
> successfully connected the modem<br>
<br>
</span>Great! If you are happy with the modem in MBIM mode, then there is no<br>
reason not to use that. You'll still have access to all the powers of<br>
QMI through the QMI-in-MBIM wrapper service. See the qmicli<br>
"--device-open-mbim" parameter.<br>
<br>
Too bad you have to use Windows to switch modes though. Or do you have<br>
a working AT command port in QMI mode? If so, then you can switch to<br>
MBIM using the AT!USBCOMP command. You'll need AT!ENTERCND="A710"<br>
first. Then run "AT!USBCOMP?" and "AT!USBCOMP=?" to see your current<br>
setting and options.<br>
<font size="2"><b><span class="gmail-m_646781293781289316gmail-HOEnZb"><font color="#888888"><br></font></span></b></font></blockquote></div></div><div><font size="2"><b>There is <br>/dev/cdc-wdm0 named device (there is no /dev/cdc-wdm1)<br></b></font></div><div><font size="2"><b>There is not /dev/ttyUSBX named devices, so I can use AT commands in this specific host device<br></b></font><br>ico1@ico1:~$ ls /dev/tty*<br>/dev/tty /dev/tty16 /dev/tty24 /dev/tty32 /dev/tty40 /dev/tty49 /dev/tty57 /dev/tty8 /dev/ttyS14 /dev/ttyS22 /dev/ttyS30<br>/dev/tty0 /dev/tty17 /dev/tty25 /dev/tty33 /dev/tty41 /dev/tty5 /dev/tty58 /dev/tty9 /dev/ttyS15 /dev/ttyS23 /dev/ttyS31<br>/dev/tty1 /dev/tty18 /dev/tty26 /dev/tty34 /dev/tty42 /dev/tty50 /dev/tty59 /dev/ttyprintk /dev/ttyS16 /dev/ttyS24 /dev/ttyS4<br>/dev/tty10 /dev/tty19 /dev/tty27 /dev/tty35 /dev/tty43 /dev/tty51 /dev/tty6 /dev/ttyS0 /dev/ttyS17 /dev/ttyS25 /dev/ttyS5<br>/dev/tty11 /dev/tty2 /dev/tty28 /dev/tty36 /dev/tty44 /dev/tty52 /dev/tty60 /dev/ttyS1 /dev/ttyS18 /dev/ttyS26 /dev/ttyS6<br>/dev/tty12 /dev/tty20 /dev/tty29 /dev/tty37 /dev/tty45 /dev/tty53 /dev/tty61 /dev/ttyS10 /dev/ttyS19 /dev/ttyS27 /dev/ttyS7<br>/dev/tty13 /dev/tty21 /dev/tty3 /dev/tty38 /dev/tty46 /dev/tty54 /dev/tty62 /dev/ttyS11 /dev/ttyS2 /dev/ttyS28 /dev/ttyS8<br>/dev/tty14 /dev/tty22 /dev/tty30 /dev/tty39 /dev/tty47 /dev/tty55 /dev/tty63 /dev/ttyS12 /dev/ttyS20 /dev/ttyS29 /dev/ttyS9<br>/dev/tty15 /dev/tty23 /dev/tty31 /dev/tty4 /dev/tty48 /dev/tty56 /dev/tty7 /dev/ttyS13 /dev/ttyS21 /dev/ttyS3<br>ico1@ico1:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-m_646781293781289316gmail-HOEnZb"><font color="#888888">Bjørn<br></font></span></blockquote><div><br></div><div><font size="2"><b>There is an IP in bearer information</b></font><br></div></div><font size="2"><font size="1"><span class="gmail-">ico1@ico1:~$ mmcli -b 0<br>Bearer '/org/freedesktop/<wbr>ModemManager1/Bearer/0'<br> -------------------------<br> Status | connected: 'yes'<br> | suspended: 'no'<br> | <font size="2"><b> interface: 'wwp0s21f0u4i12'</b></font><br></span><span class="gmail-"> | IP timeout: '20'<br> -------------------------<br> Properties | apn: '<a href="http://internet.comcel.com.co" target="_blank">internet.comcel.com.co</a>'<br> | roaming: 'allowed'<br> | IP type: 'ipv4'<br></span> | user: 'comcelweb'<span class="gmail-"><br> | password: 'comcelweb'<br> | number: 'none'<br> | Rm protocol: 'unknown'<br> -------------------------</span></font><b><br> IPv4 configuration | method: 'static'<br> | address: '10.142.47.170'<br> | prefix: '30'<br> | gateway: '10.142.47.169'<br> | DNS: '190.157.8.89', '8.8.8.8'<br> | MTU: '1500'</b><br><font size="1"><span class="gmail-"> -------------------------<br> IPv6 configuration | method: 'unknown'<br> -------------------------<br></span> Stats | Duration: '689'<span class="gmail-"><br> | Bytes received: 'N/A'<br> | Bytes transmitted: 'N/A'<br></span>ico1@ico1:~$ </font></font><font size="1"><br></font><br></div><div class="gmail_extra"><font size="2">But it doesn't appear when using ip addr<br><b><br></b></font></div></div></blockquote><div><font size="2">ico1@ico1:~$ ip addr<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000<br> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br> inet <a href="http://127.0.0.1/8">127.0.0.1/8</a> scope host lo<br> valid_lft forever preferred_lft forever<br> inet6 ::1/128 scope host <br> valid_lft forever preferred_lft forever<br>2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000<br> link/ether 00:60:e0:70:30:8d brd ff:ff:ff:ff:ff:ff<br> inet <a href="http://192.168.4.110/24">192.168.4.110/24</a> brd 192.168.4.255 scope global enp1s0<br> valid_lft forever preferred_lft forever<br> inet6 fe80::260:e0ff:fe70:308d/64 scope link <br> valid_lft forever preferred_lft forever<br>3: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000<br> link/ether 00:60:e0:70:30:8e brd ff:ff:ff:ff:ff:ff</font><b><font size="2"><br>4: wwp0s21f0u4i12: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000<br> link/ether 7e:a3:8a:44:19:13 brd ff:ff:ff:ff:ff:ff<br> inet6 fe80::7ca3:8aff:fe44:1913/64 scope link <br> valid_lft forever preferred_lft forever<br></font></b><font size="2">ico1@ico1:~$ </font><br></div></div><b><br>I use udhcp for trying to get an IP but it never success (same using sudo dhclient wwp0s21f0u4i12)</b><br>ico1@ico1:~$ sudo udhcpc -i wwp0s21f0u4i12<br>udhcpc (v1.22.1) started<br>Sending discover...<br>Sending discover...<br>Sending discover...<b><br></b><br></div><div class="gmail_extra"><b><font size="4">How could I get the IP address on wwp0s21f0u4i12 (apperaring using ip addr or ifconfig)?</font><br></b></div><div class="gmail_extra"><b><br></b></div><div class="gmail_extra"><b>On the other host device, I get the following:<br><br></b>ico3@ico3:~$ ls /dev/ttyUSB*<br>/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2<br><br>ico3@ico3:~$ ls /dev/cdc-wdm*<br>/dev/cdc-wdm0 /dev/cdc-wdm1<br><b><br></b></div><div class="gmail_extra"><b>I connect to AT command port<br></b><font size="1">ati<br>Manufacturer: Sierra Wireless, Incorporated<br>Model: MC7455<br>Revision: SWI9X30C_02.24.03.00 r6978 CARMD-EV-FRMWR2 2017/03/02 13:36:45<br>MEID: 35907206068764<br>IMEI: 359072060687643<br>IMEI SV: 9<br>FSN: LQ709645770410<br>+GCAP: +CGSM,+DS,+ES<br><br>OK<br>at!entercnd="A710"<br>OK<br></font><b><br></b></div><div class="gmail_extra"><font size="1">at!usbcomp?<br>Config Index: 1<br>Config Type: 1 (Generic)<br>Interface bitmask: 0000050D (diag,nmea,modem,rmnet0,rmnet1)<br>OK<br>at!usbcomp=?<br>!USBCOMP:<br>AT!USBCOMP=<Config Index>,<Config Type>,<Interface bitmask><br> <Config Index> - configuration index to which the composition applies, should be 1<br><br> <Config Type> - 1:Generic, 2:USBIF-MBIM, 3:RNDIS<br> config type 2/3 should only be used for specific Sierra PIDs: 68B1, 9068<br> customized VID/PID should use config type 1<br><br> <Interface bitmask> - DIAG - 0x00000001,<br> NMEA - 0x00000004,<br> MODEM - 0x00000008,<br> RMNET0 - 0x00000100,<br> RMNET1 - 0x00000400,<br> MBIM - 0x00001000,<br> e.g.<br> 10D - diag, nmea, modem, rmnet interfaces enabled<br> 1009 - diag, modem, mbim interfaces enabled<br><br> The default configuration is:<br> at!usbcomp=1,1,10F<br>OK<br><br><font size="2"><b>Change to MBIM Mode</b></font><br>at!usbcomp=1,1,1009<br>OK<br>at!usbcomp?<br>Config Index: 1<br>Config Type: 1 (Generic)<br>Interface bitmask: 00001009 (diag,modem,mbim) <br>OK<br><br><font size="2"><b>Start ModemManager</b></font><br>ico3@ico3:~$ sudo systemctl start ModemManager<br>ico3@ico3:~$ mmcli -L<br>No modems were found<br>ico3@ico3:~$ <br></font></div><div class="gmail_extra"><font size="1">But modem is not shown<br></font></div><div class="gmail_extra"><font size="1"><font size="2"><b><br>reboot and now it appears</b></font><br>ico3@ico3:~$ mmcli -L<br>Found 1 modems:<br> /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated] MC7455<br>ico3@ico3:~$ <br><br></font></div><div class="gmail_extra"><font size="1"><font size="2"><b>I try to connect to AT command port but It doesn't receive commands and are shown responses to commands not entered by me</b></font><br>+CIND: 0,3,1,0,0,1,1,0<br><br>OK<br><br>+CSQ: 19,99<br><br>OK<br><br>+CIND: 0,3,1,0,0,1,1,0<br><br>OK<br><br>+CSQ: 19,99<br><br>OK<br><br></font></div><div class="gmail_extra"><font size="1"><b><font size="2">See ModemManager status</font></b><br></font></div><div class="gmail_extra">ico3@ico3:~$ sudo systemctl status ModemManager<br>[sudo] password for ico3: <br>● ModemManager.service - Modem Manager<br> Loaded: loaded (/lib/systemd/system/ModemManager.service; enabled; vendor preset: enabled)<br> Active: active (running) since Tue 2018-04-24 20:10:40 -05; 12min ago<br> Main PID: 795 (ModemManager)<br> Tasks: 3 (limit: 4915)<br> Memory: 7.5M<br> CPU: 602ms<br> CGroup: /system.slice/ModemManager.service<br> └─795 /usr/sbin/ModemManager<br><br>abr 24 20:10:56 ico3 ModemManager[795]: <warn> Could not grab port (usbmisc/cdc-wdm1): 'Cannot add port 'usbmisc/cdc-wdm1', unsupported'<br>abr 24 20:10:56 ico3 ModemManager[795]: <warn> Could not grab port (tty/ttyUSB1): 'Cannot add port 'tty/ttyUSB1', unhandled serial type'<br>abr 24 20:10:56 ico3 ModemManager[795]: <warn> (ttyUSB2): port attributes not fully set<br>abr 24 20:10:56 ico3 ModemManager[795]: <info> Modem for device at '/sys/devices/pci0000:00/0000:00:15.0/usb1/1-4' successfully created<br>abr 24 20:10:57 ico3 ModemManager[795]: <info> Modem: state changed (unknown -> disabled)<br>abr 24 20:10:57 ico3 ModemManager[795]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)<br>abr 24 20:10:57 ico3 ModemManager[795]: <warn> (ttyUSB2): port attributes not fully set<br>abr 24 20:10:58 ico3 ModemManager[795]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown -> regis<br>abr 24 20:10:58 ico3 ModemManager[795]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (registering -> h<br>abr 24 20:10:59 ico3 ModemManager[795]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> registered)<br>lines 1-20/20 (END)<br><br></div><div class="gmail_extra">start ModemManager again and modem not foung <br>ico3@ico3:~$ mmcli -L<br>No modems were found<br><br></div><div class="gmail_extra"><b>reset modem from at command AT!reset, then Modem appeard, not AT command port is ttyUSB1</b><br>ico3@ico3:~$ mmcli -L<br>Found 1 modems:<br> /org/freedesktop/ModemManager1/Modem/0 [Sierra] MBIM [1199:9071]<br><br>ico3@ico3:~$ ls /dev/ttyUSB*<br>/dev/ttyUSB0 /dev/ttyUSB1<br>ico3@ico3:~$ ls /dev/cdc-wdm0 <br>/dev/cdc-wdm0<br><br>ico3@ico3:~$ mmcli -m 0<br>/org/freedesktop/ModemManager1/Modem/0 (device id '150fa7c148912f7d253da82a30dc3015d41a985c')<br> -------------------------<br> Hardware | manufacturer: 'Sierra'<br> | model: 'MBIM [1199:9071]'<br> | revision: 'SWI9X30C_02.24.03.00'<br> | supported: 'gsm-umts, lte'<br> | current: 'gsm-umts, lte'<br> | equipment id: '359072060687643'<br> -------------------------<br> System | device: '/sys/devices/pci0000:00/0000:00:15.0/usb1/1-4'<br> | drivers: 'qcserial, cdc_mbim'<br> | plugin: 'Sierra'<br> | primary port: 'cdc-wdm0'<br> | ports: 'ttyUSB0 (qcdm),<b> ttyUSB1 (at</b>), wwp0s21f0u4i12 (net), cdc-wdm0 (mbim)'<br><br>ico3@ico3:~$ sudo mbim-network /dev/cdc-wdm0 start<br>Loading profile at /etc/mbim-network.conf...<br> APN: <a href="http://internet.comcel.com.co">internet.comcel.com.co</a><br> APN auth protocol: PAP<br> APN user: comcelweb<br> APN password: unset<br> mbim-proxy: no<br>Querying subscriber ready status 'mbimcli -d /dev/cdc-wdm0 --query-subscriber-ready-status --no-close '...<br>error: couldn't open the MbimDevice: Transaction timed out<br><br>Querying registration state 'mbimcli -d /dev/cdc-wdm0 --query-registration-state --no-open= --no-close '...<br>error: invalid transaction ID specified: <br><br>Attaching to packet service with 'mbimcli -d /dev/cdc-wdm0 --attach-packet-service --no-open= --no-close '...<br>error: invalid transaction ID specified: <br>Starting network with 'mbimcli -d /dev/cdc-wdm0 --connect=apn='<a href="http://internet.comcel.com.co">internet.comcel.com.co</a>',auth='PAP',username='comcelweb' --no-open= --no-close '...<br>error: invalid transaction ID specified: <br>Network start failed<br><br>ico3@ico3:~$ sudo mmcli -m 0 --simple-connect="apn=<a href="http://internet.comcel.com.co">internet.comcel.com.co</a>,user=comcelweb,ip-type=ipv4,allowed-auth=pap"<br>error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.libmbim.Error.Status.NotInitialized: NotInitialized'<br><br>ico3@ico3:~$ sudo qmicli -d /dev/cdc-wdm0 --device-open-qmi --wds-get-current-settings <br>[24 abr 2018, 21:04:39] -Warning ** [/dev/cdc-wdm0] requested QMI mode but unexpected driver found: cdc_mbim<br>error: couldn't create client for the 'wds' service: CID allocation failed in the CTL client: Transaction timed out<br>ico3@ico3:~$ <br><br></div></div>
<br>
<img src="http://0c595a64-a-57bd039f-s-sites.googlegroups.com/a/udea.edu.co/repositorio-logos/home/firma/firma-udea.jpg"><br><table style="margin:0px;color:rgb(97,97,97);font-size:14px;line-height:21px;background-color:rgb(255,255,255);font-family:'Times New Roman'"><tbody><tr><td style="vertical-align:top;font-size:small;line-height:13px;font-family:arial;min-height:78px;width:458px;height:91px"><font color="#444444" face="arial,sans-serif" size="1">"La información aquí contenida es para uso exclusivo de la persona o entidad de destino. Está estrictamente prohibida su utilización, copia, descarga, distribución, modificación y/o reproducción total o parcial, sin el permiso expreso de Universidad de Antioquia, pues su contenido puede ser de carácter confidencial y/o contener material privilegiado. Si usted recibió esta información por error, por favor contacte en forma inmediata a quien la envió y borre este material de su computador. </font><span style="color:rgb(68,68,68);font-family:arial,sans-serif;font-size:x-small">Universidad de Antioquia</span><font color="#444444" face="arial,sans-serif" size="1"> no es responsable por la información contenida en esta comunicación, el directo responsable es quien la firma o el autor de la misma."<br><br></font></td></tr></tbody></table>