On Wednesday 19 July 2006 12:30 am, Nadeem M. Khan wrote:
> On 7/19/06, Rony <[EMAIL PROTECTED]> wrote:
> > Just curious to know, what do the ifup and ifdown commands do?
> > Can they be used?
>
> ifdown brings down the interface temporarily. The interface would
> still go up  on next reboot or restart of the network services. 
> ifup does the opposite..brings up an interface if its not already
> up at boot time.

In a debian distro they also execute all scripts in 
the /etc/network/if-up.d/ and  /etc/network/if-down.d/ directories.
so you could add scripts in there to automatically do things on ifup / 
down. Ther is also if-post-down.d  / if-pre-up.d directories which do 
the same after the inerface is up / down. Similarly for ppp.

-- 
Rgds
JTD

-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to