Set static IP

Sometimes its necessary that your machine gets a static IP-address. For example if you want to run a server or a other service on that machine. On Debian based machines you can do this by:

  1. Edit /etc/network/interfaces (f.e.: with nano)

    In this case we set the IP fix to for both wlan and ethernet.
  2.  Setup wireless lan settings (/etc/wpa_supplicant/wpa_supplicant.conf)
  3. Disable network interface (wlan / eth)
  4. Enable it again to load changes
  5. You can skip step 3 and 4 if you just reboot your machine






One thought on “Set static IP

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.