Re: debian 9 network configuration
On 8/14/2018 10:39 AM, Remigio wrote:
Il giorno martedì 14 agosto 2018 10:20:04 UTC+2, john doe ha scritto:
On 8/14/2018 9:05 AM, Remigio wrote:
recently I installed Debian 9 Stretch and I noticed that the network configuration management method was substantially changed.
Infact the file /etc/network/interfaces is almost empty despite I've inserted the network parameters during the installation process and network works now.
I tried searching on the web about this topic but I found lots of different answers.
Could you help me please to understand where are network configuration files and how to manage them?
Thank you so much
If your '/etc/network/interfaces' is empty with the exception of the lo
interface, it is most likely that your interfaces are configured by an
other software (NetworkManager, (NM), WICD, systemd-networkd ...).
What is the content of '/etc/resolv.conf'?:
$ cat /etc/resolv.conf
Hi John, :-)
root@debian:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
Looks good when using NM.
root@debian:~# cat /etc/resolv.conf
# Generated by NetworkManager
In addition to the other answers you could also configure NetworkManager:
Uninstalling a program is never an option you need to understand how
that program works! :)
In the case of NM it's easier to use the front end but it is always nice
to go command line or using config files when needed.