I'm Just Starting to learn about Kali linux but i encounter this Error every time i try to connect to Wifi.

ifconfig: is showing two devices eth0 and wlan0.

ip link show wlan0 : shows that wlan0 is UP and in Default mode (not showing IP though)

tried to connect with Terminal but no luck (i get to wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf) and then check the connection status with link <iw wlan0 link> but no connection is detected.

I would also like to ask u for a tip on good resource like a (kali linux Wifi-Networking guide or documentation ) a book or tutorial to understand how Networking and Protocols work.