<div dir="ltr">After this 3 commands i got this<br><br>[root@mc7455-1-qpcs-local ~]# qmicli -d /dev/cdc-wdm0 --wds-get-current-settings<br>error: couldn't get current settings: QMI protocol error (15): 'OutOfCall'<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-17 8:21 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><span class=""><div>Thanks for your help<br><br></div>I show you the result of this commands :<br><br><br>1- qmicli -d /dev/cdc-wdm0 --wda-get-data-format -v<br><br><a href="http://pastebin.com/jXqiFCmy" target="_blank">http://pastebin.com/jXqiFCmy</a><br><br>2- <br>[root@mc7455-1-qpcs-local ~]# qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw<wbr>-ip -v<br>[17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Opening device with flags 'none'...<br>[17 ينا 2017, 02:14:28] [Debug] QMI Device at '/dev/cdc-wdm0' ready<br>[17 ينا 2017, 02:14:28] [Debug] Setting expected WWAN data format this control port...<br>[17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Writing expected data format to: /sys/class/net/wwp0s20u4i8/qmi<wbr>/raw_ip<br>[17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Reading expected data format from: /sys/class/net/wwp0s20u4i8/qmi<wbr>/raw_ip<br>[/dev/cdc-wdm0] expected data format set to: raw-ip<br><br><br></span>3- qmicli -d /dev/cdc-wdm0 --wds-start-network="apn=,wxxx<wbr>.vzwstatic,ip-type=4" --device-open-net="net-raw-ip|<wbr>net-no-qos-header" --device-open-sync --client-no-release-cid -v<br><br><a href="http://pastebin.com/NZwsBHmd" target="_blank">http://pastebin.com/NZwsBHmd</a><br><br></div>Waiting your answer<div class="m_-5109370735425050334gmail-yj6qo m_-5109370735425050334gmail-ajU"><div id="m_-5109370735425050334gmail-:1t0" class="m_-5109370735425050334gmail-ajR"><img class="m_-5109370735425050334gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-01-17 8:20 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><div>Thanks for your help<br><br></div>I show you the result of this commands :<br><br><br>1- qmicli -d /dev/cdc-wdm0 --wda-get-data-format -v<br><br><a href="http://pastebin.com/jXqiFCmy" target="_blank">http://pastebin.com/jXqiFCmy</a><br><br>2- <br>[root@mc7455-1-qpcs-local ~]# qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw<wbr>-ip -v<br>[17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Opening device with flags 'none'...<br>[17 ينا 2017, 02:14:28] [Debug] QMI Device at '/dev/cdc-wdm0' ready<br>[17 ينا 2017, 02:14:28] [Debug] Setting expected WWAN data format this control port...<br>[17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Writing expected data format to: /sys/class/net/wwp0s20u4i8/qmi<wbr>/raw_ip<br>[17 ينا 2017, 02:14:28] [Debug] [/dev/cdc-wdm0] Reading expected data format from: /sys/class/net/wwp0s20u4i8/qmi<wbr>/raw_ip<br>[/dev/cdc-wdm0] expected data format set to: raw-ip<br><br><br>3- qmicli -d /dev/cdc-wdm0 --wds-start-network="apn=,wxxx<wbr>.vzwstatic,ip-type=4" --device-open-net="net-raw-ip|<wbr>net-no-qos-header" --device-open-sync --client-no-release-cid<br><br><a href="http://pastebin.com/NZwsBHmd" target="_blank">http://pastebin.com/NZwsBHmd</a><br><br></div>Waiting your answer<br><div>
<br><br></div></div><div class="m_-5109370735425050334HOEnZb"><div class="m_-5109370735425050334h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-01-16 22:32 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">AT+CGCCONTRDP replies the Bearer information which is IPv4 address. It means your modem<br>
has successfully registered to nework. Problem that you have now is qmicli fails to setup a data channel bewteen host and modem. Nothing wrong with your modem, SIM and VZ network.<br>
<br>
Try below commands to see any help. (you migh want to add -v (verbose) option to get more debug information from libqmi commands)<br>
<br>
qmicli -d /dev/cdc-wdm0 --wda-get-data-format<br>
qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw<wbr>-ip<br>
qmicli -d /dev/cdc-wdm0 --wds-start-network="apn=,wxxx<wbr>.vzwstatic,ip-type=4" --device-open-net="net-raw-ip|<wbr>net-no-qos-header" --device-open-sync --client-no-release-cid<br>
<br>
<br>
Above commands try to set raw-ip data link , and force connection with IPV4. APN from qmicli command must be matched with the one you get from at+cgdcont?, if not connectiion would fail.<br>
<br>
If you got packet-data handle, command "qmicli -d /dev/cdc-wdm0 --wds-get-current-settings" shows you the connectivity status.<br>
<span><br>
<br>
<br>
--tang<br>
<br>
<br>
------------------------------<wbr>--------------<br>
On Mon, 1/16/17, heni wael <<a href="mailto:waelheni91@gmail.com" target="_blank">waelheni91@gmail.com</a>> wrote:<br>
<br>
Subject: Re: MC7455 PROBLEM<br>
To: <a href="mailto:libqmi-devel@lists.freedesktop.org" target="_blank">libqmi-devel@lists.freedesktop<wbr>.org</a><br>
</span> Date: Monday, January 16, 2017, 3:35 PM<br>
<div><div class="m_-5109370735425050334m_3536349586527915818h5"><br>
Other thing<br>
<br>
<br>
i have this<br>
qmicli -d /dev/cdc-wdm0<br>
--wds-get-current-settings<br>
error:<br>
couldn't get current settings: QMI protocol error (15):<br>
'OutOfCall'<br>
<br>
<br>
but when i use this AT command<br>
"AT+CGCONTRDP" i got this result<br>
+CGCONTRDP:<br>
1,5,wxxx.vzwstatic,166.164.10<wbr>8.xxx,,198.224.173.xxx,198.224<wbr>.174.xxx<br>
<br>
<br>
2017-01-16 21:14 GMT+01:00<br>
heni wael <<a href="mailto:waelheni91@gmail.com" target="_blank">waelheni91@gmail.com</a>>:<br>
Thanks Tang ,<br>
<br>
i got this<br>
at+cgdcont?<br>
<br>
+CGDCONT:<br>
1,"IP","xx01.vzwstatic","0.0.<wbr>0<br>
.0",0,0,0,0<br>
2017-01-16 21:14 GMT+01:00<br>
heni wael <<a href="mailto:waelheni91@gmail.com" target="_blank">waelheni91@gmail.com</a>>:<br>
Thanks Tang<br>
,<br>
<br>
i got this<br>
at+cgdcont?<br>
<br>
+CGDCONT:<br>
1,"IP","xx01.vzwstatic","0.0.<wbr>0<br>
.0",0,0,0,0<br>
<br>
<br>
2017-01-16 18:17 GMT+01:00<br>
Tang Nguyen <<a href="mailto:tang_nguyen@yahoo.com" target="_blank">tang_nguyen@yahoo.com</a>>:<br>
Hi Heni,<br>
<br>
<br>
<br>
Can you make sure you have below patch from Dan in your 16.2<br>
build.<br>
<br>
<br>
<br>
commit 4c678418f398fc5f9dcdb216c0ffdf fc8524bea2<br>
<br>
<br>
<br>
qmicli: fix handling of unspecified ip_type in<br>
--wds-start-network<br>
<br>
QMI_WDS_IP_FAMILY_UNSPECIFIED = 8 but ip_type gets<br>
initialized to 0, so the "IP Family Preference"<br>
was always being sent with an unrecognized value. Fixes:<br>
81c21379 qmicli: add support for IP type to<br>
--wds-start-network<br>
<br>
<br>
<br>
--tang<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-----------------------------<wbr>- --------------<br>
<br>
On Mon, 1/16/17, heni wael <<a href="mailto:waelheni91@gmail.com" target="_blank">waelheni91@gmail.com</a>><br>
wrote:<br>
<br>
<br>
<br>
Subject: Re: MC7455 PROBLEM<br>
<br>
To: libqmi-devel@lists.freedesktop<br>
.org<br>
<br>
Date: Monday, January 16, 2017, 11:25 AM<br>
<br>
<br>
<br>
I installed qmicli last version 16.2<br>
<br>
and i got this now<br>
<br>
[root@mc7455-1-qpcs-local ~]# qmi-network <br>
<br>
/dev/cdc-wdm0 start<br>
<br>
Loading profile at<br>
<br>
/etc/qmi-network.conf...<br>
<br>
APN:<br>
<br>
xxxx.vzwstatic<br>
<br>
APN user: unset<br>
<br>
APN password: unset<br>
<br>
qmi-proxy: no<br>
<br>
Checking<br>
<br>
data format with 'qmicli -d /dev/cdc-wdm0<br>
<br>
--wda-get-data-format '...<br>
<br>
Device link<br>
<br>
layer protocol retrieved: raw-ip<br>
<br>
Getting<br>
<br>
expected data format with 'qmicli -d /dev/cdc-wdm0<br>
<br>
--get-expected-data-format'.<wbr>. .<br>
<br>
Expected<br>
<br>
link layer protocol retrieved: raw-ip<br>
<br>
Device<br>
<br>
and kernel link layer protocol match: raw-ip<br>
<br>
Starting network with 'qmicli -d<br>
<br>
/dev/cdc-wdm0<br>
<br>
--wds-start-network=apn='xxx<wbr>x .vzwstatic' <br>
<br>
--client-no-release-cid '...<br>
<br>
error:<br>
<br>
couldn't start network: QMI protocol error (64):<br>
<br>
'(null)'<br>
<br>
Saving state at<br>
<br>
</div></div> /tmp/qmi-network-state-cdc-w<wbr>d m0... (CID: 35)<br>
<div class="m_-5109370735425050334m_3536349586527915818HOEnZb"><div class="m_-5109370735425050334m_3536349586527915818h5"><br>
error: network start failed, no packet data<br>
<br>
handle<br>
<br>
Clearing state at<br>
<br>
/tmp/qmi-network-state-cdc-w<wbr>d m0...<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
and i tried your suggestion but got<br>
<br>
some issues<br>
<br>
[root@mc7455-1-qpcs-local ~]#<br>
<br>
qmicli -d /dev/cdc-wdm0 <br>
<br>
--wds-set-autoconnect-settin<wbr>g s=disabled<br>
<br>
error: couldn't set autoconnect settings:<br>
<br>
QMI protocol error (3): 'Internal'<br>
<br>
<br>
<br>
have you got any advice<br>
<br>
?<br>
<br>
<br>
<br>
2017-01-16 17:00 GMT+01:00<br>
<br>
Aleksander Morgado <<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>>:<br>
<br>
On Mon,<br>
<br>
Jan 16, 2017 at 2:31 PM, heni wael <<a href="mailto:waelheni91@gmail.com" target="_blank">waelheni91@gmail.com</a>><br>
<br>
wrote:<br>
<br>
<br>
<br>
> [root@mc7455-1-qpcs-local ~]# qmicli -d<br>
<br>
/dev/cdc-wdm0<br>
<br>
<br>
<br>
><br>
<br>
--wds-get-autoconnect-settin<wbr>g s<br>
<br>
<br>
<br>
> Autoconnect settings retrieved:<br>
<br>
<br>
<br>
> Status: 'enabled'<br>
<br>
<br>
<br>
> Roaming: 'allowed'<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Looks like autoconnect is already enabled in your<br>
<br>
modem, and therefore<br>
<br>
<br>
<br>
you shouldn't need "WDS start network"<br>
(i.e.<br>
<br>
what qmi-network does).<br>
<br>
<br>
<br>
If you're having issues with auto-connect you may<br>
want<br>
<br>
to disable it<br>
<br>
<br>
<br>
with --wds-set-autoconnect- settings=disabled and retry<br>
<br>
with<br>
<br>
<br>
<br>
qmi-network.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
<br>
<br>
<br>
Aleksander<br>
<br>
<br>
<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-----Inline Attachment Follows-----<br>
<br>
<br>
<br>
____________________________<wbr>_ __________________<br>
<br>
libqmi-devel mailing list<br>
<br>
libqmi-devel@lists.freedeskt<wbr>o<br>
<a href="http://p.org" rel="noreferrer" target="_blank">p.org</a><br>
<br>
<a href="https://lists.freedesktop.org" rel="noreferrer" target="_blank">https://lists.freedesktop.or<wbr>g</a><br>
/mailman/listinfo/libqmi-deve<wbr>l<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-----Inline Attachment Follows-----<br>
<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.org<wbr>/mailman/listinfo/libqmi-devel</a><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>