27 Aug
2009
27 Aug
'09
9:38 a.m.
Le Wed, 26 Aug 2009 00:06:16 +0200, Frédéric Perrin <frederic.perrin@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