1

How to force Debian to wait for DHCP

view story
linux-howto

http://unix.stackexchange.com – I am running Debian squeeze in a virtual machine (VirtualBox). The machine has two interfaces: eth0 in "Host-only" mode so that the machine is accessible from the outside; and eth1 in "NAT" mode so that the machine can access the Internet. Furthermore, I am running dnsmasq on the host machine to assign static IP addresses to the virtual machines (VirtualBox provides IP addresses for NAT). The virtual machine runs sshd and mysql. At boot time, sometimes both services fail to start: sshd[1145]: Set /proc/self/oom_adj from 0 to -17 sshd[1145]: Server listening on 0.0.0.0 port 22. sshd[1145] ()