Sorry if this is dumb, I'm new to Ubuntu and just jumped in. My issue is the my WiFi will connect fine, but after a few minutes it will stop working, but still say it's connected fine. I can temporarily fix this by disconnecting and reconnecting, but it will occur again. I'm not sure if I need some sort of driver or software, so if anyone can answer or anything it's greatly appreciated.
Edit:
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
Subsystem: XAVi Technologies Corp. RTL8821AE 802.11ac PCIe Wireless Network Adapter [1b9a:2482]
Kernel driver in use: rtl8821ae
Kernel modules: rtl8821ae
lspci -knn | grep Net -A3
terminal command. This will give the information needed about your specific WiFi device. Also make sure to set the recommended wireless encryption settings, WPA2-AES, at your router. Avoid any WPA/WPA2 mixed mode and/or TKIP.