Greetings
In my case , I only needed to re-install network-manager , I did it this way:
- Connect box via Ethernet.
- apt install wicd.
-open synaptic and uninstall network-manager , network-manager-gnome and network-manager-vpn.
- Rebbot
- open Wicd and check if WiFi networks are detected , otherwise use dongle.
- In terminal, apt install network-manager && apt install network-manager-gnome.
- Reboot.
- Check if WiFi networks are detected and tadaaa, yes they are.
-open synaptic and uninstall :
wicd, wicd-gtk, wicd daemon and python- wicd.
- final reboot and everything is working fine.
Hope this helps someone.
good luck.