Remove bogus DNS from eth0/eth1 network configs#40
Open
Conversation
setup_sensor_connection() was creating .ssh/config as root instead of pi user, causing later operations (github-hamma key setup) to fail with permission denied. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Rewrote CLAUDE.md (project status + rules) and KNOWLEDGE.md (repo-specific dev reference). Deleted DEVELOPMENT_NOTES.md, MASTER_PLAN.md, and SCRIPT_COMPARISON.md — content absorbed into KNOWLEDGE.md and the new ~/.claude/hamma-system.md operational reference. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
eth0 connects to the HAMMA sensor instrument (10.10.10.1) and eth1 is a local service port — neither runs a DNS server. When sensor carrier comes up, systemd-resolved registers 10.10.10.1 as a DNS server and overwrites the good carrier DNS from udhcpc, breaking name resolution on cellular units. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DNS=10.10.10.1fromfiles/40-eth0.network— the sensor instrument is not a DNS serverDNS=192.168.1.1fromfiles/30-eth1.network— the local service port has no DNS serverProblem
On cellular sensors, DNS resolution breaks when the HAMMA sensor gets connected. The sequence:
10.10.10.1(from eth0 config) as a DNS server50_bring_wwan0_up.pydoesn't fix it because its ping check (8.8.8.8) still passeswwan0 can't contribute DNS because it's
Unmanaged=yes, so eth0's bogus entry becomes the only DNS server.Test plan
resolvectl statusno longer shows DNS on eth0/eth1🤖 Generated with Claude Code