blob: 03c468e0469ea9272a12330889d6f6e56a47925c (
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 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, a single IP address
# (10.0.0.2) is handed out, since only one is expected. 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.2
max_leases 1
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
|