<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Aleksander,<br class=""><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class="gmail_default" style="font-family:monospace,monospace">We try to set 802.3 (with ethernet headers) and the modem returns "success" but with raw-ip as protocol instead. Looks like this device MUST be used in raw-ip mode. One thing to fix in our side is to check the returned protocol value in the Set Data Format reply, because here we just look at the "success" message and that's misleading.</div><div class="gmail_default" style="font-family:monospace,monospace"><br class=""></div><div class="gmail_default" style="font-family:monospace,monospace">What kernel version are you using? You may need a kernel version >= 4.5 for this to work transparently: MM would ask what the protocol expected by the modem is, and then configure the kernel driver accordingly (instead of trying to force 802.3). Also, note that in raw-ip mode, the IP addressing setup won't be done via DHCP, but using the queried IP settings instead.</div></div></div></div></div></blockquote><div><br class=""></div></div>Thanks, this is valuable information! I actually stumbled upon something similar when running<div class=""><br class=""></div><div class=""><div class=""># qmicli -d /dev/cdc-wdm0 --get-expected-data-format</div><div class="">error: cannot get expected data format: Expected data format not retrieved properly: Failed to open file '/sys/class/net/wwan0/qmi/raw_ip': No such file or directory</div></div><div class=""><br class=""></div><div class="">I’m currently using a 4.1.x kernel. I’ll try with a 4.18.x kernel now. I’ll keep you posted.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Sven</div></body></html>