Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active March 29, 2024 17:56
Show Gist options
  • Save plembo/132bff4fdd88994cf4836cfb7e747587 to your computer and use it in GitHub Desktop.
Save plembo/132bff4fdd88994cf4836cfb7e747587 to your computer and use it in GitHub Desktop.
Networking setup bug in Debian 10

Networking setup bug in Debian 10

Checking systemctl status networking on a fresh Debian 10 install, I saw the error:

Dec 23 15:36:50 testsrv01 ifup[628]: ifup: failed to bring up eth0

when /etc/network/interfaces had

allow-hotplug ens3
iface ens3 inet dhcp

and ip link show also came back with "ens3" as the physical interface.

Checking further, I found that /etc/network/interfaces.d/setup had

auto eth0
iface eth0 inet dhcp

Changing those references to "eth0" to "ens3" cleared the problem, as did the outright deletion of /etc/network/interfaces.d/setup.

Resources:

Startup Debian 10 error: networking.service loading failed. Answer 5 by telcoM. Unix & Linux StackExchange. July 14, 2019. Retrieved December 23, 2020.

Quality control much?

Just one more thing to "fix" when setting up a new server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment