[Bug 663352] Re: No way to stop/start networking without network management

David Favor david at davidfavor.com
Tue Dec 27 18:41:35 UTC 2011


This is a very bag bug.

It still persists and the last update was made 4 months ago.

Be great to have someone assigned to fix this bug and an update about
workarounds.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/663352

Title:
  No way to stop/start networking without network management

Status in “ifupdown” package in Ubuntu:
  Triaged

Bug description:
  Hi,

  Converted from question to bug, from
  https://answers.launchpad.net/ubuntu/+source/gnome-nettool/+question/130070

  I want to remove all network management related packages and keep only
  a dhcp client (preferably pump). In plain Debian, I just need to
  properly config /etc/network/interfaces, then

   /etc/init.d/networking restart

  Vola, I'm done. But there is no way in Ubuntu to stop/start
  networking.

  /etc/init.d/networking restart
   * Reconfiguring network interfaces...                                          
  Operation failed.
  ^^^^^^^^^^^^^^^^^^^^^
  ssh stop/waiting
  ssh start/running, process 19500
                                                                           [ OK ]

  At some previous moments, it was working before, and I cannot bring
  the networking to a full stop then start again.

  Reposting comments from other bug reports, because I'm still getting
  the same results in Ubuntu 10.10 Maverick.

  === From https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/430883

  . . . There is no way to stop/start a [networking] service:

  root at quimerix:~# status networking
  networking stop/waiting
  root at quimerix:~# start networking
  networking stop/waiting
  root at quimerix:~# stop networking
  stop: Unknown instance:
  root at quimerix:~# stop networking
  stop: Unknown instance:
  root at quimerix:~# start networking
  networking stop/waiting

  ?????????

  And the old but working /etc/init.d says

  root at quimerix:~# /etc/init.d/networking start
  Rather than invoking init scripts through /etc/init.d, use the service(8)
  utility, e.g. service networking start

  Since the script you are attempting to invoke has been converted to an
  Upstart job, you may also use the start(8) utility, e.g. start networking
  networking stop/waiting

  So explain me how its supossed that i can restart a [networking]
  service?

  === From https://bugs.launchpad.net/ubuntu/+source/netbase/+bug/492160

  . . . I cannot start my network:

  $sudo service networking restart
  restart: Unknown instance

  $sudo service networking start
  networking stop/waiting

  $sudo /etc/init.d/networking restart

  (ifconfig does not show eth0 interface)

  $ping www.google.com
  ping: unknown host www.google.com

  $sudo ifup eth0
  (ping works)

  Bottom line: No configuration will automatically start the network--I
  have to manually run "ifup" to get the network to start.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/663352/+subscriptions




More information about the foundations-bugs mailing list