summaryrefslogtreecommitdiff
path: root/etc/hostapd/appliance/udhcpd.conf.sample
blob: 3f8e5b298dd70f9340de60cb23449516fd140cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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.  In the `opt dns` line,
# the `%%DNS%%` variable would be replaced with the IP addresses of
# the DNS servers as provided by the wireless network (wifibox
# extension).
#
# 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	%%DNS%% 8.8.8.8 8.8.4.4
opt	lease	864000