I am using ethernet cable to ssh into raspbian, which also has a wifi dongle attached. When I reboot raspbian, it does not connect to wifi and on the desktop in the upper right corner there is an icon which says "dhcpcd not working". If I start dhcpcd manually it connects to wifi without any issues, I can then disconnect ethernet cable and ssh to it through wifi.
But I want to make it connect to wifi automatically, so that I don't have to use the ethernet cable anymore. Is that achievable?
My interface file looks like
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
auto wlan0 allow-hotplug wlan0
iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp