Rework networking setup #32

Merged
antman merged 8 commits from Rework-networking-setup into main 2026-09-30 04:32:07 +00:00
Owner

Motivation

Once we successfully built and started operating a prototype device, we realized we needed to reconfigure the networking for it to successfully act as a router and server simultaneously.

Solution

  • Created a bridge interface comprised of the Wi-Fi card and the second NIC. This way devices on the Wi-Fi can address devices on the LAN and vice versa.
  • The bridge interface is a shared ipv4 connection providing a dhcp server via dnsmasq
  • Set up the first Ethernet card as the upstream gateway.

Miscellaneous changes

  • Simplified VM ready check to only check major/minor kernel version
  • Started implementing an API wrapper around CLI commands. Starting with nmcli & firewall-cmd
### Motivation Once we successfully built and started operating a prototype device, we realized we needed to reconfigure the networking for it to successfully act as a router and server simultaneously. ### Solution * Created a bridge interface comprised of the Wi-Fi card and the second NIC. This way devices on the Wi-Fi can address devices on the LAN and vice versa. * The bridge interface is a shared ipv4 connection providing a dhcp server via `dnsmasq` * Set up the first Ethernet card as the upstream gateway. Miscellaneous changes * Simplified VM ready check to only check major/minor kernel version * Started implementing an API wrapper around CLI commands. Starting with `nmcli` & `firewall-cmd`
rework networking setup
Some checks failed
/ test-and-lint (push) Failing after 5m22s
37b9abc1fa
Less specific kernel version
Some checks failed
/ test-and-lint (push) Has been cancelled
8e034dd6f6
aaaaaaaaaaaaaa
Some checks failed
/ test-and-lint (push) Has been cancelled
42a8f98b53
??????
Some checks failed
/ test-and-lint (push) Has been cancelled
0f0b00c044
lol
All checks were successful
/ test-and-lint (push) Successful in 3m10s
93d4d58b21
remove unnecessary changes
Some checks failed
/ test-and-lint (push) Failing after 5m23s
f5490033f0
remove more unnecessary changes
All checks were successful
/ test-and-lint (push) Successful in 3m1s
5b92cce4e3
@ -3,3 +3,3 @@
import type { ResourceType } from './ResourceBase.ts';
export type VoidFn = () => Promise<void>;
export type VoidFn = () => Promise<unknown>;
Author
Owner

requiring these functions to return void was annoying and unnecessary as the return type can just be ignored

requiring these functions to return void was annoying and unnecessary as the return type can just be ignored
antman changed title from WIP: Rework networking setup to Rework networking setup 2026-09-30 04:32:01 +00:00
antman merged commit 5634113121 into main 2026-09-30 04:32:07 +00:00
antman deleted branch Rework-networking-setup 2026-09-30 04:32:07 +00:00
antman referenced this pull request from a commit 2026-09-30 04:32:08 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kill-the-cloud/server-manager!32
No description provided.