Package Details: netctl-mm 0.1.3-1

Git Clone URL: https://aur.archlinux.org/netctl-mm.git (read-only, click to copy)
Package Base: netctl-mm
Description: Mobile broadband support for netctl using ModemManager
Upstream URL: None
Licenses: GPL
Submitter: ff0x
Maintainer: ff0x
Last Packager: ff0x
Votes: 1
Popularity: 0.000000
First Submitted: 2019-03-14 11:17 (UTC)
Last Updated: 2021-10-03 20:05 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

ff0x commented on 2021-10-02 14:29 (UTC)

Hi rokla, sorry for the late response. Finally I had the time (and the hardware) to test this, using the new ModemManager version. Fortunately there is a new way to generate machine-friendly JSON output and I refactored the whole script to adapt it. Everything except for IPv6-connections are tested and works pretty well so far.

ff0x commented on 2021-06-09 12:06 (UTC)

Thank you! I'll have a look soon and apply your patch and other fixes if required.

rokla commented on 2021-06-08 15:43 (UTC)

Hi, I guess upstream changed mmcli command output since your last commit. Please consider applying patch on mobile_mm:

---
 mobile_mm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mobile_mm b/mobile_mm
index 05c8ad1..db1d886 100644
--- a/mobile_mm
+++ b/mobile_mm
@@ -178,7 +178,7 @@ function mobile_mm_up {
       [[ $bearer_config == *address:* ]] && interface_address="${bearer_config#*:}"
       [[ $bearer_config == *prefix:* ]]  && interface_prefix="${bearer_config#*:}"
       [[ $bearer_config == *gateway:* ]] && interface_gateway="${bearer_config#*:}"
-      [[ $bearer_config == *DNS:* ]]     && interface_dns="${bearer_config#*:}"
+      [[ $bearer_config == *dns:* ]]     && interface_dns="${bearer_config#*:}"
     done

     Address=("${interface_address}/${interface_prefix}")
@@ -213,7 +213,7 @@ function mobile_mm_down {
       [[ $bearer_config == *address:* ]] && interface_address="${bearer_config#*:}"
       [[ $bearer_config == *prefix:* ]]  && interface_prefix="${bearer_config#*:}"
       [[ $bearer_config == *gateway:* ]] && interface_gateway="${bearer_config#*:}"
-      [[ $bearer_config == *DNS:* ]]     && interface_dns="${bearer_config#*:}"
+      [[ $bearer_config == *dns:* ]]     && interface_dns="${bearer_config#*:}"
     done

     Address=("${interface_address}/${interface_prefix}")
--
2.32.0