You better install Home Assistant OS on a dedicated hardware with a LAN port.
If you want to run HA on your laptop, the best way is to install a full Linux distribution and then run home Assistant supervised or core.
(Or simply use USB to Ethernet adapter)
HA OS is meant to be headless
You can also try the following methods (using nmcli), but you may have drivers issue