Friday, December 30, 2011

How to bring the network interface down in Arch

Coming from Debian/Ubuntu camp, I know that ifup eth0 or ifdown eth0 can be used to bring a network interface down/up. Unfortunately, ifup and ifdown is not available by default on an Arch netinstall. Also, it seems like ifup/ifdown are now in the list of deprecated tools. So, what's the alternative? Use ip command, like to bring down an interface do:
#: ip link set eth0 down
Conversely, if you want to bring up an interface, do:
#: ip link set eth0 up

Enjoy!

Tags: Debian, Ubuntu, Arch, interface, ifup, ifdown, replacement, alternative

1 comment:

Anonymous said...

This is an old post, but still does the trick!
So quite a few years have passed...Whatcha up to these days?

How to configure nfs server on QNX 7.1

How to configure nfs server on QNX 7.1 Target: QNX 7.1 running on a VM (VMware Workstation or VirtualBox). It is assummed that the targets ...