Setup an static IP on Arch Linux

Setup an static IP on Arch Linux can be done by placing a config file in /etc/netctl/:

As you can see, you have to install sudo first. Otherwise you have to switch to root user (su).

In the file you have to place the following lines for example:

Now you only need to activate the profile and reboot the system:

The blogpost Wifi setup on Arch Linux shows how to setup a static IP for wifi connections.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.