I need to make sure I understand what you're trying to do:
Do you want to connect the XP machine directly to the Ubuntu machine via a crossover cable hooked up to each computers LAN cards, or do you want to share an Internet connection your XP machine is using via a cable modem with the Ubuntu computer and you DO NOT have a hub/router to connect through?
There are steps you can use to do either, but I need to be sure I understand what you're attempting.
Now - a little tutorial on networking:
For computers to share information, you need three things:
- A network card or physical device you can use to transfer information to and from a computer
- A cable - such as an ethernet cable used to network your computers to a central device
- A device - such as a hub or router used to connect the signals sent by each computer to a device with the ability to transfer the signals sent to the correct destination
Since you mention you have a cable modem, you have an incoming signal (called bandwidth) from the outside world. Bandwidth is a series of electrical pulses (known as either analog or digital) which carry information from a sender to its destination. In order for your computer to process the incoming signals, your cable modem transfers the signals via an ethernet cable to the NIC (Network Interface Card) on your computer. The information is then processed by software installed to control the operation of the NIC and transferred to the appropriate destination (i.e.: your web browser).
In order to connect your two computers together without a hub/router - you need to connect the crossover cable ends (called RJ-45 connectors or "jacks") to the LAN connectors in the NIC cards. You then need to do the following:
- You need to set the IP Addresses on each NIC card to a static number. In this example, set one to 192.168.2.2 and the other to 192.168.2.3
- You need to set the Subnet Mask on each card to the same setting - 255.255.255.0
- You need to set a default gateway address to get the computers to talk to each other. Set this to 192.168.2.2
You then need to ping the computers to see if you can communicate with each one. Type ping 192.168.2.2 and see if you get a reply like I told you about before. Then ping 192.168.2.3 and you should get the same response.
If your doing something other than connecting the XP machine to the Ubuntu machine via a crossover cable, then we need to do something different. Let me know if this is the case. If your not sure how to set the IP address for your computer in either XP or Ubuntu, use the following as a guide:
For Windows XP:http://ask-leo.com/how_do_i_configure_my_s...ip_address.html