This question already has an answer here:
I am having issue with HP notebook laptop with Ubuntu 18.04 installed. It is not detecting any WiFi signal. Looks like driver issue. Tried to find driver on HP website but did not get it. How do I find and install third party driver?
lspci -knn | grep Net 02:00.0 Network controller : Realtek Semiconductor Co., Ltd. Device [10ec:d723]