summaryrefslogtreecommitdiff
path: root/etc/hostapd/appliance/udhcpd.conf.sample
diff options
context:
space:
mode:
Diffstat (limited to 'etc/hostapd/appliance/udhcpd.conf.sample')
-rw-r--r--etc/hostapd/appliance/udhcpd.conf.sample19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/hostapd/appliance/udhcpd.conf.sample b/etc/hostapd/appliance/udhcpd.conf.sample
new file mode 100644
index 0000000..6411e6f
--- /dev/null
+++ b/etc/hostapd/appliance/udhcpd.conf.sample
@@ -0,0 +1,19 @@
+# This is a configuration file for udhcpd(8) with some basic defaults.
+# Consult https://udhcp.busybox.net/udhcpd.conf for more.
+#
+# The value of `interface` should match with the one defined in the
+# interfaces.conf file: `interface` should be exactly the same,
+# `router` should correspond to `address` and `subnet` is the
+# `netmask`. According to these settings below, the IP addresses are
+# handed out for the 192.168.0.0/24 network.
+#
+# Change these values as needed, they are here only for inspiration.
+
+start 192.168.0.2
+end 192.168.0.254
+max_leases 64
+interface wlan0
+opt subnet 255.255.255.0
+opt router 192.168.0.1
+opt dns 8.8.8.8 8.8.4.4
+opt lease 864000