The solution I found was to delete the file "/etc/NetworkManager/system-connections/Wired connection 1". Now everything works.