MC7455: Linux Routing - Manually Configure Networking

JM jmmec2014 at yahoo.com
Sun Aug 13 17:18:03 UTC 2017


On Sunday, August 13, 2017, 9:11:46 AM MDT, Bjørn Mork <bjorn at mork.no> wrote:
> You need to use qmicli -d /dev/cdc-wdm1 --set-expected-data-format=raw-ip
> as well.  There are two sides: The device and host, and both must be
> configured for raw-ip.

Ah!  OK, I see that the host was in "link/ether" not realizing that "link/none" is apparently raw-ip.
I configured the host to raw-ip, connected (as shown below), but the connection drops as soon as I try to "ping 8.8.8.8".  
The discussion at the link below mentions that Verizon requires an IMS & regular PDP connection, where I am missing the IMS side, so maybe Verizon immediately drops the connection when they detect that IMS is missing?   I don't see any other error logs explaining why the connection is otherwise dropping (browsing journalctl / dmesg), so hopefully this is the root cause, and I'll try to get IMS up too.  Or am I doing other silly stuff?

https://lists.freedesktop.org/archives/libqmi-devel/2016-August/001673.html
This is what I did after putting the host device into "raw-ip".
# qmicli -p -d /dev/cdc-wdm1 --wds-start-network="apn=VZWINTERNET,ip-type=4" --device-open-net="net-raw-ip|net-no-qos-header" --device-open-sync --client-no-release-cid
# qip
[/dev/cdc-wdm1] Current settings retrieved:
           IP Family: IPv4
        IPv4 address: 100.124.233.232
    IPv4 subnet mask: 255.255.255.240
IPv4 gateway address: 100.124.233.233
    IPv4 primary DNS: 198.224.172.135
  IPv4 secondary DNS: 198.224.175.135
                 MTU: 1428
             Domains: none
# ip addr add 100.124.233.232 dev wwan0
# ip route add default dev wwan0
# qs
[/dev/cdc-wdm1] Connection status: 'connected'
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---15 packets transmitted, 0 received, 100% packet loss, time 14185ms
# qs
[/dev/cdc-wdm1] Connection status: 'disconnected'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170813/f9b4011f/attachment.html>


More information about the libqmi-devel mailing list