Skip to content

Migrate from dhcpcd to NetworkManager#526

Merged
ethanjli merged 55 commits intomasterfrom
feature/networkmanager-support
Feb 20, 2025
Merged

Migrate from dhcpcd to NetworkManager#526
ethanjli merged 55 commits intomasterfrom
feature/networkmanager-support

Conversation

@ethanjli
Copy link
Collaborator

@ethanjli ethanjli commented Jan 24, 2025

This PR integrates PlanktoScope/pallet-standard#47 and PlanktoScope/pallet-standard#82 and thus fixes #250; this PR also adds some documentation to make progress on PlanktoScope/proposals#4. NetworkManager is used on both bullseye and bookworm. As part of this change, Forklift now must be run as the root user (i.e. sudo forklift), and Forklift's local data has been moved to the root user's home directory (i.e. /root).

TODOs:

  • Check whether we still actually need to install hostapd
  • Revert the switch to sudo forklift (including any changelog messages)
  • Test the bullseye lite image on the RPi 4
  • Fix issue with Docker & firewalld on bookworm
  • Test the bookworm lite image on the RPi 4
  • Test the bookworm lite image on the RPi 5
  • Update device-portal infobox messages about planktoscope.local and pkscope.local
  • Update setup & ops documentation about when planktoscope.local and pkscope.local work
  • Update security-related ops documentation
  • Add ops documentation about connecting a USB Wi-Fi dongle
  • Add ops documentation about connecting to Wi-Fi networks (sudo nmtui to add the connection and then reboot)
  • Add ops documentation about connecting to Wi-Fi networks with captive portals
  • Update technical reference docs about system services and boot orderings
  • Add technical reference docs about drop-in file fragment assembly system
  • Add technical reference docs about firewalld
  • Add technical reference docs about NetworkManager
  • Add technical reference docs about machine-name generation and mDNS CNAME records (and why we have those aliases for the machine-specific hostname-based mDNS name)
  • Add technical reference docs about pallet-standard's infra package deployments, including Docker networks, caddy-docker-proxy configuration, and prometheus configuration
  • Update CHANGELOG.md

@ethanjli ethanjli marked this pull request as ready for review February 8, 2025 00:39
@ethanjli ethanjli enabled auto-merge February 20, 2025 04:35
@ethanjli ethanjli added this pull request to the merge queue Feb 20, 2025
Merged via the queue into master with commit 031190a Feb 20, 2025
12 checks passed
@ethanjli ethanjli deleted the feature/networkmanager-support branch February 20, 2025 05:02
@ethanjli
Copy link
Collaborator Author

Note: the support that was added/integrated by this PR for a USB Wi-Fi dongle (including internet connection-sharing behavior through such a USB Wi-Fi dongle) has significant implications for #307 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

os/networking: Simplify network config by replacing dhcpcd with NetworkManager

1 participant