[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 9 network management

On Tue, 14 Aug 2018, Dan Ritter wrote:

> Date: Tue, 14 Aug 2018 16:27:03
> From: Dan Ritter <dsr@randomstring.org>
> To: Remigio <linoreale@gmail.com>
> Cc: debian-user@lists.debian.org
> Subject: Re: Debian 9 network management
> Resent-Date: Tue, 14 Aug 2018 20:27:28 +0000 (UTC)
> Resent-From: debian-user@lists.debian.org
> On Tue, Aug 14, 2018 at 01:08:40AM -0700, Remigio wrote:
> > Hi there,
> > 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?
> /etc/network/interfaces will still work -- and if it does what
> you need, it's the best solution in many ways.
> However, the default is NetworkManager, which attempts to handle
> every conceivable situation automatically.
> You can kill the NetworkManager process, apt remove it, and
> write up an /etc/network/interfaces (or interfaces.d/* ) file,
> reboot and be happy.
> -dsr-
Another possibility available to shell users is to run nmtui and activate
your chosen chosen connection.  For Wi-Fi instances you'll need to know
and use the password and if it works you'll have a choice to delete the
connection or you could simply exit out of the nmtui program at that
point.  In order to test the connection, the command:
ping -a -c 5 www.google.com
should perhaps generate some beeps and some packet transfer information
on the screen.  If it says something to the effect connection unknown,
you don't yet have network up yet.
Hope this helps.


Reply to: