MC7455: Linux Routing - Manually Configure Networking

Bjørn Mork bjorn at mork.no
Sun Aug 13 18:02:57 UTC 2017


JM <justinmedlock at yahoo.com> writes:

> 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

I see that you use cdc-wdm1 and wwan0 here.  You are sure you are
configuring the correct network interface for this qmi device?



Bjørn


More information about the libqmi-devel mailing list