NDISDUP+wwan for Huawei devices using the new 'huawei_cdc_ncm' driver

Bjørn Mork bjorn at mork.no
Wed Nov 27 05:33:55 PST 2013


Thomas Schäfer <tschaefer at t-online.de> writes:
> Am Montag, 25. November 2013, 19:05:29 schrieb Aleksander Morgado:
>
>> For reference, the specific changes to run NDISDUP in the /dev/cdc-wdm
>> port are now in the following branch upstream:
>>   aleksander/huawei-ndisdup-cdc-wdm
>
> Thanks for the info. I have a question about IP and DNS-configuration. For qmi 
> and mbim-devices you get (additionally) the configuration via 
> mm-bearer-qmi.c and mm-bearer-mbim.c 
> Is there a similar way via AT?
> Especially for (IPV6) DNS-resolver-servers? 
> (for both types of AT-connect: 
> Ericsson: AT*ENAP, 
> Huawei: at^ndisdup)

I'm wondering the same wrt Ericsson.  I have a F5521gw, which seems to
connect just fine using an IPV6 PDP context.  But I cannot get the
allocated prefix out of it.  There are no replies to SLAAC Router
Solicitations or DHCPv6 solicits.

The best I can get is this, which shows the DNS servers (the global
addresses) and most likely the interface identifier on the
point-to-point link (guessing that is the interface part of the LL
address):

 AT*E2IPCFG?
 *E2IPCFG: (1,"fe80:0000:0000:0000:0000:000b:5380:d201")(3,"2001:4600:0004:0fff:0000:0000:0000:0054")(3,"2001:4600:0004:1fff:0000:0000:0000:0054")


Which is all nice etc, but pretty useless without knowing my allocated
prefix.  There is probably some other command which should be used, but
which one?

Tip:  "AT*" will list all supported commands on Ericsson modems.



Bjørn


More information about the ModemManager-devel mailing list