From 40d9144191458c637ae1ea642c6d199e976555fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 28 Jan 2026 14:43:54 +0000 Subject: [PATCH] dnsmasq: bind to br0 --- README.md | 3 +++ hosts/mtworx/configuration.nix | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1cc1240..d8cf99c 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ Borg netboot ------- +1. `dmesg | grep enp0` <- find the usb interface +2. Disable power saving: `echo -1 | sudo tee /sys/bus/usb/devices/2-1/power/autosuspend`. + efi: qemu-system-x86_64 \ diff --git a/hosts/mtworx/configuration.nix b/hosts/mtworx/configuration.nix index f24787e..6b60b9d 100644 --- a/hosts/mtworx/configuration.nix +++ b/hosts/mtworx/configuration.nix @@ -268,9 +268,9 @@ in dhcp-option = "66,\"0.0.0.0\""; enable-tftp = true; tftp-root = "${tftp-root}"; + listen-address = "10.14.143.1"; + bind-interfaces = true; - # Detect client architecture and serve appropriate bootloader - # DHCP option 93 = Client System Architecture Type dhcp-match = [ "set:efi-x86_64,option:client-arch,7" # EFI BC (x86-64) "set:efi-x86_64,option:client-arch,9" # EFI x86-64 @@ -278,7 +278,6 @@ in "set:bios,option:client-arch,0" # BIOS x86 ]; - # Serve appropriate boot file based on architecture dhcp-boot = [ "tag:efi-x86_64,boot.efi" # UEFI x86-64 clients "tag:efi-x86,boot.efi" # UEFI IA32 clients