You will need to go to the HP website with another computer with internet access. Then download the correct drivers
for your Wifi & ethernet for your HP model number. Then transfer them to a USB flash drive. Then copy them to a new temporary folder on the laptop. See if you can install them at this point.