Has this problem always been present or were you able successfully to connect your PC to the router at one time? If you once were able to connect, what happened to your computer shortly before the problem started?
This part of your question ...
By the way few months earlier my friend tried to connect with the same cable and got the same error. After 2-3 hours of googling I fixed it. Sadly I don't remember how.
suggests that the problem is the Ethernet cable between your PC and your router. Please do the following diagnostic procedures. After each step, wait a few minutes to allow the (possible) connection to be established. After each step is complete, return the various connections to the way they are now.
- Disconnect the Ethernet cable from your laptop and connect it to your PC in place of the Ethernet cable currently connected to your PC. Is the PC able to connect?
- Disconnect the router end of Ethernet cable that goes to your laptop and move the router end of the cable that connects to your PC to the port on the router where the laptop cable had been connected? Is the PC able to connect?
- Disconnect the Ethernet cable from your PC and connect it to your laptop in place of the Ethernet cable normally connected to the laptop. Is the laptop able to connect?
What is the make and model of your PC?
What is the make and model of your router (look at the label on the back or bottom)?
Do the following on the PC:
Open Device Manager (click Start Orb, type devmgmt.msc in the Search box, and press Enter).
- Expand the "Network adapters" section by clicking the arrow to its left. Then please list the complete names of all items in this section.
- If any of the items in the "Network adapter" section show a warning icon, double-click the icon and report the message in the "Device status" box; also mention the name of the item with the warning icon.
Open a Command Prompt window (type cmd in the Search box and press Enter)
- In the black Command Prompt window, type the following and press Enter after each line
ipconfig /all > "%userprofile%\Desktop\ipinfo.txt"
notepad "%userprofile%\Desktop\ipinfo.txt"
exit
Copy the file named ipinfo.txt from the Desktop of your PC to a USB flash drive. Move the flash drive to your laptop, copy the contents of the ipinfo.txt file, and paste that data into your Reply here.