[ale] How do you restart the network on Ubuntu

David Hillman hillmands at gmail.com
Tue Aug 30 12:18:59 EDT 2011


I am too lazy to look it up, but why the switch from using
/etc/init.d/networking to service command?

On Tue, Aug 30, 2011 at 10:58 AM, Andrew Sledge <andrew at novologic.com>wrote:

> The Ubuntu package sysvinit-utils provides the service command to
> control services.
>
> $ sudo service network-interface restart INTERFACE=eth0
>
> * ale-request at ale.org <ale-request at ale.org>:
> > Date: Tue, 30 Aug 2011 09:15:06 -0400
> > From: David Lemcoe <forum at lemcoe.com>
> > Subject: Re: [ale] How do you restart the network on Ubuntu
> > To: Atlanta Linux Enthusiasts <ale at ale.org>
> > Message-ID:
> >       <CAHGYUtizXH81vMi7_xDFugW7HL6wC9ckD5mvS6zRU=
> VpgDUgRA at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > If you're looking to restart an interface, I know "ifdown <interface>"
> > followed by "ifup <interface>" will do that.
> >
> > However I think it's "sudo /etc/init.d/networking restart" to restart the
> > whole thing.
> >
> > Hope this helps,
> >
> > David
> >
>
> --
> Andrew Sledge
>
> NovoLogic : System Developer
> Direct: 770.609.2242 | Fax: 678.990.3290 | Mobile: 404.939.2493
>
> Providing confidence, security and resources to help our clients complete
> technology intensive projects that focus on consumer education, sales and
> communication.
>
> "The significant problems that we have cannot be solved at the same level
> of thinking with which we created them." - Albert Einstein
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110830/6e8baef2/attachment.html 


More information about the Ale mailing list