From nt8r to ~martijnbraam/ofonoctl
From: anteater <nt8r@protonmail.com> --- ofonoctl/__init__.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ofonoctl/__init__.py b/ofonoctl/__init__.py index 52be47a..836c3af 100644 --- a/ofonoctl/__init__.py +++ b/ofonoctl/__init__.py @@ -221,7 +221,7 @@ def action_wan(connect=False, resolv=False): if s["Method"] == "static": dns_servers += s["DomainNameServers"] [message trimmed]
From nt8r to ~martijnbraam/ofonoctl
From: anteater <nt8r@protonmail.com> --- ofonoctl/__init__.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ofonoctl/__init__.py b/ofonoctl/__init__.py index a5b54f5..52be47a 100644 --- a/ofonoctl/__init__.py +++ b/ofonoctl/__init__.py @@ -197,6 +197,7 @@ def action_wan(connect=False, resolv=False): for path, properties in contexts: settings4 = properties['Settings'] settings6 = properties['IPv6.Settings'] [message trimmed]
From nt8r to ~martijnbraam/ofonoctl
This series consists of fixes I needed to get IPv6 working with my telco (T-Mobile). The first allows retrieving IPv6 DNS servers as well. The second removes the requirement for the assigned address to be static when setting DNS servers. T-Mobile provides both IPv4 and IPv6 DNS servers (which must be used to lookup the MMSC address) but provides only a dynamic IP address assignment for IPv6. In my case, ofono does not put any "Method" key in "IPv6.Settings", so I've changed the IPv6 code to look for an "Address" key. anteater (2): also add IPv6 DNS servers