[OpenWrt-Devel] [PATCH 1/2] wwan: Add support for CDC (Huawei 'HiLink') Modems

John Crispin blogic at openwrt.org
Fri Feb 26 02:50:55 EST 2016



On 25/02/2016 08:23, John Crispin wrote:
> 
> 
> On 24/02/2016 09:08, Bruno Randolf wrote:
>> On 02/24/2016 06:11 AM, Matti Laakso wrote:
>>>> The reason is that I want different types of Modems to work with the
>>>> same interface configuration, using 'wwan'. E.g. it's configured like
>>>> this (/etc/config/network):
>>>>
>>>> config interface 'umts'
>>>> option proto wwan
>>>> option apn internet.eplus.de
>>>> option metric 4
>>>>
>>>> And it will work with PPP, QMI, MBIM, HiLink or whatever modem supported
>>>> by "wwan" (which are hopefully more and more)... Doesn't that make
>>>> sense? It would help the user who doesn't want to guess wether QMI works
>>>> better than PPP for a specific modem and which serial port to use, etc...
>>>>
>>>
>>> That's a good goal, but I think it's confusing for the user when apn and
>>> pin options don't work with HiLink modems but do work with all other
>>> modems handled by wwan.
>>
>> Well, you can see it the other way round: they are not needed for HiLink
>> modems and it will "just work"... :)
>>
>> bruno
>>
> 
> i have to say i agree most with bruno but i need to think about this a
> bit and i'll test it with the 2 hilinks i have here. i believe that
> having the wwan proto handle most of the options is desirable as it will
> not only unify the code path but also the config path which at the end
> will increase usability.
> 
> 	John
> 

Hi,

this only works if the sim card has no pin set. correct ? i tried it and
without logging into the webui and adding my pin/apn/ ... there it wont
go online

	John
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list