I am having issues with internet on my kali linux. I have downloaded the latest 64bit kali from kali website. i have live booted it from a usb pendrive everything works fine except for the internet. when i start kali, my wifi gets connected i am able to use the internet for a few minutes usually 2, and then pages stop loading although it shows the wifi is connected but pages dont load and then i have to turn on the airplane mode and of again and when it reconnects to wifi works for few minutes and then stop loading pages again.It shows server not found but all my other devices on the network works fine.The wifi works with windows fine it has this issue just with the kali linux. Please someone help me out this its quiet frustrating.

my system configuration:

Lenovo IdeaPad 310-15IKB

ProcessorIntel Core i5-7200U 2.5 GHz

Graphics adapter: Intel HD Graphics 620/geforce 920m

Mainboard: Intel Kaby Lake-U Premium PCH

Connections: 2 USB 2.0, 1 USB 3.0 / 3.1 Gen1, 1 VGA, 1 HDMI, 1 Kensington Lock, Audio Connections: 3.5 mm audio jack, Card Reader: 4-in-1 SD cardreader

Bluetooth: Realtek Bluetooth Adapter

WiFi: Realtek 8821AE Wireless LAN 802.11ac PCI-E NIC