Unable to connect using a Quectel EC25-E modem and libqmi 1.18.0

Bjørn Mork bjorn at mork.no
Thu Jun 29 07:48:33 UTC 2017


Bjørn Mork <bjorn at mork.no> writes:

> xyj <xuyj at smartkey.com.cn> writes:
>
>> Although IP obtained successfully, the information from `ip a` is quirk, for example:
>>
>> 1: lo
>>
>> ......
>>  3. wwan0: <....>
>> 	link/none					--> this line is quirk.
>> 	inet 10.49.172.92/29 scope global wwan0
>> 	....
>>
>> Is it because of raw-ip mode? More knowledge to learn.
>
> There is no link layer.  The first header is IP.  So "link/none" is as
> precise as it gets :-)
>
> I did consider using a new "raw-ip" L2 header type, but couldn't find a
> real reason. The only effect would be pointless changes to all tools
> dealing with the link layer (ip, ifconfig etc). So "none" it is.  This
> is similar to "tun" interfaces.
>
> There is more reason to complain about the ifconfig output IMHO.  But
> that is an old ifconfig bug - it does not respect header length = 0.

I did meant to write "address length = 0", as you probably understood...
ifconfig should of course not be concerned about the header length.


> I don't think it is fixable though, as it has "always" been like that.
> People would probably complain if it changed.  Besides, no one maintains
> ifconfig anyway.
>
>
>
> Bjørn
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel


More information about the libqmi-devel mailing list