Quantcast
Viewing all articles
Browse latest Browse all 3387

System and Network configuration • Network Configuration - /etc/nework/interfaces not working

Hello, People.
I'm configuring Debian 12(Bookworm) on a physical server and I have a problem while setting up my network info.
I tried to set up a very basic /etc/network/interfaces configuration but Debian apparently doesn't read the interfaces file.
This is my setup:

Code:

auto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress IPADDRESS/MASKgateway GW-IPADDRESSdns-nameservers 8.8.8.8
I restart the service with sudo systemctl restart networking and it restarts properly, but the configuration is never set up. No changes are made to my eth0, gw or DNS
I can set up almost everything on the command line but the DNS, which I need to run packages updates.

Any ideas why Debian won't read/pay attention to such a simple config?
Thanks
Herlit

Statistics: Posted by herlitml — 2024-10-07 16:01 — Replies 3 — Views 73



Viewing all articles
Browse latest Browse all 3387

Trending Articles