The Lenovo Legion 5-15IMH05 is a gaming laptop created for high performance. Its specialties include gaming, programming, and content creation. This device page helps users identify their Legion 5 model and access official, credible aid in technical specifications, service documentation, and repair resources for common issues such as battery failure, overheating, storage upgrades, and keyboard or display problems.
For some reason my ethernet stopped working, I tried a new ethernet cable and different router and it was still not connecting. After further investigations about the problem, it seems that my laptop itself is the problem. It would only say "no connection" how do I fix it?
If there's a red cross next to the LAN adapter entry in Device Manager, right click the entry - Enable and check if it works OK.
If there's a yellow exclamation mark next to the LAN adapter entry in Device Manager, right clickthe entry - Update drivers and follow the prompts. You need to be online for this procedure to work. Try WiFi perhaps.
The above is just checking if the LAN adapter on the motherboard is working OK so if it checks out OK and you have reset the network in the laptop, all you can do is try it and see.
Have you checked that there's no "bent" or missing pins in the Ethernet port on the laptop?