connect the ethernet cable to another port and see if your computer freezes this time. If this fixes the issue, your ethernet port is faulty. The issue may also be associated with your ethernet cable.