Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #178616

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

From Jonathan Dowland <jmtd@debian.org>
Newsgroups linux.debian.user
Subject Re: How to disable dhclient to control the interfaces with NetworkManager?
Date 2017-03-09 15:00 +0100
Message-ID <tj6LL-5W9-3@gated-at.bofh.it> (permalink)
References <tj6sp-5OK-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to disable dhclient to control the interfaces with  NetworkManager? Farhad Mohammadi Majd <farhadbenyamin@yahoo.com> - 2017-03-09 14:40 +0100
  Re: How to disable dhclient to control the interfaces with  NetworkManager? Joe <joe@jretrading.com> - 2017-03-09 14:50 +0100
  Re: How to disable dhclient to control the interfaces with  NetworkManager? Jonathan Dowland <jmtd@debian.org> - 2017-03-09 15:00 +0100
    Re: How to disable dhclient to control the interfaces with  NetworkManager? Henning Follmann <hfollmann@itcfollmann.com> - 2017-03-09 15:30 +0100
      Re: How to disable dhclient to control the interfaces with  NetworkManager? Jonathan Dowland <jmtd@debian.org> - 2017-03-09 22:30 +0100

csiph-web