Package: isc-dhcp-server
Version: 4.4.1-2
Severity: minor

This error message is wrong:

No subnet declaration for wlp2s0b1 (no IPv4 addresses).
** Ignoring requests on wlp2s0b1.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface wlp2s0b1 is attached. **

Proof:
$ make dhcpd #will produce this message
$ make w r dhcpd #will not produce this message, and work fine.

The error is the interface is not up, not that the dhcpd.conf needs to
be changed!

W=wlp2s0b1
I=192.168.1
E=bla
w:
        rfkill unblock wifi
        ip link set $W down
        iw $W set type ibss
        ip link set $W up
        : ip link show $W
        iw $W ibss join $E 2462
r:
        ip address flush dev $W
        ip addr add $I/24 broadcast + dev $W
dhcp:/tmp/dhcpd.conf
        dhcpd -f -d -cf $? $W
/tmp/dhcpd.conf:Makefile
        > $@ echo subnet $I.0 netmask 255.255.255.0 { range $I.10 $I.250\; }

Reply via email to