Re: which package provides ifup & ifdown command ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux