I am having a problem with my network settings. The machine has an internal NIC and a USB-WiFi stick. When the NIC is plugged in, both interfaces receive an IP via DHCP. When the NIC is unplugged, the WiFi stick does not receive an IP address.  auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto wlan0 iface wlan0 inet dhcp wpa-ssid <name> wpa-psk <password> How can I solve this issue?   Regards!