<br><br><div class="gmail_quote">On Tue, Aug 30, 2011 at 3:36 PM, Damon L. Chesser <span dir="ltr">&lt;<a href="mailto:damon@damtek.com">damon@damtek.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, 2011-08-30 at 10:58 -0400, Andrew Sledge wrote:<br>
&gt; The Ubuntu package sysvinit-utils provides the service command to<br>
&gt; control services.<br>
&gt;<br>
&gt; $ sudo service network-interface restart INTERFACE=eth0<br>
<br>
</div>How are we to know the mapping from /etc/init.d/networking -&gt; service<br>
network-interface restart INTERFACE=eth0?<br>
<br>
is there a &quot;use this command for that command&quot; doc lying around<br>
somewhere?<br>
<br>
I have from time to time tried &quot;service networking restart&quot; to only have<br>
&quot;no such command found&quot; returned.<br></blockquote><div><br>That&#39;s likely a $PATH issue as /sbin/service is not in a normal user path or a su path but is in su - path. Ditto for sudo as it doesn&#39;t monkey with $PATH by default.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
<br>
&gt;<br>
&gt; * <a href="mailto:ale-request@ale.org">ale-request@ale.org</a> &lt;<a href="mailto:ale-request@ale.org">ale-request@ale.org</a>&gt;:<br>
&gt; &gt; Date: Tue, 30 Aug 2011 09:15:06 -0400<br>
&gt; &gt; From: David Lemcoe &lt;<a href="mailto:forum@lemcoe.com">forum@lemcoe.com</a>&gt;<br>
&gt; &gt; Subject: Re: [ale] How do you restart the network on Ubuntu<br>
&gt; &gt; To: Atlanta Linux Enthusiasts &lt;<a href="mailto:ale@ale.org">ale@ale.org</a>&gt;<br>
&gt; &gt; Message-ID:<br>
&gt; &gt;     &lt;CAHGYUtizXH81vMi7_xDFugW7HL6wC9ckD5mvS6zRU=<a href="mailto:VpgDUgRA@mail.gmail.com">VpgDUgRA@mail.gmail.com</a>&gt;<br>
&gt; &gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
&gt; &gt;<br>
&gt; &gt; If you&#39;re looking to restart an interface, I know &quot;ifdown &lt;interface&gt;&quot;<br>
&gt; &gt; followed by &quot;ifup &lt;interface&gt;&quot; will do that.<br>
&gt; &gt;<br>
&gt; &gt; However I think it&#39;s &quot;sudo /etc/init.d/networking restart&quot; to restart the<br>
&gt; &gt; whole thing.<br>
&gt; &gt;<br>
&gt; &gt; Hope this helps,<br>
&gt; &gt;<br>
&gt; &gt; David<br>
&gt; &gt;<br>
&gt;<br>
</div><div class="im">&gt; _______________________________________________<br>
&gt; Ale mailing list<br>
&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
--<br>
</div>Damon<br>
<a href="mailto:damon@damtek.com">damon@damtek.com</a><br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><br>As long as the general population is passive, apathetic, diverted to 
consumerism or hatred of the vulnerable, then the powerful can do as 
they please, and those who survive will be left to contemplate the 
outcome.<br>- <i><i><i><i>2011 Noam Chomsky<br><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i><br>