Create wireless network #30

Merged
antman merged 13 commits from create-wireless-network into main 2026-09-24 07:36:54 +00:00
Owner

Motivation

Since the server is going to be acting as a home router, it needs to broadcast a wifi network.

Solution

Setting up a wifi network can be done pretty easily using network manager, e.g. nmcli

It's also possible using dbus, but I've decided that it's not worth the additional complexity at the moment.

Testing the Wi-Fi implementation is problematic in a virtual machine. For now, I'm just testing that it tries to set up the Wi-Fi and detects that there is no available Wi-Fi device.

It also seems like Wi-Fi and network configuration is different to other resource types. Other resources can support muliple instances but network configuration is kind of a singleton. I'm not quite sure what the best approach is yet, but I've implemented this as a function that can be called somewhat idempotently, and then the config manager calls the function when it's applying the config.

### Motivation Since the server is going to be acting as a home router, it needs to broadcast a wifi network. ### Solution Setting up a wifi network can be done pretty easily using network manager, e.g. `nmcli` It's also possible using dbus, but I've decided that it's not worth the additional complexity at the moment. Testing the Wi-Fi implementation is problematic in a virtual machine. For now, I'm just testing that it tries to set up the Wi-Fi and detects that there is no available Wi-Fi device. It also seems like Wi-Fi and network configuration is different to other resource types. Other resources can support muliple instances but network configuration is kind of a singleton. I'm not quite sure what the best approach is yet, but I've implemented this as a function that can be called somewhat idempotently, and then the config manager calls the function when it's applying the config.
Create wireless network
Some checks failed
/ test-and-lint (push) Has been cancelled
106beefed4
beep
Some checks failed
/ test-and-lint (push) Has been cancelled
7267ca0ed4
use wifiDeviceId
All checks were successful
/ test-and-lint (push) Successful in 3m0s
64ed918245
he set up networking
Some checks failed
/ test-and-lint (push) Failing after 5s
41b93d2bc6
fix issues
Some checks failed
/ test-and-lint (push) Has been cancelled
6dfe25b751
Add time for setupDisks
All checks were successful
/ test-and-lint (push) Successful in 3m13s
bc685baacc
add failing test
All checks were successful
/ test-and-lint (push) Successful in 3m1s
35b81597b1
derp
Some checks failed
/ test-and-lint (push) Failing after 8s
1529c1b8c6
????????
Some checks failed
/ test-and-lint (push) Failing after 7s
bbf721ebb0
mm
All checks were successful
/ test-and-lint (push) Successful in 3m4s
25fbaeb288
Add test condition
Some checks failed
/ test-and-lint (push) Has been cancelled
d68eea29e0
nnn
Some checks failed
/ test-and-lint (push) Failing after 3m15s
517f4ff2f3
??
All checks were successful
/ test-and-lint (push) Successful in 3m9s
ec485bc7fa
antman changed title from WIP: Create wireless network to Create wireless network 2026-09-24 07:36:10 +00:00
antman merged commit fc30dc1c21 into main 2026-09-24 07:36:54 +00:00
antman deleted branch create-wireless-network 2026-09-24 07:36:54 +00:00
antman referenced this pull request from a commit 2026-09-24 07:36:56 +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!30
No description provided.