Skip to content

Router target#88

Open
Yury-MonZon wants to merge 1 commit into
devfrom
router-target
Open

Router target#88
Yury-MonZon wants to merge 1 commit into
devfrom
router-target

Conversation

@Yury-MonZon

Copy link
Copy Markdown
Contributor

This adds 'router' systemd target which creates wifi AP to share internet connection.

@Yury-MonZon Yury-MonZon requested a review from a team June 22, 2026 08:31
@Yury-MonZon Yury-MonZon marked this pull request as draft July 1, 2026 10:37
Add a Wi-Fi router configuration to the @router profile, defined
declaratively as NetworkManager connection profiles plus
router-net.service, with no imperative router scripts:

- br-lan bridge with Ethernet (end1) and USB LAN ports
- Wi-Fi AP, 5 GHz with a 2.4 GHz fallback (a 6 GHz profile is kept for a
  future 6E dongle)
- router-net.service scopes the autoconnect=false profiles, waits for the
  late-enumerating USB Wi-Fi device, and tears them down on stop;
  router-iperf3.service provides a LAN iperf3 server
- both are enabled through multi-user.target.wants in the profile, matching
  the other per-subvolume profiles (no custom target)

These router-specific files live under overlays/profile-router/ so they land
only in the @router subvolume. The WAN uplink (router-wan, end0) is a common
connection instead: it is autoconnect=true and useful in every profile, and
in router mode it doubles as the NAT uplink for br-lan.

Connections use human-readable names ("Router WAN", "Router LAN Bridge",
"Router Wi-Fi 5 GHz").
@Yury-MonZon Yury-MonZon marked this pull request as ready for review July 1, 2026 14:02
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.

1 participant