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?

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...