dhcpcd 6.10.1
systemd 232
kernel 4.9.41-v7+
Problem
After reboot, dhcpcd failed to start, in /var/log/syslog, it shows:
Code: Select all
dhcpcd[399]: Not running dhcpcd because /etc/network/interfaces
dhcpcd[399]: defines some interfaces that will use a
dhcpcd[399]: DHCP client or static address
I failed in getting dynamic ipv6 address using /etc/network/interfaces, and have not found a way to setup both static ipv4 address and ipv6 address using dhcpcd.
Which means I need them both.
Attempt
So far, I found two interesting things.
One is that, when I execute
Code: Select all
sudo systemctl start dhcpcd
But when I execute
Code: Select all
sudo dhcpcd -q -d
Another things is that, when I move conflicting settings from /etc/network/interfaces into directory /etc/network/interfaces.d/ ,dhcpcd can be started by systemd successfully. Now I use this method to avoid confliction.
Hope this post could be helpful for people who encounter similar problem.