In my 12.04 Precise install, when I boot the system, or when I plug in an ethernet cable, dhclient isn't run automatically on my wired eth0 connection. I have no running dhclient daemon. When I run dhclient manually it succeeds at pulling an address and configuring eth0 and the route table. It does output the following however :
jdoe@example:~$ sudo dhclient eth0 Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service smbd reload Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the reload(8) utility, e.g. reload smbd
which indicates that it's an upstart managed thing. There are no upstart scripts in /etc/init/ for dhclient.
I'm running isc-dhcp-client version 4.1.ESV-R4-0ubuntu5.1, the current stable release.
- Should dhclient be running all the time as a daemon on a standard 12.04 desktop install?
- Is dhclient supposed to be launched during machine boot via upstart as the curious message I get when running dhclient suggests?
- Should I have one of these ifplugd or netplug packages to launch dhclient when a cable is plugged into eth0?
- Is dhclient instantiated by NetworkManager perhaps and not running at all times?
- For a standard Ubuntu 12.04 install should NetworkManager have anything listed in the "Wired" tab of the Network Connections dialog? [example screenshot] I've both created a Wired connection profile and left it blank, neither affects dhclient being run
Other symptoms that I'm experiencing for context are :
- NetworkManager doesn't gracefully manage when the wired and wireless connections are both connected, it merely uses the wireless
- NetworkManager doesn't connect the VPN I have configured and sometimes try to use, over the wired network, it will only connect it over the wireless network.
@roadmr had asked for the content of /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 # The primary network interface auto eth0 #NetworkManager#iface eth0 inet dhcp # This is an autoconfigured IPv6 interface iface eth0 inet6 auto