summaryrefslogtreecommitdiff
path: root/etc/wpa_supplicant/appliance/udhcpd.conf.sample
blob: 821b56bf3f612e4e1fa2ac838b9d2872487839e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This is a configuration file for udhcpd(8) with relatively sane
# 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, IP addresses are
# handed out for the 10.0.0.0/24 network.  Even though there is a
# single client expected, on quick restarts, the previously allocated
# address might not be released, so there should be some room left for
# such overlaps.  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 only if this is not suitable.

start		10.0.0.2
end		10.0.0.254
max_leases	64
interface	eth0
opt	subnet	255.255.255.0
opt	router	10.0.0.1
opt	dns	%%DNS%% 8.8.8.8 8.8.4.4
opt	lease	864000