Code: Select all
sudo apt-get purge dhcpcd
I still get a lot of dhcpcd-related entries in syslog.
Doing a :
Code: Select all
sudo find -name dhcpcd* -print
The following files still remain:
Code: Select all
./etc/systemd/system/dhcpcd.service.d/wait.conf
./etc/dhcpcd.secret
./etc/dhcpcd.duid
./run/dhcpcd
./run/dhcpcd.unpriv.sock
./run/dhcpcd.sock
./run/dhcpcd.pid
./sys/fs/cgroup/systemd/system.slice/dhcpcd.service
Hers's a snippet of syslog:
Code: Select all
Jan 17 23:59:16 raspberrypi dhcpcd[10397]: wlan0: carrier acquired
Jan 17 23:59:16 raspberrypi dhcpcd[10397]: wlan0: IPv6 kernel autoconf disabled
Jan 17 23:59:16 raspberrypi dhcpcd[10397]: wlan0: adding address fe80::a60:6eff:fe63:f301
Jan 17 23:59:16 raspberrypi dhcpcd[10397]: script_runreason: /lib/dhcpcd/dhcpcd-run-hooks: WEXITSTATUS 127
Jan 17 23:59:16 raspberrypi dhcpcd[10397]: wlan0: IAID 6e:63:f3:01
Jan 17 23:59:16 raspberrypi dhcpcd[10397]: wlan0: soliciting an IPv6 router
Jan 17 23:59:16 raspberrypi dhcpcd[10397]: wlan0: soliciting a DHCP lease
Jan 17 23:59:19 raspberrypi dhcpcd[10397]: wlan0: offered 192.168.43.8 from 192.168.43.1
Jan 17 23:59:25 raspberrypi dhcpcd[10397]: wlan0: leased 192.168.43.8 for 3600 seconds
Jan 17 23:59:25 raspberrypi dhcpcd[10397]: dhcp_bind: write_lease: No such file or directory
Jan 17 23:59:25 raspberrypi dhcpcd[10397]: wlan0: adding route to 192.168.43.0/24
Jan 17 23:59:25 raspberrypi dhcpcd[10397]: wlan0: adding default route via 192.168.43.1
Jan 17 23:59:25 raspberrypi dhcpcd[10397]: script_runreason: /lib/dhcpcd/dhcpcd-run-hooks: WEXITSTATUS 127
Jan 17 23:59:29 raspberrypi dhcpcd[10397]: wlan0: no IPv6 Routers available
Jan 17 23:59:31 raspberrypi dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
Jan 17 23:59:31 raspberrypi dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Jan 17 23:59:31 raspberrypi dhclient: DHCPOFFER from 192.168.43.1
Jan 17 23:59:31 raspberrypi dhclient: DHCPACK from 192.168.43.1
Jan 17 23:59:31 raspberrypi dhcpcd[10397]: wlan0: removing IP address 192.168.43.8/24
Jan 17 23:59:31 raspberrypi dhcpcd[10397]: wlan0: deleting route to 192.168.43.0/24
Jan 17 23:59:31 raspberrypi dhcpcd[10397]: wlan0: deleting default route via 192.168.43.1
Jan 17 23:59:31 raspberrypi dhcpcd[10397]: script_runreason: /lib/dhcpcd/dhcpcd-run-hooks: WEXITSTATUS 127
Jan 17 23:59:31 raspberrypi dhclient: bound to 192.168.43.8 -- renewal in 1453 seconds.
Thanks,
Dave