<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="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=<wbr>3gpp<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">waelheni91@gmail.com</a>> wrote:<br>
<br>
Subject: Re: MC7354 with Verizon network<br>
To: "Sebastian Sjoholm" <<a href="mailto:sebastian.sjoholm@gmail.com">sebastian.sjoholm@gmail.com</a>>, <a href="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.<wbr>freedesktop.org</a><br>
Date: Monday, January 23, 2017, 4:34 PM<br>
<div><div class="h5"><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.0.<wbr>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",0,<wbr>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.0"<wbr>,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-<wbr>wdm0...<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-<wbr>wdm0...<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">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">sebastian.sjoholm@gmail.com</a>>:<br>
> On Jan 23, 2017, at<br>
21:26 , heni wael <<a href="mailto:waelheni91@gmail.com">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="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
libqmi-devel mailing list<br>
<a href="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libqmi-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/libqmi-devel</a><br>
<br>
</div></div></blockquote></div><br></div>