Chosen Solution

I replaced my wifi card as the internet wasn’t working. The new card still doesn’t work, and it says there is no hardware installed. Any ideas??

More likely you have a bad cable: MacBook Pro 15" Unibody (Early 2011-Mid 2012) Airport/Bluetooth Cable