Web lists-archives.com

Re: How to disable dhclient to control the interfaces with NetworkManager?

On Thu, Mar 09, 2017 at 04:44:34PM +0330, Farhad Mohammadi Majd wrote:
> Hello, I did install Debian GNU/Linux v8.7 through NetInstall option,
> during installation I did not select any Desktop Environment for install
> on system, only `standard utilities', after finish the installation, I
> did use `aptitude' to install xorg, gnome-shell, gnome-session and some
> parts of GNOME without recomended packages.
> Now anytime on system booting, dhclient automatically connects the
> interface to network and I just know to use `ifdown' by root user to
> turn off the interface.
> I want to disable dhclient to control the interface with NetworkManager
> by regular user.
> How is this possible?

Edit /etc/network/interfaces and comment out the lines corresponding to
your network interface, e.g. 'auto eth0', 'iface eth0 inet dhcp', etc.
then restart NetworkManager (systemctl restart NetworkManager.service)

Jonathan Dowland
Please do not CC me, I am subscribed to the list.

Attachment: signature.asc
Description: Digital signature