I need to connect to my wifi

Solution
You can connect using an Ethernet cable (plug one end into eMachines, other end into XFinity router)
If you want to connect wirelessly, you need WiFi adapter in your eMachines, and you need to know the WiFi password for your XFinity.