From d86f8606dcef3a85964fc4656dcdd0e22b87c800 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sat, 20 Mar 2021 15:40:00 +0200 Subject: [PATCH] configs/releng: add and enable ModemManager ModemManager's mmcli is the simplest way to connect with WWAN modems. Mention mmcli in MOTD. Implements #110. --- configs/releng/airootfs/etc/motd | 3 ++- .../systemd/system/dbus-org.freedesktop.ModemManager1.service | 1 + .../system/multi-user.target.wants/ModemManager.service | 1 + configs/releng/packages.x86_64 | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) create mode 120000 configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service create mode 120000 configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service diff --git a/configs/releng/airootfs/etc/motd b/configs/releng/airootfs/etc/motd index 417b050..3f82850 100644 --- a/configs/releng/airootfs/etc/motd +++ b/configs/releng/airootfs/etc/motd @@ -2,7 +2,8 @@ To install Arch Linux follow the installation guide: https://wiki.archlinux.org/index.php/Installation_guide For Wi-Fi, authenticate to the wireless network using the iwctl utility. -Ethernet and Wi-Fi connections using DHCP should work automatically. +For mobile broadband (WWAN) modems, connect with the mmcli utility. +Ethernet, WLAN and WWAN interfaces using DHCP should work automatically. After connecting to the internet, the installation guide can be accessed via the convenience script Installation_guide. diff --git a/configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service b/configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/ModemManager.service \ No newline at end of file diff --git a/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service new file mode 120000 index 0000000..dcf7c8e --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/ModemManager.service \ No newline at end of file diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64 index a5854e6..71c139d 100644 --- a/configs/releng/packages.x86_64 +++ b/configs/releng/packages.x86_64 @@ -57,6 +57,7 @@ memtest86+ mkinitcpio mkinitcpio-archiso mkinitcpio-nfs-utils +modemmanager mtools nano nbd