Skip to content

Integrate micronet network daemon on hub image - #34

Merged
keskad merged 3 commits into
mainfrom
feat/micronet-daemon
Aug 21, 2026
Merged

Integrate micronet network daemon on hub image#34
keskad merged 3 commits into
mainfrom
feat/micronet-daemon

Conversation

@keskad

@keskad keskad commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Run micronet serve as the network microinit daemon; liveness via micronet check every 20s.
  • Remove the separate configure-dhcp service and init script.
  • Fetch/install /usr/sbin/micronet (symlinks for legacy configure-ethernet / configure-dhcp names).
  • Seed $DATA_DIR/etc/micronet.json from overlay (10.0.10.1/24) on first boot only.

Test plan

  • Merge companion PR in dcc-bigfred/micronet first (or pin MICRONET_REF to this cycle’s commit/tag before make image).
  • make image with updated micronet artifact
  • Boot hub: micronet status shows gateway on empty event LAN; UI at http://10.0.10.1
  • With foreign DHCP (MikroTik kit): micronet status is client or static, no local dnsmasq

Depends on: dcc-bigfred/micronet#2

Run micronet as the network microinit service, drop configure-dhcp,
fetch a single micronet binary, and seed 10.0.10.1/24 on first boot.

Co-authored-by: Cursor <cursoragent@cursor.com>
keskad and others added 2 commits August 21, 2026 18:35
Only stop micronet and dnsmasq on stop; leave dhclient and any acquired
lease in place so a liveness restart does not tear down a working DHCP
client before micronet reconciles on the next serve.

Co-authored-by: Cursor <cursoragent@cursor.com>
Select dnsmasq/dhclient/iproute2, pin MICRONET_REF to feat/micronet-daemon,
and stop the network service via micronet teardown. Add overlay packaging
checks (make check) for pull requests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@keskad
keskad merged commit 4b4c732 into main Aug 21, 2026
1 check passed
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