Public bug reported:

Binary package hint: netbase

netbase: 4.27ubuntu2
ifupdown: 0.6.8ubuntu6
net-tools: 1.60-17ubuntu1

Problem description;
eth0 does not get assigned IP on boot (static configuration).

Whats causing it:
I tracked the problem down to "eth0=eth0" being present in 
/var/run/network/ifstate which causes ifup to think eth0 is already up.
If i run "ifdown eth0" before rebooting, eth0 gets an ip on the next boot. 
(ifup is called in /etc/init.d/networking start)

How to solve:
/var/run/network/ifstate should be emptied before calling ifup in 
/etc/init.d/networking start
or;
make sure /etc/init.d/networking stop is called on shutdown (but in case of a 
reset you will still have the line present in /var/run/network/ifstate so that 
solution is not as good as the first)

** Affects: netbase (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Intefraces do not get assigned IP-addresses on boot
https://bugs.launchpad.net/bugs/105236
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to