Originally posted by roenstad
can anybody tell me to setting a static IP on my Debian server?
An example for the /etc/network/interfaces you need to change it for your settings.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface eth0 inet static
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 184.108.40.206 220.127.116.11
And if you do not have the resolvconf package installed the settings in the /etc/resolv.conf for your DNS name servers.
Again changing for the settings you will be using.