qmicli / Sierra EM7455

Sebastian Sjoholm sebastian.sjoholm at gmail.com
Thu Mar 10 14:26:29 UTC 2016


> >
> > Am I missing something?
>
> I don't know why you get the symbol lookup errors, but the echo commands
> were missing something: ">"
>
>
Maybe I need glasses :)

Now working.

root at x088:~# /usr/bin/qmicli -d /dev/cdc-wdm1 --wds-start-network=internet
--client-no-release-cid
[/dev/cdc-wdm1] Network started
Packet data handle: '63820816'
[/dev/cdc-wdm1] Client ID not released:
Service: 'wds'
   CID: '35'
root at x088:~# udhcpc -q -f -i wwan1
udhcpc (v1.22.1) started
Sending discover...
Sending select for 10.39.5.20...
Lease of 10.39.5.20 obtained, lease time 7200
ip: RTNETLINK answers: File exists
root at x088:~# ifconfig |grep wwan1

wwan1     Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.39.5.20  P-t-P:10.39.5.20  Mask:255.255.255.248
          inet6 addr: fe80::6aa7:b4b:ea23:25a5/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:612 (612.0 B)  TX bytes:800 (800.0 B)

root at x088:~# /sbin/route -v add -host 172.32.98.1 dev wwan1
root at x088:~# ping 172.32.98.1
PING 172.32.98.1 (172.32.98.1) 56(84) bytes of data.
64 bytes from 172.32.98.1: icmp_seq=1 ttl=62 time=432 ms
64 bytes from 172.32.98.1: icmp_seq=2 ttl=62 time=202 ms
64 bytes from 172.32.98.1: icmp_seq=3 ttl=62 time=192 ms
64 bytes from 172.32.98.1: icmp_seq=4 ttl=62 time=202 ms
^C
--- 172.32.98.1 ping statistics ---
5 packets transmitted, 4 received, 20% packet loss, time 4000ms
rtt min/avg/max/mdev = 192.200/257.282/432.515/101.254 ms
root at x088:~# /usr/bin/qmicli -d /dev/cdc-wdm1 --wds-stop-network=63820816
--client-cid=35
Network cancelled... releasing resources
[/dev/cdc-wdm1] Network stopped
root at x088:~#

Thanks.

-Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20160310/75f23282/attachment.html>


More information about the libqmi-devel mailing list