[Solved] No wireless interfaces found

Hello,

I’ve finally decided to give a try to astroprint on raspberry Pi 3, everything is working fine except the wifi.
On the desktop the icon for the wifi display two red X, but even with that, I’m able to scan the wifi and connect to it through the settings.
But yet, no connection…

What can I Do?

I’ve found a lot of different solutions for raspbian updating the interface file, but nothing is working so far.

EDIT: Managed to make it work by removing everything except wlan0 auto on /etc/interfaces