MC7455: Linux Routing - Manually Configure Networking
Bjørn Mork
bjorn at mork.no
Sun Aug 13 15:11:39 UTC 2017
JM <jmmec2014 at yahoo.com> writes:
> Silly routing question.... :)
>
> I just got a Sierra Wireless MC7455 today, and plugged it into my linux machine running ArchLinux (4.12.4). I installed qmicli (1.18.0) and was able to connect to Verizon.
> First, this is how Arch is naming the interfaces for "/dev/cdc-wdm1" and "/dev/cdc-wdm2":
>
> 6: wwp25s0u2u7i8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
> link/ether 1a:22:c6:af:bf:43 brd ff:ff:ff:ff:ff:ff
> 7: wwp25s0u2u7i10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
> link/ether 0e:99:f4:4c:78:f8 brd ff:ff:ff:ff:ff:ff
These interfaces are not configured for raw ip.
>
> Second, my connection details:
> # qmicli -d /dev/cdc-wdm1 --wds-get-current-settings
>
> [/dev/cdc-wdm1] Current settings retrieved:
> IP Family: IPv4
> IPv4 address: 100.115.2.193
> IPv4 subnet mask: 255.255.255.252
> IPv4 gateway address: 100.115.2.194
> IPv4 primary DNS: 198.224.172.135
> IPv4 secondary DNS: 198.224.175.135
> MTU: 1428
> Domains: none
> Third, both interfaces are in "raw-ip" mode (this is how the MC7455 came):
> # qmicli -d /dev/cdc-wdm1 --wda-get-data-format
> [/dev/cdc-wdm1] Successfully got data format
> QoS flow header: no
> Link layer protocol: 'raw-ip'
> Uplink data aggregation protocol: 'disabled'
> Downlink data aggregation protocol: 'disabled'
> NDP signature: '0'
> Uplink data aggregation max size: '0'
> Downlink data aggregation max size: '0'
> # qmicli -d /dev/cdc-wdm2 --wda-get-data-format
> [/dev/cdc-wdm2] Successfully got data format
> QoS flow header: no
> Link layer protocol: 'raw-ip'
> Uplink data aggregation protocol: 'disabled'
> Downlink data aggregation protocol: 'disabled'
> NDP signature: '0'
> Uplink data aggregation max size: '0'
> Downlink data aggregation max size: '0'
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.
Bjørn
More information about the libqmi-devel
mailing list