Running rc-service dhcpcd start --verbose:
Code: Select all
...
start-stop-daemon: fopen '/var/run/dhcpcd/pid" No such file or directory
...
no valid interfaces foundContents of /etc/config.d/net:
Code: Select all
net_eno1="dhcp"Code: Select all
...
start-stop-daemon: fopen '/var/run/dhcpcd/pid" No such file or directory
...
no valid interfaces foundCode: Select all
net_eno1="dhcp"This was the problem. I mistakenly installed dhcpcd, thinking that was needed for dhcp.grknight wrote:Are you trying to start both the dhcpcd and net.eno1 services at the same time?
Please do not do this as they conflict and will fight over the interface.
Choose only one and disable the other one.
You can install the package dhcpcd, but don't run 2 services that provide dhcp. netifrc (net.eno1 service here) will use dhcpcd if it exists on startup but do not start the dhcpcd service when using netifrc on the same interface.corona80 wrote:This was the problem. I mistakenly installed dhcpcd, thinking that was needed for dhcp.grknight wrote:Are you trying to start both the dhcpcd and net.eno1 services at the same time?
Please do not do this as they conflict and will fight over the interface.
Choose only one and disable the other one.
Thanks for the help, and unreasonably fast replies.
Thanks for clarifying. I ended up removing the dhcpcd package. It was starting automatically, even after I removed it from the default runlevel. I did not look to see what was causing that. Perhaps it was another runlevel, or was getting pulled in as a dependency.grknight wrote:You can install the package dhcpcd, but don't run 2 services that provide dhcp. netifrc (net.eno1 service here) will use dhcpcd if it exists on startup but do not start the dhcpcd service when using netifrc on the same interface.