Проблемка тут, ен могу сам никак разрешить. В общем service isc-dhcp-server start выдает мне -
Job for isc-dhcp-server.service failed because the control process exited with error code.
See "systemctl status isc-dhcp-server.service" and "journalctl -xe" for details.
смотрим, systemctl status isc-dhcp-server.service
● isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-09-29 13:09:51 UTC; 38s ago
Docs: man:systemd-sysv-generator(8)
Process: 3525 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
Sep 29 13:09:49 raspberrypi systemd[1]: Starting LSB: DHCP server...
Sep 29 13:09:49 raspberrypi isc-dhcp-server[3525]: Launching both IPv4 and IPv6 servers (please configure INTERFACES in /etc/default/isc-dhcp-server if you only want one or the other).
Sep 29 13:09:49 raspberrypi dhcpd[3537]: Wrote 0 leases to leases file.
Sep 29 13:09:51 raspberrypi isc-dhcp-server[3525]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
Sep 29 13:09:51 raspberrypi isc-dhcp-server[3525]: failed!
Sep 29 13:09:51 raspberrypi systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
Sep 29 13:09:51 raspberrypi systemd[1]: Failed to start LSB: DHCP server.
Sep 29 13:09:51 raspberrypi systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Sep 29 13:09:51 raspberrypi systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Я менял конфиги /etc/dhcp/dhcpd.conf, раскоментировал «authoratative» и добавил
subnet 192.168.50.0 netmask 255.255.255.0 {
range 192.168.50.10 192.168.50.250;
option broadcast-address 192.168.50.255;
option routers 192.168.50.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local";
option domain-name-servers 1.1.1.1;
}
Прошу помочь.