[arch-general] which package provides ifup & ifdown command ?
Jeff Horelick
jdhore1 at gmail.com
Tue Aug 25 08:05:44 UTC 2009
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"
It's likely that you could replace hardcoding eth0 with using something like
$2, but it's 4AM and i'm too lazy to write up a example for that.
More information about the arch-general
mailing list