Hi foxface,
I understand that after changing your HDD you can no longer connect to the internet and it is telling you to install the driver for your adapter. If you could tell me the full model of your HP Pavilion and the operating system that you are running on it. Here are some guides in case you need it for How Do I Find My Model Number or Product Number? and Which Windows operating system am I running?
I am also including this document for Troubleshooting Wireless Network and Internet (Windows 8) in hopes it may help with your issue.
Please let me know how it goes.
Thank you and have a great day!