Regression regarding ip_type when updating from 1.10.4 to 1.12.0

Amol Lad Amol.Lad at 4rf.com
Fri Nov 15 03:37:50 UTC 2019


Sorry for basic question. How to you set ip_type to ANY in OpenWrt conf (below). I tried : option iptype 'any' but it did not work

config interface 'wwan'
        option device '/sys/devices/platform/soc/soc:internal-regs/f10f8000.usb3/usb5/5-1'
        option proto 'modemmanager'
        option apn 'internet'
        option roaming '1'
        option iptype 'ipv4'


The information in this email communication (inclusive of attachments) is confidential to 4RF Limited and the intended recipient(s). If you are not the intended recipient(s), please note that any use, disclosure, distribution or copying of this information or any part thereof is strictly prohibited and that the author accepts no liability for the consequences of any action taken on the basis of the information provided. If you have received this email in error, please notify the sender immediately by return email and then delete all instances of this email from your system. 4RF Limited will not accept responsibility for any consequences associated with the use of this email (including, but not limited to, damages sustained as a result of any viruses and/or any action or lack of action taken in reliance on it).-----Original Message-----
From: ModemManager-devel <modemmanager-devel-bounces at lists.freedesktop.org> On Behalf Of Andreas Fett
Sent: Friday, 15 November 2019 3:58 AM
To: modemmanager-devel at lists.freedesktop.org
Subject: Re: Regression regarding ip_type when updating from 1.10.4 to 1.12.0

Hi Dan,

thank you for your feedback.

On Thu, Nov 14, 2019 at 03:24:35PM -0600, Dan Williams wrote:
> Aleksander: we should probably fine-tune the logic something like this:
>
> 1) bearer default_ip_family follows what the modem is capable of via
> AT+CGDCONT=? or the equivalent; eg if the modem has V4V6 contexts then
> we default to IPV4V6.
> 2) If the user passes a specific IP family for the bearer, fail if
> that family is not successfully connected (as we do now?)
> 3) If the user passes ANY:
>   3a) use the default_ip_family (no change)
>   3b) the modem accepts whatever connect result happens, eg if v4 or
> v6-only that's fine, don't fail.
>   3c) if the connection result failed because the network rejected a
> V4V6 request for example, or the default_ip_family is V4 but the APN
> only accepts V6, then should we retry with V4?
>

My concern is to get Dualstack if available and any kind of Connectivity if it's not.

So I like your outline above very much and if ModemManager could guarantee that behaviour independetly of the actual modem driver I'd happily switch to pass ANY in the bearer an be done with it.

Andreas

--
The three chief virtues of a programmer are:
Laziness, Impatience and Hubris. -- Larry Wall


More information about the ModemManager-devel mailing list