Im wanting to connect 2 computers together using an ethernet cable so I can get the internet on the 2nd computer.
You can't.
You cannot connect two PCs via normal cat5 ethernet directly - you need to use a switch or a router (eg modem/router) - or you need to use specially pinned 'cross-over' cable for direct connection.