[arch-general] which package provides ifup & ifdown command ?

Pierre Chapuis catwell at archlinux.us
Thu Aug 27 09:38:13 UTC 2009


Le Wed, 26 Aug 2009 00:06:16 +0200,
Frédéric Perrin <frederic.perrin at resel.fr> a écrit :

> Le mardi 25 à 10:05, Jeff Horelick a écrit :
> > As Sven-Hendrik said, you need to use ifconfig $interface up and ifconfig
> > $interface down. If you really need ifup and ifdown, put this in your
> > .bashrc:
> >
> > alias 'ifup eth0'='ifconfig eth0 up'
> > alias 'ifdown eth0'='ifconfig eth0 down"
> 
> You *do* realise that ifup does slightly more than ifconfig up ?

ifup allows you to configure some stuff using /etc/network/interfaces. If that's what you're looking for, you probably want to take a look at netcfg instead of ifconfig.

-- 
catwell


More information about the arch-general mailing list