summaryrefslogtreecommitdiff
path: root/etc/wpa_supplicant/appliance
diff options
context:
space:
mode:
Diffstat (limited to 'etc/wpa_supplicant/appliance')
-rw-r--r--etc/wpa_supplicant/appliance/udhcpd.conf.sample9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/wpa_supplicant/appliance/udhcpd.conf.sample b/etc/wpa_supplicant/appliance/udhcpd.conf.sample
index 501149a..79a5549 100644
--- a/etc/wpa_supplicant/appliance/udhcpd.conf.sample
+++ b/etc/wpa_supplicant/appliance/udhcpd.conf.sample
@@ -5,8 +5,11 @@
# 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 10.0.0.0/24 network. Change these only if this
-# is not suitable.
+# handed out for the 10.0.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 only if this is not suitable.
start 10.0.0.2
end 10.0.0.254
@@ -14,5 +17,5 @@ max_leases 64
interface eth0
opt subnet 255.255.255.0
opt router 10.0.0.1
-opt dns 8.8.8.8 8.8.4.4
+opt dns %%DNS%% 8.8.8.8 8.8.4.4
opt lease 864000