T
T
Thiago Alvarez2018-12-06 21:03:35
linux
Thiago Alvarez, 2018-12-06 21:03:35

/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

after reloading the service > /etc/init.d/networking restart
gives an error 5c0961674fffc229309805.jpeg> journalctl -xe
5c096321cad4f761989194.pngBUT IF REMOVE auto eth0 . That is overloaded with norms and the error does not climb out.
Help me to understand

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TyzhSysAdmin, 2018-12-06
@POS_troi

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 question

Ask a Question

731 491 924 answers to any question