unfortunately things got changed in debian.

udev rules, persistent… whatever. why do people have to change stuff that actually works?

it seems i am not the only one having this problem: http://grapsus.net/blog/post/Fixing-Xen-RTNETLINK-answers:-File-exists-issue-with-ifup-on-Debian-when-using-network-bridge-and-static-IP

http://trac.zentyal.org/ticket/5178 – works not for me.

what worked in the debian 6, does not work anymore in 7. this sucks.

1. first i installed wicd

aptitude install wicd

but i don’t think it is necessary.

vim /etc/network/interfaces

# 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
auto lo
iface lo inet loopback

# fixed ipc
auto eth0
iface eth0 inet static
address 192.168.1.222
netmask 255.255.255.0
gateway 192.168.1.1

# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp

root@debian7:/home/user# /etc/init.d/networking restart
[....] Running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning).
[ ok ] Reconfiguring network interfaces...done.

or if that fails:

reboot

in my case it seems this line

auto eth0

and things FAILED gracefully like this:

[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
[....] Reconfiguring network interfaces...RTNETLINK answers: File exists
Failed to bring up eth0.
done.
admin