Answer the question
In order to leave comments, you need to log in
/etc/network/interfaces. FAILED. What to do?
When configuring /etc/network/interfaces.
# The loopback....
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8
> /etc/init.d/networking restart
> journalctl -xe
Answer the question
In order to leave comments, you need to log in
Why are you sure that your interface is called "eth0"?
On systemd systems, interfaces are named like enp1s0 and so on. - if you do not take measures to return the old names. (by adding a config to Grub or rules.d).
Show us the output of "ip a"
PS For posting code and error texts, you should use the "code" tag
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question