
adelsonssb
(usa Debian)
Enviado em 13/12/2020 - 10:48h
uma coisa intrigante, sempre usei eth0 , mais para rodar meu servidor preciso de um dhcp na maquina e agora estou com erro ao rodar o serviço
oot@sunray:/home/sunray# /etc/init.d/networking restart
[....] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xe" for details.
failed!
alguem poderia me ajudar por onde começo ?
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# interface wan
auto wlan0
iface wlan0 inet dhcp
# rede Lan
auto eth0
iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0
;wq
__________________________________________________________________________________________________
meu dhcp conf linhas não comentadas
option domain-name "spices.org";
option domain-name-servers 8.8.8.8, 8.8.4.4;
default-lease-time 86400;
max-lease-time 604800;
ddns-update-style none;
authoritative;
log-facility local7;
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.10 192.168.10.100;
option subnet-mask 255.255.255.0;
option routers 192.168.10.1;
option broadcast-address 192.168.10.255;
}