mbim Bearer reports IP_METHOD_DHCP when namesservers are missing

Dan Williams dcbw at redhat.com
Wed Apr 20 16:13:53 UTC 2016


On Wed, 2016-04-20 at 17:13 +0200, Andreas Fett wrote:
> Hi,
> 
> any news on this one?
> 
> On 03/12/15 17:54, Dan Williams wrote:
> > 
> > For IPv6 MM should report "DHCP" if there is *any* information
> > missing
> > (DNS or Gateway) because that may have to be acquired via SLAAC or
> > DHCPv6.  MM should also fill in any information it already has,
> > even if
> > it sets DHCP as the method, since this information may not be able
> > to
> > be retrieved from SLAAC or DHCPv6.  Also sometimes there is an
> > IPv6LL
> > address that should be assigned to the modem before performing
> > SLAAC/DHCPv6 which needs to be reported in the IP config.
> > 
> > For IPv4 though, I think MM should only require an IP address to
> > report
> > STATIC; clients already have to handle missing gateway and DNS
> > servers
> > since some modems don't give those (or give wrong ones) so this
> > wouldn't be any different.
> I could provide a patch für v4 case in the mbim-bearer if that would
> be
> sufficient for a start...

Does the following patch work for you?

Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bearer-mbim-fine-tune-bearer-IP-method-reporting.patch
Type: text/x-patch
Size: 7068 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20160420/fdaf3458/attachment.bin>


More information about the ModemManager-devel mailing list