Skip to content

Enable NM 1.52 link-local fallback resolution#2321

Draft
thatcomputerguy0101 wants to merge 11 commits intoPhotonVision:2027from
thatcomputerguy0101:link-local
Draft

Enable NM 1.52 link-local fallback resolution#2321
thatcomputerguy0101 wants to merge 11 commits intoPhotonVision:2027from
thatcomputerguy0101:link-local

Conversation

@thatcomputerguy0101
Copy link
Contributor

@thatcomputerguy0101 thatcomputerguy0101 commented Jan 21, 2026

Description

This enables link-local as a fallback to DHCP address resolution, using the new features of NetworkManager 1.52. Debian 13 (Trixie) and Ubuntu 26.04 (Resolute) introduce the required updates to NetworkManager for this to work. Unlike #1550, this continues to timeout and retry DHCP while holding a link-local address, which should avoid breaking compatibility with DHCP servers that don't respond immediately.

Closes #1813, blocked on updating the images to have NM 1.52 or later.

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why
  • If this PR changes behavior or adds a feature, user documentation is updated
  • If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly
  • If this PR touches configuration, this is backwards compatible with settings back to v2025.3.2
  • If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated
  • If this PR addresses a bug, a regression test for it is added

Gold856 and others added 10 commits October 28, 2025 13:39
## Description

Added systemcore to a couple of build files in order for `./gradlew
publishToMavenLocal` to generate systemcore-compatible dependencies.

Needed to support deploying photonlib to systemcore.

## Meta

Merge checklist:
- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_
- [ ] If this PR changes behavior or adds a feature, user documentation
is updated
- [ ] If this PR touches photon-serde, all messages have been
regenerated and hashes have not changed unexpectedly
- [ ] If this PR touches configuration, this is backwards compatible
with settings back to v2024.3.1
- [ ] If this PR touches pipeline settings or anything related to data
exchange, the frontend typing is updated
- [ ] If this PR addresses a bug, a regression test for it is added

---------

Co-authored-by: Gold856 <[email protected]>
@github-actions github-actions bot added the backend Things relating to photon-core and photon-server label Jan 21, 2026
@thatcomputerguy0101
Copy link
Contributor Author

It would probably be good to mention this in the documentation, but I don't think there is currently a section talking about DHCP.

@mcm001
Copy link
Contributor

mcm001 commented Jan 21, 2026

Yeah, I don't believe our documentation talks about networking very much at all. It seems like a common enough foot gun. It may be worth mentioning, although most people probably don't need to know very much

@github-actions github-actions bot added the documentation Anything relating to https://docs.photonvision.org label Jan 21, 2026
@thatcomputerguy0101
Copy link
Contributor Author

I added some draft documentation, although I'm unsure if I got the level of detail right.

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

Labels

backend Things relating to photon-core and photon-server documentation Anything relating to https://docs.photonvision.org

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants