Re: Get to the bottom of what is running my networks
On Wed, Feb 15, 2012 at 12:57 PM, Harry Putnam <email@example.com> wrote:
> I'd like to know exactly how to start/stop retart etc the network
> But first it seems one must determine what is actually running them.
> in /var/log/boot I see:
> grep -i NetworkManger /var/log/boot
> Mon Feb 13 13:27:14 2012: Starting network connection manager: NetworkManager.
service network-manager restart
invoke-rc.d networkmanager restart
> apt-cache search nm-dhcp-client.action
> <no output>
> Even apt-cache search /sbin/dhclient gave no output.
> How can I have all these tools on my machine and apt doesn't know
> about them?
If a package's installed, use
dpkg -S /path/to/file
If it isn't installed, install apt-file, run "apt-file update", and use:
apt-file search /path/to/file