Quectel EC25-E and Raw IP on 4.4 kernel

Tomas Krivanek tom at atack.cz
Mon Jan 30 10:49:30 UTC 2017


Hello,

> On Jan 29, 2017, at 21:59 , Bjørn Mork <bjorn at mork.no> wrote:
> 
> Yes, that certainly looks like something stripped off the first 14
> bytes.  Maybe you forgot the commit 81e0ce79f291 ("usbnet: allow
> mini-drivers to consume L2 headers") when backporting the raw-ip
> support?
> 
> Without that patch, usbnet will call eth_type_trans() which does
> skb_pull_inline(skb, ETH_HLEN).
> 


Thanks! You nailed it. This patch solved the problem:

root at turris:~# udhcpc -i wwan0
udhcpc: started, v1.25.1
udhcpc: sending discover
udhcpc: sending select for 100.65.222.140
udhcpc: lease of 100.65.222.140 obtained, lease time 7200
udhcpc: ifconfig wwan0 100.65.222.140 netmask 255.255.255.248 broadcast +
udhcpc: setting default routers: 100.65.222.141

Tomas

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


More information about the libqmi-devel mailing list