pmaports/main/postmarketos-base-ui
Dylan Van Assche 4b92e922ef
main/postmarketos-base-ui: enable USB tethering (MR 3819)
USB tethering allows users to use their phone's WiFi or WWAN interface
as an access point for the device they connect the phone with over USB.
This way, they can use their data plan with a laptop or desktop when
regular Internet access is absent.

Configure NetworkManager to manage the usb0 iface from initfs so users
can configure it in GNOME Settings or KDE. Include a NetworkManager
dispatcher script as well to handle postmarketOS' setup with unudhcpd as
we want to provide an SSH login over USB when tethering is disabled. If
tethering is enabled, unudhpcd is stopped and its functionality is taken
over by NetworkManager through an instance of dnsmasq. NetworkManager
will also configure the necessary settings to allow IP forwarding and
firewall rules during tethering. Once disabled, NetworkManager cleans up
these settings and our dispatcher script starts unudhcpd again.

Due to upstream changes, NetworkManager requires networkmanager-dnsmasq
subpackage as dependency as dnsmasq needs DBus support for
NetworkManager. Without it, NetworkManager will silently fail spawning
dnsmasq instances.
[ci:skip-build]: already built successfully in CI
2023-05-21 19:42:14 +02:00
..
APKBUILD main/postmarketos-base-ui: enable USB tethering (MR 3819) 2023-05-21 19:42:14 +02:00
postmarketos-base-ui-elogind.post-install postmarketos-base-ui: new aport (MR 2243) 2021-06-23 13:00:00 +02:00
postmarketos-base-ui-elogind.pre-upgrade postmarketos-base-ui: new aport (MR 2243) 2021-06-23 13:00:00 +02:00
postmarketos-base-ui-openrc-settingsd.post-install main/postmarketos-base-ui: configure openrc-settingsd for chronyd (MR 3953) 2023-04-12 16:53:15 +02:00
postmarketos-base-ui-openrc-settingsd.post-upgrade main/postmarketos-base-ui: configure openrc-settingsd for chronyd (MR 3953) 2023-04-12 16:53:15 +02:00
postmarketos-base-ui.post-install postmarketos-base-ui: new aport (MR 2243) 2021-06-23 13:00:00 +02:00
postmarketos-base-ui.post-upgrade postmarketos-base-ui: new aport (MR 2243) 2021-06-23 13:00:00 +02:00
rootfs-etc-chrony-chrony.conf postmarketos-base-ui: new aport (MR 2243) 2021-06-23 13:00:00 +02:00
rootfs-etc-conf.d-openrc-settingsd main/postmarketos-base-ui: configure openrc-settingsd for chronyd (MR 3953) 2023-04-12 16:53:15 +02:00
rootfs-etc-conf.d-tinydm postmarketos-base-ui: new aport (MR 2243) 2021-06-23 13:00:00 +02:00
rootfs-etc-conf.d-wpa_supplicant postmarketos-base-ui: new aport (MR 2243) 2021-06-23 13:00:00 +02:00
rootfs-etc-elogind-logind.conf postmarketos-base-ui: new aport (MR 2243) 2021-06-23 13:00:00 +02:00
rootfs-etc-NetworkManager-conf.d-hostname-mode.conf main/postmarketos-base-ui: NetworkManager: hostname-mode=none (MR 2457) 2021-08-24 14:37:41 +02:00
rootfs-etc-NetworkManager-conf.d-tethering.conf main/postmarketos-base-ui: enable USB tethering (MR 3819) 2023-05-21 19:42:14 +02:00
rootfs-etc-NetworkManager-conf.d-use-dnsmasq.conf pmos-base-ui-networkmanager: set up dnsmasq for filtering lookups (MR 3823) 2023-04-29 23:40:52 -07:00
rootfs-etc-NetworkManager-dispatcher.d-85-tethering main/postmarketos-base-ui: enable USB tethering (MR 3819) 2023-05-21 19:42:14 +02:00
rootfs-etc-NetworkManager-dispatcher.d-99-dns-filter.sh pmos-base-ui-networkmanager: set up dnsmasq for filtering lookups (MR 3823) 2023-04-29 23:40:52 -07:00
rootfs-etc-pulse-default.pa.d-postmarketos.pa main/postmarketos-base-ui: simplify pulseaudio config (MR 3412) 2022-09-08 09:15:22 +02:00
rootfs-etc-skel-.profile main/postmarketos-base-ui: add "$HOME/.local/bin" to $PATH (MR 2445) 2021-08-18 17:05:02 +03:00
rootfs-etc-sleep-inhibitor.conf postmarketos-base-ui: new aport (MR 2243) 2021-06-23 13:00:00 +02:00
rootfs-etc-tinydm.d-env-wayland.d-50-firefox-wayland.sh main/postmarketos-base: add Firefox env config to -tinydm subpackage (MR 2235) 2021-06-30 23:38:12 -07:00
rootfs-etc-tinydm.d-env-wayland.d-50-sdl-wayland.sh main/postmarketos-base-ui: run SDL in Wayland mode by default (MR 2669) 2022-10-09 15:23:59 +02:00
rootfs-etc-X11-Xwrapper.config main/postmarketos-base-ui: add Xwrapper script for X11 (MR 2773) 2021-12-19 21:46:02 +03:00
rootfs-usr-lib-NetworkManager-system-connections-USB_Networking.nmconnection main/postmarketos-base-ui: enable USB tethering (MR 3819) 2023-05-21 19:42:14 +02:00