If WiFi is working but not the Ethernet, you must check the network adapter first. If you use an external Ethernet adapter, it is required to verify if it is working or not. Also, you must download and install the Ethernet adapter’s driver. In case you have already installed, you can reinstall the driver.