← Back to team overview

ubuntu-server-tips team mailing list archive

[Bug 2111756] Re: /etc/init.d/networking is no longer present

 

*** This bug is a duplicate of bug 2111757 ***
    https://bugs.launchpad.net/bugs/2111757

** This bug has been marked a duplicate of bug 2111757
   /etc/init.d/networking is no longer present

-- 
You received this bug notification because you are a member of Ubuntu
Server Tips, which is subscribed to fortunes-ubuntu-server in Ubuntu.
https://bugs.launchpad.net/bugs/2111756

Title:
  /etc/init.d/networking is no longer present

Status in fortunes-ubuntu-server package in Ubuntu:
  New

Bug description:
  The following tip may have become outdated:

  You can edit your network configuration in /etc/network/interfaces and
  enable your changes by issuing the command sudo /etc/init.d/networking
  restart.

  I observe no such file in my system, but that might just be because of
  my local configuration.

  Online, I can see other people struggling with this, and cannot
  determine which is the correct truth.

  # Command is correct:

  This tip is still consistent with the docs at
  https://help.ubuntu.com/community/NetworkConfigurationCommandLine

  # Command is incorrect:

  See the comments on this answer:
  https://askubuntu.com/a/444168/235107

  "This used to work for older kernels. Now it seems that do not work
  indeed. Prefered ifconfig eth0 down & ifconfig eth0 up"

  
  It appears that `/etc/init.d/networking restart` logged a message similar to Running $0 $1 is deprecated because it may not enable again some interfaces" in 2010, per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565187
  (which I found via https://www.reddit.com/r/linux/comments/24i9bd/what_is_the_deal_with_etcinitdnetworking_restart/)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fortunes-ubuntu-server/+bug/2111756/+subscriptions



References