From 082b2e013da6815e0d5b5e9426f2f35c4dbcf2a3 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 24 Jan 2023 11:50:47 +0100 Subject: [PATCH] Exclude .255 broadcast address from dhcp-range --- README.md | 2 +- config/090_wlan0.conf | 2 +- config/defaults.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f16fedf4..6293d2f3 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ configured as an access point as follows: * IP address: 10.3.141.1 * Username: admin * Password: secret -* DHCP range: 10.3.141.50 — 10.3.141.255 +* DHCP range: 10.3.141.50 — 10.3.141.254 * SSID: `raspi-webgui` * Password: ChangeMe diff --git a/config/090_wlan0.conf b/config/090_wlan0.conf index 8cabda48..026c3928 100644 --- a/config/090_wlan0.conf +++ b/config/090_wlan0.conf @@ -1,6 +1,6 @@ # RaspAP wlan0 configuration for wired (ethernet) AP mode interface=wlan0 domain-needed -dhcp-range=10.3.141.50,10.3.141.255,255.255.255.0,12h +dhcp-range=10.3.141.50,10.3.141.254,255.255.255.0,12h dhcp-option=6,9.9.9.9,1.1.1.1 diff --git a/config/defaults.json b/config/defaults.json index 67948d0d..81291989 100644 --- a/config/defaults.json +++ b/config/defaults.json @@ -28,7 +28,7 @@ }, "dnsmasq": { "wlan0": { - "dhcp-range": [ "10.3.141.50,10.3.141.255,255.255.255.0,12h" ] + "dhcp-range": [ "10.3.141.50,10.3.141.254,255.255.255.0,12h" ] }, "uap0": { "dhcp-range": [ "192.168.50.50,192.168.50.150,12h" ]