I have upgraded to Debian 7.5 using following apt sources.list entries:
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://ftp.nl.debian.org/debian/ wheezy main
deb-src http://ftp.nl.debian.org/debian/ wheezy main
deb http://ftp.nl.debian.org/debian/ wheezy-updates main
deb-src http://ftp.nl.debian.org/debian/ wheezy-updates main
My ifupdown package version:
ii ifupdown 0.7.8 amd64 high level tools
to configure network interfaces
Unfortunately that didn't fix anything regarding ifupdown issue.
To gather a bit more information, I have set VERBOSE=yes in
/etc/default/networking, which gave me the following output during
system boot time:
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Setting kernel variables ...done.
[....] Configuring network interfaces...run-parts --verbose
/etc/network/if-pre-up.d
Configuring interface lo=lo (inet)
run-parts --verbose /etc/network/if-pre-up.d
ip link set dev lo up
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/bind9
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/openvpn
run-parts: executing /etc/network/if-up.d/upstart
ifup: failed to overwrite statefile /run/network/ifstate: No such file
or directory
failed.
[ ok ] Cleaning up temporary files....
[info] Setting console screen modes.
[info] Skipping font and keymap setup (handled by console-setup).
[ ok ] Setting up console font and keymap...done.
INIT: Entering runlevel: 2
As you can see it would simply stop right after successfully setting up
loopback interface 'lo' and presumably failing to configure eth0
interface, which in turn rendered eth1,eth2 and eth3 unconfigured, even
though correct entries existed in /etc/network/interfaces.
Luckily I have managed to narrow down the problem to 'allow-hotplug
eth0' in /etc/network/interfaces:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.13.94
netmask 255.255.255.0
network 192.168.13.0
broadcast 192.168.13.255
auto eth1
iface eth1 inet dhcp
auto eth2
auto eth3
Hotplug option would probably be taking a bit longer than a typical
static/auto configuration and causing something that looks like a race
condition updating statefile. Replacing "allow-hotplug eth0" with "auto
eth0" seems to have fixed the problem and eth1 interface now properly
obtains IP address via DHCP. I have been restarting machine for about an
hour and no problems showed up so far. Before the change in 30-50% of
the booting cases it would fail to configure interfaces properly
(especially eth1 was problematic, since it would not obtain and set IP
address on that interface).
---
Kind regards,
Jacek Lakomiec
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]