diff options
author | PÁLI Gábor János <pali.gabor@gmail.com> | 2022-05-28 12:44:37 +0200 |
---|---|---|
committer | PÁLI Gábor János <pali.gabor@gmail.com> | 2022-05-31 22:02:42 +0200 |
commit | 97c67abab07a57840f95d04fadbd13b3c0f5b328 (patch) | |
tree | cdd484a2af71b89ff7a75c5eb808e6e18f00801d /etc/wpa_supplicant/appliance/udhcpd.conf.sample | |
parent | a6085330a18c8a257d2e185aab016c483335f86a (diff) | |
download | freebsd-wifibox-alpine-97c67abab07a57840f95d04fadbd13b3c0f5b328.zip |
Incorporate `hostapd`.
The inclusion of `hostapd` [1] brings a lot of related changes
because the build process have to extended to take the challenge.
- Convert `wpa_passthru` to a more a generic services, called
`uds_passthru` to deal with the control socket forwarding.
It can also log the `socat` errors properly.
- Make the `Makefile` more parametric therefore the virtual disk
image can be customized better.
- Default configurations are now moved fully to the guest's side.
- Tweak the packages to be more flexible.
- Document everything.
[1] https://w1.fi/hostapd/
Diffstat (limited to 'etc/wpa_supplicant/appliance/udhcpd.conf.sample')
-rw-r--r-- | etc/wpa_supplicant/appliance/udhcpd.conf.sample | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/wpa_supplicant/appliance/udhcpd.conf.sample b/etc/wpa_supplicant/appliance/udhcpd.conf.sample new file mode 100644 index 0000000..501149a --- /dev/null +++ b/etc/wpa_supplicant/appliance/udhcpd.conf.sample @@ -0,0 +1,18 @@ +# 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, the IP addresses are +# handed out for the 10.0.0.0/24 network. 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 8.8.8.8 8.8.4.4 +opt lease 864000 |