<div dir="ltr"><div><div><div><div><div><div><div><div>I changed the PDP#3 by <br><br>AT+CGDCONT=3,"IP","we01.vzwstatic","0.0.0.0",0,0<br></div>and network is attached and the AT+CGCONTRDP gives address <br><br></div>and i have this now <br><br>[root@localhost ~]# qmicli -d /dev/cdc-wdm0 --wds-get-default-settings=3gpp Default settings retrieved:<br> APN: 'we01.vzwstatic'<br> PDP type: 'ipv4'<br> Auth: 'none'[root@localhost ~]# qmi-network /dev/cdc-wdm0 start<br>Loading profile at /etc/qmi-network.conf...<br> APN: vzwinternet<br> APN user: unset<br> APN password: unset<br> qmi-proxy: no<br>Checking data format with 'qmicli -d /dev/cdc-wdm0 --wda-get-data-format '...<br>Device link layer protocol retrieved: 802-3<br>Getting expected data format with 'qmicli -d /dev/cdc-wdm0 --get-expected-data-format'...<br>Expected link layer protocol retrieved: 802-3<br>Device and kernel link layer protocol match: 802-3<br>Starting network with 'qmicli -d /dev/cdc-wdm0 --wds-start-network=apn='vzwinternet' --client-no-release-cid '...<br>error: couldn't start network: QMI protocol error (64): '(null)'<br>Saving state at /tmp/qmi-network-state-cdc-wdm0... (CID: 8)<br>error: network start failed, no packet data handle<br>Clearing state at /tmp/qmi-network-state-cdc-wdm0...<br><br>[root@localhost ~]#<br><br></div>but qmi-network not working<br> <br></div>and <br></div>and also i tried with th raw-ip mode <br>i have this <br>qmicli -d /dev/cdc-wdm0 --wds-start-network="apn=we01.vzwstatic,ip-type=4" --device-open-net="net-raw-ip|net-no-qos-header" --device-open-sync --client-no-release-cid<br>error: couldn't open the QmiDevice: QMI protocol error (70): 'InvalidOperation'<br><br><br></div>is the problem related to the system <br></div>i use the centos 7 with kernel 3.10.5 and i used the new usbnet and qmi_wwan (from 4.9) and libqmi1.12.6<br></div><div>if debian is more recommended or any distribution more than centos7 i will install t<br><br></div><div><div><div>It is really difficult<br><br></div><div>thanks for all your helps<br> <br></div><div><div><div><div><br></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-23 23:02 GMT+01:00 heni wael <span dir="ltr"><<a href="mailto:waelheni91@gmail.com" target="_blank">waelheni91@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks Tang <br><br>But I didnt want to connect with the ipv6 <br></div><div>i just need ipv4 address<br></div><br><br><br><br><br><br><br><br>Thanks<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-01-23 22:55 GMT+01:00 Tang Nguyen <span dir="ltr"><<a href="mailto:tang_nguyen@yahoo.com" target="_blank">tang_nguyen@yahoo.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It doesn't work because APN of PDP#3 is different with the APN that you want to connect to network.<br>
<br>
Issue below command to get correct APN, which associates with your SIM card, and pass that APN to "qmicli connect" command.<br>
<br>
qmicli -d /dev/cdc-wdm0 --wds-get-default-settings=3gp<wbr>p<br>
<br>
<br>
PS. You can use command: AT+CGPIAF=1 to show correct IPv6 format from AT+CGCINTRDP command<br>
<br>
<br>
--tang<br>
<br>
------------------------------<wbr>--------------<br>
On Mon, 1/23/17, heni wael <<a href="mailto:waelheni91@gmail.com" target="_blank">waelheni91@gmail.com</a>> wrote:<br>
<br>
Subject: Re: MC7354 with Verizon network<br>
To: "Sebastian Sjoholm" <<a href="mailto:sebastian.sjoholm@gmail.com" target="_blank">sebastian.sjoholm@gmail.com</a>>, <a href="mailto:libqmi-devel@lists.freedesktop.org" target="_blank">libqmi-devel@lists.freedesktop<wbr>.org</a><br>
Date: Monday, January 23, 2017, 4:34 PM<br>
<div><div class="m_-7643199322062035305h5"><br>
OK<br>
now i have firmware installed and the<br>
network connected<br>
i try to use <br>
qmicli to do the LTE connection<br>
i have<br>
this<br>
<br>
AT<br>
OK<br>
AT!ENTERCND="A710"<br>
OK<br>
AT!UDUSBCOMP?<br>
!UDUSBCOMP: 6<br>
<br>
OK<br>
AT!GOBIIMPREF<br>
ERROR<br>
AT!GOBIIMPREF?<br>
!GOBIIMPREF:<br>
preferred fw<br>
version: 05.05.58.01<br>
preferred carrier<br>
name: VZW<br>
preferred config name: <br>
VZW_005.029_000<br>
current fw<br>
version: 05.05.58.01<br>
current<br>
carrier name: VZW<br>
current config<br>
name: VZW_005.029_000<br>
<br>
OK<br>
<br>
<br>
And network connected<br>
i dont know if the PDP is Ok or not<br>
<br>
<br>
AT<br>
OK<br>
at!gstatus?<br>
!GSTATUS:<br>
Current Time: <br>
203 Temperature: 33<br>
Bootup Time: <br>
5 Mode: <br>
ONLINE <br>
System mode: <br>
LTE PS state: <br>
Attached <br>
LTE band: <br>
B4 LTE bw: 10 MHz <br>
<br>
LTE Rx chan: <br>
2100 LTE Tx chan: 20100<br>
EMM state: Registered <br>
Normal Service<br>
RRC state: RRC<br>
Idle <br>
IMS reg state: Full<br>
Srv IMS mode: Normal <br>
<br>
RSSI (dBm): <br>
-54 Tx Power: 0<br>
RSRP (dBm): -78 <br>
TAC: 2501 (9473)<br>
RSRQ<br>
(dB): -9 Cell<br>
ID: 0091A216 (9544214)<br>
SINR<br>
(dB): 3.6<br>
<br>
<br>
OK<br>
AT+CGCONTRDP<br>
+CGCONTRDP:<br>
1,5,vzwims,38.0.16.16.129.83.<wbr>54.223.0.0.0.23.143.19.114.1,<br>
254.128.0.0.0.0.0.0.0.0.0.23.<wbr>143.19.114.64,<br>
32.1.72.136.0.104.6<br>
<br>
OK<br>
AT+CGDCONT?<br>
+CGDCONT:<br>
1,"IPV4V6","vzwims","0.0.0.0"<wbr>,0,0<br>
+CGDCONT:<br>
2,"IPV4V6","vzwadmin","0.0.0.<wbr>0",0,0<br>
+CGDCONT:<br>
3,"IPV4V6","vzwinternet","0.<wbr>0.0.0",0,0<br>
+CGDCONT:<br>
4,"IPV4V6","vzwapp","0.0.0.0"<wbr>,0,0<br>
+CGDCONT:<br>
5,"IPV4V6","vzw800","0.0.0.0"<wbr>,0,0<br>
+CGDCONT:<br>
9,"IPV6","vzwims","0.0.0.0",<wbr>0,0<br>
+CGDCONT:<br>
10,"IP","vzwadmin","0.0.0.0",<wbr>0,0<br>
+CGDCONT:<br>
11,"IP","vzwinternet","0.0.0.<wbr>0",0,0<br>
+CGDCONT:<br>
12,"IPV4V6","vzwapp","0.0.0.<wbr>0",0,0<br>
+CGDCONT:<br>
13,"IP","","0.0.0.0",0,0<br>
<br>
OK<br>
AT+CGATT?<br>
+CGATT: 1<br>
<br>
OK<br>
<br>
but when i try to use the qmicli i got an<br>
error<br>
<br>
<br>
[root@localhost ~]# qmi-network /dev/cdc-wdm0<br>
start<br>
Loading profile at<br>
/etc/qmi-network.conf...<br>
APN:<br>
we01.vzwstatic<br>
APN user: unset<br>
APN password: unset<br>
qmi-proxy: no<br>
Loading<br>
previous state from /tmp/qmi-network-state-cdc-wdm<wbr>0...<br>
Previous CID: 1<br>
<br>
Previous PDH: 1138072296<br>
error: cannot<br>
re-start network, PDH already exists<br>
<br>
qmicli -d /dev/cdc-wdm0<br>
--wds-get-current-settings<br>
[root@localhost<br>
~]# qmicli -d /dev/cdc-wdm0 --wds-get-current-settings<br>
error: couldn't get current settings: QMI<br>
protocol error (15): 'OutOfCall'<br>
[root@localhost ~]# qmi-network /dev/cdc-wdm0<br>
start<br>
Loading profile at<br>
/etc/qmi-network.conf...<br>
APN:<br>
we01.vzwstatic<br>
APN user: unset<br>
APN password: unset<br>
qmi-proxy: no<br>
Loading<br>
previous state from /tmp/qmi-network-state-cdc-wdm<wbr>0...<br>
Previous CID: 1<br>
<br>
Previous PDH: 1138072296<br>
error: cannot<br>
re-start network, PDH already exists<br>
<br>
have you got an idea ?<br>
<br>
2017-01-23 21:35 GMT+01:00<br>
heni wael <<a href="mailto:waelheni91@gmail.com" target="_blank">waelheni91@gmail.com</a>>:<br>
Ok Thanks<br>
<br>
<br>
2017-01-23 21:31 GMT+01:00<br>
Sebastian Sjoholm <<a href="mailto:sebastian.sjoholm@gmail.com" target="_blank">sebastian.sjoholm@gmail.com</a>>:<br>
> On Jan 23, 2017, at<br>
21:26 , heni wael <<a href="mailto:waelheni91@gmail.com" target="_blank">waelheni91@gmail.com</a>><br>
wrote:<br>
<br>
><br>
<br>
> [root@localhost ~]# cat /etc/modprobe.d/blacklist-mode<br>
m.conf<br>
<br>
> blacklist qcserial<br>
<br>
> blacklist qmi_wwan<br>
<br>
> blacklist usb_wwan<br>
<br>
> blacklist cdc_mbim<br>
<br>
> blacklist cdc_wdm<br>
<br>
> blacklist cdc_ncm<br>
<br>
> blacklist sierra<br>
<br>
> blacklist sierra_net<br>
<br>
> [root@localhost ~]#<br>
<br>
><br>
<br>
<br>
<br>
That looks pretty OK, and the dmesg and lsusb -t<br>
shows that the qmi_wwan is still loaded after that?<br>
<br>
<br>
<br>
I can find a bunch of cases via google when the blacklist<br>
file is not loaded, but it is depended on what linux you are<br>
running, I think a google search for your system would be a<br>
good start.<br>
<br>
<br>
<br>
-Sebastian<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div> -----Inline Attachment Follows-----<br>
<div class="m_-7643199322062035305HOEnZb"><div class="m_-7643199322062035305h5"><br>
_____________________________<wbr>__________________<br>
libqmi-devel mailing list<br>
<a href="mailto:libqmi-devel@lists.freedesktop.org" target="_blank">libqmi-devel@lists.freedeskto<wbr>p.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libqmi-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.<wbr>org/mailman/listinfo/libqmi-<wbr>devel</a><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>