Have problem with my PI B+
When i set static ip on it dhcp client is still running and router giving to raspberry second IP in DHCP.
at this point i mange to kill second address by
Code: Select all
$ ps aux | grep dhcp
root 430 0.0 0.4 2552 1784 ? Ss 23:14 0:00
/sbin/dhcpcd -q -w
pi 2411 0.0 0.4 4272 2092 pts/1 S+ 23:22 0:00 grep
--color=auto dhcp
$ sudo kill 430
pi@4card-server:~ $ ps aux | grep dh
pi 2661 0.0 0.4 4268 1844 pts/1 S+ 23:23 0:00 grep
--color=auto dh
$ sudo /etc/init.d/networking restart
[....] Restarting networking (via systemctl):
networking.serviceWarning: Unit file of networking.service changed on
disk, 'systemctl daemon-reload' recommended.
. ok Question is how to prevent dhcp client from starting?