Public bug reported:

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:

r...@quimerix:~# status networking
networking stop/waiting
r...@quimerix:~# start networking
networking stop/waiting
r...@quimerix:~# stop networking
stop: Unknown instance:
r...@quimerix:~# stop networking
stop: Unknown instance:
r...@quimerix:~# start networking
networking stop/waiting

?????????

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

r...@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.

** Affects: gnome-nettool (Ubuntu)
     Importance: Undecided
         Status: New

-- 
No way to stop/start networking without network management
https://bugs.launchpad.net/bugs/663352
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to