It seems to me that the debian way to achieve this task from the commandline is to use the following command:
invoke-rc.d networking restart

Ron Johnson a écrit :
On 2010-03-17 22:57, Tom H wrote:
I haven't been active in Debian for two years back when Lenny was
still in 'testing' and noticed that for some reason it is no longer
protocol to restart network services using the 'init.d' scripts. I
also noticed the same for Ubuntu (which I don't use or could care
about) and am trying to understand what is the correct way now for
Debian and what changed? I did a search on Google but didn't turn up
any results.
Is it no longer correct to run:
/etc/init.d/network restart

If you use GNOME *and* you've installed NetworkMangler, then the init.d
script is probably recommended.

My bad.  I meant to write "is probably *not* recommended".


/etc/init.d/network
does not exist. If you have Network Manager with its default setup,

Because the file is /etc/init.d/networking.

[snip]

(Another note: Fedora 13 will introduce a CLI interface to NetworkMangler using D-Bus. Their goal is that the code in the current script interface will turn into D-Bus calls just as the GUI NetworkMangler currently is.)

It's been available for Fedora for almost a year
http://koji.fedoraproject.org/koji/packageinfo?packageID=8461
and is in Sid
http://packages.debian.org/sid/cnetworkmanager


Interesting.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba1e672.3020...@gmail.com

Reply via email to