sudo nano /etc/network/interfaces
allow-hotplug eth0
iface eth0 inet dhcp
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
ändern in
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.x
netmask 255.255.255.0
network 192.168.178.0
broadcast 192.168.178.255
gateway 192.168.178.1