What makes/models modem and router do you have? You say you can connect via WiFi. Where is the WiFi signal coming from? Is your router set for DHCP connection to the network/modem? Is your router set to assign IP addresses to its ethernet ports via DHCP and is your computer connected set for DHCP IP assignment?